From c1d6cc45fdecdb1654f0ea53b2ce517d76efa3b0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 12 Oct 2022 21:46:38 +0100 Subject: 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 --- dev-python/python-box/python-box-6.0.2-r1.ebuild | 25 +++++++++++++++++ dev-python/python-box/python-box-6.0.2.ebuild | 35 ------------------------ 2 files changed, 25 insertions(+), 35 deletions(-) create mode 100644 dev-python/python-box/python-box-6.0.2-r1.ebuild delete mode 100644 dev-python/python-box/python-box-6.0.2.ebuild (limited to 'dev-python') diff --git a/dev-python/python-box/python-box-6.0.2-r1.ebuild b/dev-python/python-box/python-box-6.0.2-r1.ebuild new file mode 100644 index 000000000000..4969a0bc8f0c --- /dev/null +++ b/dev-python/python-box/python-box-6.0.2-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="Python dictionaries with advanced dot notation access" +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}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/python-box/python-box-6.0.2.ebuild b/dev-python/python-box/python-box-6.0.2.ebuild deleted file mode 100644 index 30d2e1ecfc33..000000000000 --- a/dev-python/python-box/python-box-6.0.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) -inherit distutils-r1 - -DESCRIPTION="Python dictionaries with advanced dot notation access" -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}" - -LICENSE="MIT" -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}] - ') - ) -" - -distutils_enable_tests pytest -- cgit v1.2.3