summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-17 20:38:31 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-17 20:54:51 +0200
commit060660eb6a7d3ddc6299183ecc3c5ed53108487b (patch)
tree2bbf5312cdd599c78a70a589b932157555e8c1ef /dev-python/bitstring
parentdev-python/pyproject-api: Bump to 1.5.4 (diff)
downloadgentoo-060660eb6a7d3ddc6299183ecc3c5ed53108487b.tar.gz
gentoo-060660eb6a7d3ddc6299183ecc3c5ed53108487b.tar.bz2
gentoo-060660eb6a7d3ddc6299183ecc3c5ed53108487b.zip
dev-python/bitstring: Bump to 4.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/bitstring')
-rw-r--r--dev-python/bitstring/Manifest1
-rw-r--r--dev-python/bitstring/bitstring-4.1.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest
index 93368d0e65c9..085ec52beb34 100644
--- a/dev-python/bitstring/Manifest
+++ b/dev-python/bitstring/Manifest
@@ -1 +1,2 @@
DIST bitstring-4.0.2.tar.gz 211208 BLAKE2B 75ba6de71ac1a4ea384aad38405ccef21a101c641ee244096d67aad9b46315ee5dab9099b928e3300772c6f15637d4b54899c0a40f6a7ab4e48cfa1c66f310ab SHA512 11d7cddc7372ef9dac92d97df6e9972d7e75e4b02ad1e777357bea667e096beb405871b6cc9baa0522e2251278ad8c11a34724932efb2593fccf572857a608ce
+DIST bitstring-4.1.0.tar.gz 227045 BLAKE2B 0aa311f130a45099b46153f3452ab8e2b3f1c9ebc3d40390b0f3ddfdf552f9f610662904c286c1edba19e4033438e12a76f2533055da6095378e01152a318869 SHA512 e4c1f959268ee409e6482510eee728fe0f71392c920edfbdd641f4c4c967517e630abb5afa6d32b694e9f6dcc291128c54d27f8d5aed7eaa36599beb425f78e8
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
+}