remove old flake8

This commit is contained in:
Andreas Billmeier 2022-03-20 09:31:29 +01:00 committed by Andreas Billmeier
parent 03dda6530a
commit 5d98ae8f4f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 2 additions and 116 deletions

View File

@ -496,11 +496,11 @@ 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 1719 Ebuilds in total, 1711 of them have in total 1718 (34 different) licenses assigned.
There are 1717 Ebuilds in total, 1709 of them have in total 1716 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1042|
|MIT|1040|
|Apache-2.0|315|
|GPL-3|105|
|BSD|96|

View File

@ -1,5 +0,0 @@
DIST flake8-3.7.9.tar.gz 150123 BLAKE2B fd46710c0dcce7d3dcb3d5fc8ff7a83a35315679fa838e68abafd5bdc342c13218706fec0dac3fc9a6d919971f1f846c855f00cbd60c925e979378e431dace0b SHA512 c3c753ad050d8a8f87f7c28c8a1c953ed9bd04f08b09512d9323152b4eebb57d67fbfb0f5317d629174fa12fa234e1a86d6a633dd951fff6a45330b1c4f62850
DIST flake8-3.8.4.tar.gz 163583 BLAKE2B 221234931365912adffec99c7c6761d2f35918222bee902ade4d8009d24f6918c66d23fc4b973fe653152cc6857b62ba859780b0d9de53fb91b7ea0379bee9d0 SHA512 51ed09beed50175573e6184b404431b3f89aa6594c40c70ed8288982fe12c2a68992e36d69c99013188f03555bf9fef1ba4f111f8e389cef1e1daa69b41ff5b0
EBUILD flake8-3.7.9.ebuild 1500 BLAKE2B 51b81928c4d181ea8ec86fbbc1d174ad4276c880d8965858fc5f363edd86d5043d1fb62913e8468b917db371955c894c5b441c6b4a8651c8323d0c99af753692 SHA512 331a814977ea55a1032682c382456c35e7b16e0eb1623597d76d4948ba7c9f4a9193bb3760b0b347659b178c2b5e1d806b2237b9bd2feec0a6c52c6546097710
EBUILD flake8-3.8.4-r1.ebuild 1337 BLAKE2B 2a204a3b419df86fe8835d8373db08663270267d2a984b13b688dbe299800a7d167c516812d69c7fa053c04a07b5969c40cfbed2bdefeb5f7fd02fdb7c59583f SHA512 cacf4a82791a43d6ff8bb45b0d0d4dae5ef97c9c99d33e639551a5932669f862bfc6807f3661e21ad362b8bcaa668bc149dda2ce79571a8c0bb289c727258aa3
MISC metadata.xml 373 BLAKE2B af4d7678c87281f631048d3c49b0a642ceee1d771be2b662458888659b7c8e262c98adcd7bcb7f6ab251783998950725729ed35c887c004f8d8da87da81eda7d SHA512 449aa40152590e7103a4bf10006a33e6a0d5010a7846b0c5fbee8a78d99a3539995eccf441845c205bf48fc1e9b35cd7b1d6af0d98b469bdd06989baf8b88646

View File

@ -1,52 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
HOMEPAGE="https://github.com/PyCQA/flake8 https://pypi.org/project/flake8/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
# requires.txt inc. mccabe however that creates a circular dep
RDEPEND="
>=dev-python/pyflakes-2.0.0[${PYTHON_USEDEP}]
<dev-python/pyflakes-2.1.0[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.4.0[${PYTHON_USEDEP}]
<dev-python/pycodestyle-2.5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' 'pypy*' )
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' 'python2*' pypy )
"
PDEPEND="
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
<dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${PDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
# Flake8 falsely assumes it needs pytest-runner unconditionally and will
# try to install it, causing sandbox violations.
sed -i -e "/setup_requires=\['pytest-runner'\],/d" setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}

View File

@ -1,45 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
# requires.txt inc. mccabe however that creates a circular dep
RDEPEND="
>=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}]
<dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}]
<dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7})
"
PDEPEND="
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
<dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}
test? (
${PDEPEND}
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme
distutils_enable_tests pytest
python_test() {
# Otherwise some tests fail if the package isn't installed
distutils_install_for_testing
pytest -vv || die "Tests fail with ${EPYTHON}"
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">flake8</remote-id>
<remote-id type="gitlab">pycqa/flake8</remote-id>
</upstream>
</pkgmetadata>