summaryrefslogtreecommitdiff
path: root/dev-python/python-cstruct
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-12 21:32:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-12 21:32:47 +0000
commitb2d06fcf55b2f88efa183831072c7bca3f8e418b (patch)
tree506e516d8011ae848ec4f4410f013f0f29033ba1 /dev-python/python-cstruct
parentd1edfd3a57afc1db57e14cc58d3f28eea8eefd64 (diff)
gentoo auto-resync : 12:11:2022 - 21:32:47
Diffstat (limited to 'dev-python/python-cstruct')
-rw-r--r--dev-python/python-cstruct/Manifest2
-rw-r--r--dev-python/python-cstruct/python-cstruct-5.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/python-cstruct/Manifest b/dev-python/python-cstruct/Manifest
index 4c2940b2c863..d23a6946b201 100644
--- a/dev-python/python-cstruct/Manifest
+++ b/dev-python/python-cstruct/Manifest
@@ -1,5 +1,7 @@
DIST python-cstruct-3.3.gh.tar.gz 27470 BLAKE2B 0403af7085622e26d5faf973bbfd0c7e35f5c51f0597abf079080800055058809a07a795bde37b796809ef13b6e1d030f36a42e45a7f4643202e37fe79df4730 SHA512 fd5d7d42f5458d37a44d5e792b56e5c4f3338ed656b248ec5f4f48e4ecb5b6be7e3561c697d67ce0c6a18fbef62ba4945e287754cb2d6a97fefd65c563d65774
DIST python-cstruct-4.0.gh.tar.gz 28370 BLAKE2B 48f750849d332d03f1d6424a6c6f5146efacb6af05c82040dd7c39c701fbebb60dbc324db395dbd918ac5b677c63d541f00de871eb47c73b3f56e8aab08d8ff1 SHA512 e8c1345f06ca23bc19bbfad569b9822369eec8957eac504191dbd34f9c4e8197a4150e73d2ae3881b7e9fbf288c81cf320872aaefec8e8e80385e4ea473242c7
+DIST python-cstruct-5.0.gh.tar.gz 36194 BLAKE2B 436998e52f2cfa714eb49c606a76b2ae72af959c58addbd2cff036a3ecd6bfea22e43da2c6c17a2d4c1328578385ecd8605afbc3dcdcb4e083125588a6020751 SHA512 f28977ae0b4db9bed0b5757f257b772089dd37844cb47455be3c406f5e5245194f98eae98520ad9888306e31a581617229b8634d0e5881c38c0e8deb84bc5ef8
EBUILD python-cstruct-3.3.ebuild 636 BLAKE2B 7a4e7e53b2959d84b7fa9405c8cd6a0bd00d8a1b3823b31a220902d8b44107c0d0ec0f42e4e3d9871867dd56a5a50f0ca7f788f9ad4b14a3a0f813eb617d5345 SHA512 9d8bdec9c0059c57a53bac9ea3d2b45c4602b3460c1dd9ae2782153972ce3dbc429669d62577572961893ab7e304faa457e5b728dd26c3c0ab84a236e1c7dbec
EBUILD python-cstruct-4.0.ebuild 641 BLAKE2B 9032b93fe2debf296696527a3ea750e60d0864e818756b243606ed29c8304661c81ddb6b2953c3434ae109971b3cfd9c13fa13f41dac69c4aa9a15c5b0cb0d2c SHA512 429e2ed7737ed3cde9fb9d1b287d5e5d09ffaf7b95ca5a83c0d947254e6d62447523fa95e29f176ef873ce72ee3eba59b5f23a6c3fd9a9f8564ab24a5ba5900c
+EBUILD python-cstruct-5.0.ebuild 641 BLAKE2B 9032b93fe2debf296696527a3ea750e60d0864e818756b243606ed29c8304661c81ddb6b2953c3434ae109971b3cfd9c13fa13f41dac69c4aa9a15c5b0cb0d2c SHA512 429e2ed7737ed3cde9fb9d1b287d5e5d09ffaf7b95ca5a83c0d947254e6d62447523fa95e29f176ef873ce72ee3eba59b5f23a6c3fd9a9f8564ab24a5ba5900c
MISC metadata.xml 454 BLAKE2B 5138bc275b0b9e18cab52fb309283c6b6dab8be5dcc3c86dd6526f350b216c68bc94dd2aabc7a33a4879c23165924563396c6d5991f5c702a12e184067d25cdb SHA512 bb259a25444029d8ea63577f0576ab283282298d27987e276bf4eb6d4ef00853ed019ad199830e9bb4e738f9a151feb55d53e76917508f1033c2b3ecd246276f
diff --git a/dev-python/python-cstruct/python-cstruct-5.0.ebuild b/dev-python/python-cstruct/python-cstruct-5.0.ebuild
new file mode 100644
index 000000000000..ac6eadb21a2a
--- /dev/null
+++ b/dev-python/python-cstruct/python-cstruct-5.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="C-style structs for Python"
+HOMEPAGE="
+ https://github.com/andreax79/python-cstruct/
+ https://pypi.org/project/cstruct/
+"
+SRC_URI="
+ https://github.com/andreax79/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.md )
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ sed -e "/find_packages(/s@exclude=\[@&'tests', @" -i setup.py || die
+}