summaryrefslogtreecommitdiff
path: root/dev-python/bitstring
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-17 21:33:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-17 21:33:19 +0100
commit19e23b194d10e420ec050c4d8a6253aad17694b1 (patch)
tree44ef9c9c2f5433a2251428352e4c9afb877e2500 /dev-python/bitstring
parentc74abf990d32765245eeb94b36ad4af642cae8c0 (diff)
gentoo auto-resync : 17:08:2023 - 21:33:19
Diffstat (limited to 'dev-python/bitstring')
-rw-r--r--dev-python/bitstring/Manifest2
-rw-r--r--dev-python/bitstring/bitstring-4.1.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest
index 544731172207..73d1b5ba98aa 100644
--- a/dev-python/bitstring/Manifest
+++ b/dev-python/bitstring/Manifest
@@ -1,3 +1,5 @@
DIST bitstring-4.0.2.tar.gz 211208 BLAKE2B 75ba6de71ac1a4ea384aad38405ccef21a101c641ee244096d67aad9b46315ee5dab9099b928e3300772c6f15637d4b54899c0a40f6a7ab4e48cfa1c66f310ab SHA512 11d7cddc7372ef9dac92d97df6e9972d7e75e4b02ad1e777357bea667e096beb405871b6cc9baa0522e2251278ad8c11a34724932efb2593fccf572857a608ce
+DIST bitstring-4.1.0.tar.gz 227045 BLAKE2B 0aa311f130a45099b46153f3452ab8e2b3f1c9ebc3d40390b0f3ddfdf552f9f610662904c286c1edba19e4033438e12a76f2533055da6095378e01152a318869 SHA512 e4c1f959268ee409e6482510eee728fe0f71392c920edfbdd641f4c4c967517e630abb5afa6d32b694e9f6dcc291128c54d27f8d5aed7eaa36599beb425f78e8
EBUILD bitstring-4.0.2.ebuild 526 BLAKE2B 098b32c3bbffa7ec4c14d81585198039573f39d7c0410c0f02f2f6f981cfe91e9a24a73b70301f80a68a90c72292a11ac77c3502fe8acdd725300a32a89f6ea3 SHA512 bed54e5f721904c0a2dfe4cbc4b6c0d8828040b68404bb450555ff52cd6c3d7c18995bc43dac35b85fb7a6a6f1f43219abf1bafc340144479b670d64107919dd
+EBUILD bitstring-4.1.0.ebuild 766 BLAKE2B 8e88d325106da6253bd334729b4d4422c6113907848986d2ee1e04d1776b35a38e3b069f34996b84453734abeb663f4579eec2fa144f647b9cdb7d107ceaacdf SHA512 c40c56935e15056cc1827e1c45c6e843e38efedb510b9a263cc0bc41bff7645b0cf37342fb66e4f7f52a7fb832d983efa120ddcc4f0f6372ef6bef8fbde16b70
MISC metadata.xml 733 BLAKE2B 5d978fb3a90e33422df3c35986386d83e38b7760a2cac0708894c8c58c41002b8c7e1fe16bc1e9c707d8009afd0613d4afccf459770d40ec7c9223ede6a34e05 SHA512 ba4a8fb544c13bce8b31eb1dc3c4c5f5beff5f883f922479ccf809d81532719353ef322a26cdf16a0ef499dcdfb300b4a3fd0812edcb62651f8b617f0e391930
diff --git a/dev-python/bitstring/bitstring-4.1.0.ebuild b/dev-python/bitstring/bitstring-4.1.0.ebuild
new file mode 100644
index 000000000000..521b292db21d
--- /dev/null
+++ b/dev-python/bitstring/bitstring-4.1.0.ebuild
@@ -0,0 +1,40 @@
+# 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_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A pure Python module for creation and analysis of binary data"
+HOMEPAGE="
+ https://github.com/scott-griffiths/bitstring/
+ https://pypi.org/project/bitstring/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/bitarray-2.8.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # sigh
+ sed -i -e 's:==:>=:' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # seriously, how obtrusive can you be?
+ tests/test_bitstring.py::ModuleData::testVersion
+ )
+
+ epytest
+}