summaryrefslogtreecommitdiff
path: root/dev-python/bitstring/bitstring-4.1.2.ebuild
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-11-17 18:39:56 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-11-17 18:39:56 +0700
commit2ca47752674dbcaf7e6e1bce86bda5db784de33a (patch)
tree63cc2b8f8c8bfc2bd26cbacaf04e7d5769aa1d79 /dev-python/bitstring/bitstring-4.1.2.ebuild
parent6b62e1e0a64d7afe7ed7600273001ac29395c2a3 (diff)
downloadgentoo-2ca47752674dbcaf7e6e1bce86bda5db784de33a.tar.gz
gentoo-2ca47752674dbcaf7e6e1bce86bda5db784de33a.tar.bz2
gentoo-2ca47752674dbcaf7e6e1bce86bda5db784de33a.zip
dev-python/bitstring: bump to 4.1.2
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-python/bitstring/bitstring-4.1.2.ebuild')
-rw-r--r--dev-python/bitstring/bitstring-4.1.2.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/bitstring/bitstring-4.1.2.ebuild b/dev-python/bitstring/bitstring-4.1.2.ebuild
new file mode 100644
index 000000000000..4b08af3dee75
--- /dev/null
+++ b/dev-python/bitstring/bitstring-4.1.2.ebuild
@@ -0,0 +1,31 @@
+# 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 ~arm ~arm64 ~x86"
+
+RDEPEND="
+ <dev-python/bitarray-3[${PYTHON_USEDEP}]
+ >=dev-python/bitarray-2.8.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ rm "${S}"/${PN}/plugin_test.py || die "rm plugin_test.py failed"
+ distutils-r1_src_prepare
+}