Install this version:
emerge -a =dev-python/bellows-0.49.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/bellows-0.49.0
Or alternatively:
emerge --autounmask-write -a =dev-python/bellows-0.49.0
# Copyright 1999-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 pypi
DESCRIPTION="Library implementing EZSP"
HOMEPAGE="https://github.com/zigpy/bellows https://pypi.org/project/bellows/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/click-log-0.2.1[${PYTHON_USEDEP}]
dev-python/voluptuous[${PYTHON_USEDEP}]
>=dev-python/zigpy-0.87.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/pytest-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pytest-asyncio-0.19.0[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.8.2[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
)
"
src_prepare() {
# remove dynamic-versioning
sed 's/dynamic = \["version"\]/version = \"'${PV}'\"/g' -i pyproject.toml || die
sed 's/, "setuptools-git-versioning<2"//g' -i pyproject.toml || die
eapply_user
}
distutils_enable_tests pytest
Manage flags for this package:
euse -i <flag> -p dev-python/bellows |
euse -E <flag> -p dev-python/bellows |
euse -D <flag> -p dev-python/bellows
dev-python/click[] >=dev-python/click-log-0.2.1[] dev-python/voluptuous[] >=dev-python/zigpy-0.87.0[]
test? ( >=dev-python/pytest-7.1.2[] >=dev-python/pytest-asyncio-0.19.0[] >=dev-python/pytest-timeout-2.1.0[] >=dev-python/pytest-mock-3.8.2[] >=dev-python/pytest-cov-3.0.0[] )