Install this version:
emerge -a =dev-python/bidict-0.23.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/bidict-0.23.1
Or alternatively:
emerge --autounmask-write -a =dev-python/bidict-0.23.1
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="The bidirectional mapping library for Python"
HOMEPAGE="
https://pypi.org/project/bidict/
https://github.com/jab/bidict
"
SRC_URI="https://github.com/jab/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
BDEPEND="
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
)
"
DOCS=( {CHANGELOG,README,SECURITY}.rst )
EPYTEST_IGNORE=( tests/test_microbenchmarks.py )
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/furo
src_prepare() {
distutils-r1_src_prepare
sed -i pytest.ini \
-e "/--numprocesses/d" \
-e "/--benchmark/d" || die
}
test? ( dev-python/hypothesis[] dev-python/sortedcontainers[] dev-python/typing-extensions[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | bidict-0.23.1.gh.tar.gz | 390680 bytes | https://github.com/jab/bidict/archive/refs/tags/v0.23.1.tar.gz |