summaryrefslogtreecommitdiff
path: root/dev-python/bitstring
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/bitstring
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/bitstring')
-rw-r--r--dev-python/bitstring/Manifest2
-rw-r--r--dev-python/bitstring/bitstring-4.3.1.ebuild35
-rw-r--r--dev-python/bitstring/bitstring-4.4.0-r2.ebuild45
-rw-r--r--dev-python/bitstring/metadata.xml23
4 files changed, 105 insertions, 0 deletions
diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest
new file mode 100644
index 000000000000..d138be1eee0a
--- /dev/null
+++ b/dev-python/bitstring/Manifest
@@ -0,0 +1,2 @@
+DIST bitstring-4.3.1.tar.gz 251426 BLAKE2B 9dfc8e3b31c8edcba3a492e844ceca5da9fb874e655bb45c1dc478b8c0fe54a66beebb8869d70fbe9fbc02fc0cccfb8faee73602d99051abd732ff4d18e02e01 SHA512 5c36d37eb447632c95559788187ea40436fb327a6fab72c6c7332a11726172a1ac9f9ea115022ed2bab644152f04e73541efd838a057890763a2dba78d1dc4ab
+DIST bitstring-4.4.0.tar.gz 255209 BLAKE2B f060e2ac349cb5b8430b87d262f738b3c028e9246cc6f3e2e041bd35f23326d36b48b79f43b1dd3d8974997db941b6068f42f9b84f618ce82217187be8aaad9a SHA512 ee845ba43cf77f9e36fee1109b73a0f61c35a4f08fd5bcba38bc3be934b9405830f4666704d77811593302bfcdecc25403c1a455a3fdf9174b133be758a46ccc
diff --git a/dev-python/bitstring/bitstring-4.3.1.ebuild b/dev-python/bitstring/bitstring-4.3.1.ebuild
new file mode 100644
index 000000000000..310c3680f019
--- /dev/null
+++ b/dev-python/bitstring/bitstring-4.3.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+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/gfloat-0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ tests/test_benchmarks.py
+)
diff --git a/dev-python/bitstring/bitstring-4.4.0-r2.ebuild b/dev-python/bitstring/bitstring-4.4.0-r2.ebuild
new file mode 100644
index 000000000000..175f29ed9666
--- /dev/null
+++ b/dev-python/bitstring/bitstring-4.4.0-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+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/gfloat-0.1[${PYTHON_USEDEP}]
+ >=dev-python/tibs-0.5.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=( hypothesis )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # https://github.com/scott-griffiths/bitstring/issues/363
+ tests/test_fp8.py::TestConversionToFP8::test_compare_8bit_floats_with_gfloat
+ tests/test_fp8.py::test_rounding_consistent_to_gfloat
+)
+
+EPYTEST_IGNORE=(
+ tests/test_benchmarks.py
+)
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # unpin dependencies
+ sed -i -e 's:, < [0-9.]*::' pyproject.toml || die
+}
diff --git a/dev-python/bitstring/metadata.xml b/dev-python/bitstring/metadata.xml
new file mode 100644
index 000000000000..d4679d04c41b
--- /dev/null
+++ b/dev-python/bitstring/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription>
+ A pure Python module designed to help make
+ the creation and analysis of binary data
+ as simple and natural as possible
+ </longdescription>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="google-code">python-bitstring</remote-id>
+ <remote-id type="github">scott-griffiths/bitstring</remote-id>
+ <remote-id type="pypi">bitstring</remote-id>
+ </upstream>
+</pkgmetadata>