From db696bbf1db08f6a1b1cedf8d168a966be92a17c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 26 Jan 2020 13:09:13 -0800 Subject: [PATCH] dev-python/pyghmi: 1.0.22-r1 revbump Remove dev-python/hacking test dep. Reported-by: Matthew Thode Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Zac Medico --- .../{pyghmi-1.0.22.ebuild => pyghmi-1.0.22-r1.ebuild} | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) rename dev-python/pyghmi/{pyghmi-1.0.22.ebuild => pyghmi-1.0.22-r1.ebuild} (87%) diff --git a/dev-python/pyghmi/pyghmi-1.0.22.ebuild b/dev-python/pyghmi/pyghmi-1.0.22-r1.ebuild similarity index 87% rename from dev-python/pyghmi/pyghmi-1.0.22.ebuild rename to dev-python/pyghmi/pyghmi-1.0.22-r1.ebuild index 39164e26ed17..d825c3250b25 100644 --- a/dev-python/pyghmi/pyghmi-1.0.22.ebuild +++ b/dev-python/pyghmi/pyghmi-1.0.22-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 @@ -16,8 +16,7 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="dev-python/pbr[${PYTHON_USEDEP}] - >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]" +RDEPEND="dev-python/pbr[${PYTHON_USEDEP}]" #636824 older versions of cli_helpers break the build DEPEND="${RDEPEND} !=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] )" +python_prepare_all() { + distutils-r1_python_prepare_all + sed '/^pycrypto>=2\.6$/d' -i requirements.txt || die +} + python_test() { esetup.py testr --coverage || die "Tests failed under ${EPYTHON}" } -- 2.26.2