mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
dev-python/bandit: Remove unnecessary test deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user