dev-python/python-box: fix dependencies

There's no need for python_gen_any_dep here if we're not
imposing a restriction like certain Python versions on those
deps and we're not single impl.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-10-12 21:46:38 +01:00
parent 6a489cf774
commit c1d6cc45fd

View File

@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Python dictionaries with advanced dot notation access"
HOMEPAGE="https://github.com/cdgriffith/Box/"
HOMEPAGE="https://github.com/cdgriffith/Box"
SRC_URI="https://github.com/cdgriffith/Box/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/Box-${PV}"
@@ -17,19 +17,9 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
$(python_gen_any_dep '
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
')
"
BDEPEND="
test? (
$(python_gen_any_dep '
dev-python/pytest[${PYTHON_USEDEP}]
')
)
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest