commit:     df7179b6273416b3454782ccf6c4bbab1e7d8be3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 17 08:14:44 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 09:14:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7179b6

dev-python/keystoneauth: Remove the test dep on hacking

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/keystoneauth/keystoneauth-4.4.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild 
b/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild
index 22f4c3cc4606..1ea4600cfbf7 100644
--- a/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild
+++ b/dev-python/keystoneauth/keystoneauth-4.4.0.ebuild
@@ -27,7 +27,6 @@ BDEPEND="${CDEPEND}
        test? (
                >=dev-python/betamax-0.7.0[${PYTHON_USEDEP}]
                >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
-               dev-python/hacking[${PYTHON_USEDEP}]
                >=dev-python/lxml-4.2.0[${PYTHON_USEDEP}]
                >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}]
                >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
@@ -46,6 +45,8 @@ src_prepare() {
        # relies on specific test runner name
        sed -i -e 's:run\.py:unittest_or_fail.py:' \
                keystoneauth1/tests/unit/test_session.py || die
+       # remove the test that requires hacking
+       rm keystoneauth1/tests/unit/test_hacking_checks.py || die
        distutils-r1_src_prepare
 }
 

Reply via email to