remove unused bandit

This commit is contained in:
Andreas Billmeier 2022-03-19 22:49:39 +01:00 committed by Andreas Billmeier
parent 9b69d2fe44
commit 6e2b770a3f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 2 additions and 72 deletions

View File

@ -496,12 +496,12 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1740 Ebuilds in total, 1732 of them have in total 1740 (34 different) licenses assigned.
There are 1739 Ebuilds in total, 1731 of them have in total 1739 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1055|
|Apache-2.0|316|
|Apache-2.0|315|
|GPL-3|105|
|BSD|98|
|LGPL-3|27|

View File

@ -1,3 +0,0 @@
DIST bandit-1.7.0.tar.gz 506225 BLAKE2B 6e2383576b2091ab98757381bfd5915331fc7b08a251e817a6964d963de60b070f7c4dc7958dd366cf95333f4abc157e80433490ab8b923580cb45d855c13092 SHA512 c51af7ab4c667c376a11f142fa35881a776d420bd3ef41421bd29a713e0b56bbf1622e24cd878e24f57594f03d06b7c2b8258fcf34f57e3a68df4200a34becdc
EBUILD bandit-1.7.0.ebuild 1519 BLAKE2B ce84adc3d3402b88864885ed502db30d4c92d736577a0639f85fdf0f38154f8bea88fbde8f74e2c9eb6028e4cac536066379755edd07108d5811a4c5f4c0808f SHA512 13d6aeb546bc864e479fe19a377a793dc874c39831f18bbbb7e7f6e5b2561dfacbf17e100df5e2c0721995c6e7763f5e770498df356b4abccfd31a26dfdae11d
MISC metadata.xml 447 BLAKE2B 8c610b25bcd555f865762482543ef99ebc9cb42269b3579cb8987f9bc44ca54fb24d117c637e492172966e103a31909e61f9b3cc3fe80beb387e41c2b39a6ad5 SHA512 3d4d2d78149624cc5231801b0664dca14f47cd68ed8e25a3a8c85424ef768a437dcaf0f6c20d09278edb6ac62dd03eec858de939f0fa8f2ca6945526a9549fa0

View File

@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
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 )"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
test? (
>=dev-python/coverage-4.0[${PYTHON_USEDEP}]
!~dev-python/coverage-4.4[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/hacking-1.0.0[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/stestr-1.0.0
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup4-4.6.0[${PYTHON_USEDEP}]
>=dev-python/pylint-1.4.5[${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}]"
python_prepare() {
sed -i 's/yaml.load/yaml.safe_load/g' tests/unit/formatters/test_yaml.py || die
distutils-r1_python_prepare_all
}
python_test() {
distutils_install_for_testing
stestr init
stestr run || die
}

View File

@ -1,15 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">bandit</remote-id>
<maintainer status="unknown">
<email>code-quality@python.org</email>
<name>PyCQA</name>
</maintainer>
</upstream>
</pkgmetadata>