summaryrefslogtreecommitdiff
path: root/dev-python/bandit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-python/bandit
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-python/bandit')
-rw-r--r--dev-python/bandit/Manifest4
-rw-r--r--dev-python/bandit/bandit-1.7.0.ebuild49
-rw-r--r--dev-python/bandit/bandit-1.7.1.ebuild12
3 files changed, 3 insertions, 62 deletions
diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest
index 23f65ae8165a..3fc468cf27e9 100644
--- a/dev-python/bandit/Manifest
+++ b/dev-python/bandit/Manifest
@@ -1,5 +1,3 @@
-DIST bandit-1.7.0.tar.gz 506225 BLAKE2B 6e2383576b2091ab98757381bfd5915331fc7b08a251e817a6964d963de60b070f7c4dc7958dd366cf95333f4abc157e80433490ab8b923580cb45d855c13092 SHA512 c51af7ab4c667c376a11f142fa35881a776d420bd3ef41421bd29a713e0b56bbf1622e24cd878e24f57594f03d06b7c2b8258fcf34f57e3a68df4200a34becdc
DIST bandit-1.7.1.tar.gz 503072 BLAKE2B 1e88b662d8dda0d5c1a1fd7ee2eaa1787b8c4952acefb60c347aa98b3534d9ba212229b050dcf717169fb39132ef77d2d92af834392a0bcaa0b9fbc7d2a4804c SHA512 6543bb0f69339a8d970cf0dd1bcec1392057c5c7fbf229fa4f4e6c9d21a39206f1f3fa17509ca2038cd1671d4b57316f92ee053c1beab102e8d20096d10b685d
-EBUILD bandit-1.7.0.ebuild 1388 BLAKE2B 639afdc70f10bf0dfa795952c52badc1632c2ebbb5d1bcd154ed426f211e6e4f6a826522b543e6c700d14ac72e03c3d3848c042b62ed307811553120df90b048 SHA512 8fdb2e04dc37c4e0962994c53abdcfb46f0ca9d222c87c650fb8141bafcc112f6a651606dfcac7da6a674f62dce80d1dce5b6f2c5b0e87db0b104de02e7edda5
-EBUILD bandit-1.7.1.ebuild 1218 BLAKE2B 268908cebad47831b28b68ee16a0fa5520d95cec6abfa7a2084abe5580542f79686766581533556e5f10a934f837eccb8c0badc5ae9e9a342caf977ddcbbb669 SHA512 4b53b44cf9924638e552c85609d79de525f762b6e8141351f05e77e67782f634c7b89fddea90e2d67fc8e3cc040e8713cd4bd4e885d1bd84d3bd2036bd723553
+EBUILD bandit-1.7.1.ebuild 979 BLAKE2B 7af2866ee9bacb49dcb5a694f9cad843e267dc12619900b71d142bf0519a620149d9d648eda9d59c01d5ae1bbab25429b89c75e13ae01559b414ac0dbcc4c947 SHA512 b9254fe3c2fdcb5e70f95851e1b9a7bc52d69d24299deebb719cf7018b9e47ad920bc16475b17324a312e7158b8a39fce6c78bac894c7d3c7e07d116254e82a4
MISC metadata.xml 685 BLAKE2B 5312eb62f7c19c1e45c23366d84804e731e07194a4b3e00675b7d9002101b59ca6113f910f6c6164995f97c8bb338e2d59ebeb40a2ef69d4efa905558a050791 SHA512 f516aa698ae72ddf53cc3b448ea5a128c77d79364d606aad87f8df87510db7f7776a9ac2cdca04ca62829e872319fc838402dba54775481622a4e1e9e99381fd
diff --git a/dev-python/bandit/bandit-1.7.0.ebuild b/dev-python/bandit/bandit-1.7.0.ebuild
deleted file mode 100644
index c30765e91f50..000000000000
--- a/dev-python/bandit/bandit-1.7.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="A security linter from OpenStack Security"
-HOMEPAGE="https://github.com/PyCQA/bandit"
-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 )"
-
-DEPEND="
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- test? (
- >=dev-python/coverage-4.5.4[${PYTHON_USEDEP}]
- >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
- >=dev-python/hacking-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/mock-3.0.5[${PYTHON_USEDEP}]
- >=dev-python/stestr-2.5.0
- >=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}]
- )"
-RDEPEND="
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]"
-
-src_prepare() {
- sed -i 's/yaml.load/yaml.safe_load/g' tests/unit/formatters/test_yaml.py || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- distutils_install_for_testing
- stestr init
- stestr run || die
-}
diff --git a/dev-python/bandit/bandit-1.7.1.ebuild b/dev-python/bandit/bandit-1.7.1.ebuild
index 5f92de9a3967..1c7194b284bd 100644
--- a/dev-python/bandit/bandit-1.7.1.ebuild
+++ b/dev-python/bandit/bandit-1.7.1.ebuild
@@ -12,9 +12,7 @@ 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 )"
+KEYWORDS="amd64 ~arm arm64 ~s390 x86"
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