From: Zac Medico Date: Sun, 26 Jan 2020 21:09:13 +0000 (-0800) Subject: dev-python/pyghmi: 1.0.22-r1 revbump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db696bbf1db08f6a1b1cedf8d168a966be92a17c;p=gentoo.git 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 --- 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}" }