commit:     74363983909e7defa7f6b5a82d2859086703fdff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 17 08:06:11 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 09:14:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74363983

dev-python/bandit: Remove unnecessary test deps

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

 dev-python/bandit/bandit-1.7.1.ebuild | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/dev-python/bandit/bandit-1.7.1.ebuild 
b/dev-python/bandit/bandit-1.7.1.ebuild
index bdd6e3fdf3a5..1c7194b284bd 100644
--- a/dev-python/bandit/bandit-1.7.1.ebuild
+++ b/dev-python/bandit/bandit-1.7.1.ebuild
@@ -13,8 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~s390 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
@@ -26,17 +24,11 @@ BDEPEND="
        >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
        test? (
                >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
-               >=dev-python/hacking-2.0.0[${PYTHON_USEDEP}]
                >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}]
                >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}]
                >=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}]
                >=dev-python/pylint-1.9.4[${PYTHON_USEDEP}]
-               dev-python/stestr[${PYTHON_USEDEP}]
                dev-python/toml[${PYTHON_USEDEP}]
        )"
 
-python_test() {
-       distutils_install_for_testing
-       "${EPYTHON}" -m stestr init || die
-       "${EPYTHON}" -m stestr run -v || die "Tests failes with ${EPYTHON}"
-}
+distutils_enable_tests --install unittest

Reply via email to