dev-python/bitstring - 5.0.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/bitstring-5.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/bitstring-5.0.0

Or alternatively:

emerge --autounmask-write -a =dev-python/bitstring-5.0.0

Package Information

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

Ebuild Details

Version EAPI Keywords Slot
5.0.0 8 ~amd64 ~arm ~arm64 ~riscv ~x86 0
View Raw Ebuild
# 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_{12..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 ~riscv ~x86"

RDEPEND="
	>=dev-python/gfloat-0.5.2[${PYTHON_USEDEP}]
	>=dev-python/tibs-2.0.2[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=( hypothesis )
distutils_enable_tests pytest

EPYTEST_IGNORE=(
	tests/test_benchmarks.py
)

src_prepare() {
	distutils-r1_src_prepare

	# unpin dependencies
	sed -i -e 's:, < [0-9.]*::' pyproject.toml || die
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/gfloat-0.5.2[]
	>=dev-python/tibs-2.0.2[]