]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
dev-util/zcbor: new package.
authorNick Bowler <nbowler@draconx.ca>
Wed, 10 May 2023 01:00:16 +0000 (21:00 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 24 May 2023 01:23:12 +0000 (21:23 -0400)
Tool to generate C code from CDDL descriptions.

dev-util/zcbor/Manifest [new file with mode: 0644]
dev-util/zcbor/zcbor-0.7.0.ebuild [new file with mode: 0644]

diff --git a/dev-util/zcbor/Manifest b/dev-util/zcbor/Manifest
new file mode 100644 (file)
index 0000000..8a60f67
--- /dev/null
@@ -0,0 +1,2 @@
+DIST zcbor-0.7.0.tar.gz 87724 BLAKE2B d44a326c53cc7bb8826fc402c459efd34dba94f2ced1b131b7b610a6d85c38db070383deff6b5b81e34e806efb6cc704df4bf679d3e319ae37f6811431596e7d SHA512 40dcab845df367f4ebb497d92a3f0655293809c0a8ef73327fcdca747ed852d457417fa306adac9738b919a138389962e52c9e9a15cead9df6c7635679b2b22e
+EBUILD zcbor-0.7.0.ebuild 657 BLAKE2B c9cb0a94247d6b899247ab68d5de77fb071ec60b6156c3488256c869dc3e2a3d4497a567b736419c58fddcfde381b58b3e4eac759d891876d0eec416e71c07fb SHA512 9bedb3f7fa1445b453a334f172c0b1d60179cd403f1a10c19cedeabce76a7009aca62a75c397c82c64dc46849b891aa5dff26fcb6c402b6cb1ded5dd317bad6c
diff --git a/dev-util/zcbor/zcbor-0.7.0.ebuild b/dev-util/zcbor/zcbor-0.7.0.ebuild
new file mode 100644 (file)
index 0000000..0a15bb9
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright © 2023 Nick Bowler
+# License GPLv3+: GNU General Public License version 3 or any later version.
+# This is free software: you are free to change and redistribute it.
+# There is NO WARRANTY, to the extent permitted by law.
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tool for generating code from CDDL descriptions"
+HOMEPAGE="https://github.com/NordicSemiconductor/zcbor"
+SRC_URI="mirror://pypi/${PN:0:1}/$PN/$P.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-python/cbor2-5.4.3[$PYTHON_USEDEP]
+       >=dev-python/pyyaml-5.4.1[$PYTHON_USEDEP]
+       >=dev-python/regex-2022.3.15[$PYTHON_USEDEP]"