diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-02 21:08:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-02 21:08:25 +0000 |
commit | c107831b9ebfe892c139cdb68d747eea369d8588 (patch) | |
tree | 3e2fbc0ea06bf0ea7a5fdf0250036433cd4bc11f /dev-python/bitstring | |
parent | 52895d302231ef73b105756d2781b2262638d566 (diff) |
gentoo auto-resync : 02:02:2023 - 21:08:25
Diffstat (limited to 'dev-python/bitstring')
-rw-r--r-- | dev-python/bitstring/Manifest | 2 | ||||
-rw-r--r-- | dev-python/bitstring/bitstring-4.0.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest index b50b1c7ea7e4..ad994de91563 100644 --- a/dev-python/bitstring/Manifest +++ b/dev-python/bitstring/Manifest @@ -1,3 +1,5 @@ DIST bitstring-3.1.9.tar.gz 408443 BLAKE2B 747ce06fc33681cbe63d706c2dace5ebce314aea1ba45f8a5a9d65f849bcf253fa9354e39fd80731af4845993e418f27232ede47c940367b8cb425867ffee8c9 SHA512 6dc9c8d683e4415dfd685153b350bd5462117c49c7d8fcd9b2a066f927d82bb2bfae1cc5df543dd38c5e65b93d453ad13d2937f9523b77b007b1234b24ba7be1 +DIST bitstring-bitstring-4.0.1.gh.tar.gz 413983 BLAKE2B a4b424d2c139b34ce5ea81522486d0e42d82a06cfc64ce664505a2c1f1a626939b57b1755642220e2fb4219ead3a2a368006878ea05bdae59a638948b24e8b8c SHA512 f036a042f83c70b830f987114e7eb54754145296c60cd6486f398247a069c50588f3c86395a849a99e3c9b94364f1fcf4fedf4b59b80f03b6aecb38d992f5490 EBUILD bitstring-3.1.9.ebuild 612 BLAKE2B b0ee0487b0703f83d0cc10bea4070273a73c3ec9f1fe0c48d21587937140430cba7554ac31e76bf8c34f2c05cb4a7e81c203aa21447c6a8a20036114e10ac218 SHA512 97b3b30bfdfe566b54094c672077f8cd872b71ad3bd903c5feb971db0bca4401c87773dcdcfdab7ff11b24b028fbd3565ece5e5b7b6e3af553ed57d9e950fdfb +EBUILD bitstring-4.0.1.ebuild 845 BLAKE2B 76902829d324a61bdca2081855b73a87f11d681399b0b663b78e4feb7847241c587b502e475326faa1bca5aff46f730df59b675b000d1499e97845006923235a SHA512 62e84b209b7d047bc6d2de905a7eb3ca714af25c84d2f4392599b30ae4e59ba984a5399521626a46ee92e2fc3d89e68da0f10973c93d7537a3520d6c7f9c0bca MISC metadata.xml 733 BLAKE2B 5d978fb3a90e33422df3c35986386d83e38b7760a2cac0708894c8c58c41002b8c7e1fe16bc1e9c707d8009afd0613d4afccf459770d40ec7c9223ede6a34e05 SHA512 ba4a8fb544c13bce8b31eb1dc3c4c5f5beff5f883f922479ccf809d81532719353ef322a26cdf16a0ef499dcdfb300b4a3fd0812edcb62651f8b617f0e391930 diff --git a/dev-python/bitstring/bitstring-4.0.1.ebuild b/dev-python/bitstring/bitstring-4.0.1.ebuild new file mode 100644 index 000000000000..28d8a4c9d103 --- /dev/null +++ b/dev-python/bitstring/bitstring-4.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +MY_P=${PN}-${P} +DESCRIPTION="A pure Python module for creation and analysis of binary data" +HOMEPAGE=" + https://github.com/scott-griffiths/bitstring/ + https://pypi.org/project/bitstring/ +" +SRC_URI=" + https://github.com/scott-griffiths/${PN}/archive/${P}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests unittest + +src_prepare() { + [[ ${PV} != 4.0.1 ]] && die "Remove the hack!" + cat >> pyproject.toml <<-EOF + + [build-system] + build-backend = "setuptools.build_meta" + EOF + distutils-r1_src_prepare +} + +src_test() { + cd tests || die + distutils-r1_src_test +} |