cleanup PYTHON_COMPAT, remove unused Ebuilds (https://bugs.gentoo.org/793464)

This commit is contained in:
2021-06-04 11:07:04 +02:00
committed by onkelbeh
parent c1d85609fd
commit bac826ee0e
1237 changed files with 1142 additions and 21454 deletions
+1 -4
View File
@@ -1,6 +1,3 @@
DIST PyJWT-1.6.4.tar.gz 41694 BLAKE2B 59677d2f76a6f49be794d7cb796a5388b34fb8016dde9a069fa0494dfa91862b5cd9437e9231377fc7da10438a0a73ffbfe3afd2023cc21c5e166c93eb04fdaa SHA512 28c448d473f0409d11c2a97bef9f878800a78691250f55a46d79009b09faab0ac179133c4d4795ed9910dd7176adc9d6912189a5b4938f27ae441308e98d5e11
DIST PyJWT-1.7.1.tar.gz 41979 BLAKE2B 5604b309838b2dfb2f95e18e291c43703954664aa8acb7439072f002c1c8a1e49ff2c21d907be77a4d2f86e695ec71970d550aad2541252ac85bd7133e300b28 SHA512 70cd38127b6848933992c8b88303725ef71bfb430ad42eb63247e549b0bdab2a194137349d43ab02a1c97212dbc89f447ee3f0c5403dd14632b8b4b6b9235fc4
EBUILD pyjwt-1.6.4.ebuild 1271 BLAKE2B d29a506d6fff60cba22f37dca3232092a095c9863b0d3ba9af51c740db9270aeaa2df7c184e82f0dfa2f45e8465d1020b7d8a5dd9f8ab7726eb8dbc9d6ee552e SHA512 4bd303963e69b67d4cc7ac586a8d0b26e9d3828d02bbf917af27370a98761cad6f222632ae7d32e22d8290e7574a697c4fe3302098b3510c04910d68063ff115
EBUILD pyjwt-1.7.1-r1.ebuild 1278 BLAKE2B 1975d6f41c02636eac7b3f51253aa4c2e261ef32432813f2423ca2e0157fc5a0fd1bfd338f041d0361006ed505119dd6378b3dcf80cbf526e4e87ebe436f59f0 SHA512 93c83f630f1115c92a0ca793eb8d42e0ef574da7969d611285f95904867067b251c5398c7c20e05905558c108306b886b1c574b115257fa6896b873e188babd6
EBUILD pyjwt-1.7.1.ebuild 1271 BLAKE2B d29a506d6fff60cba22f37dca3232092a095c9863b0d3ba9af51c740db9270aeaa2df7c184e82f0dfa2f45e8465d1020b7d8a5dd9f8ab7726eb8dbc9d6ee552e SHA512 4bd303963e69b67d4cc7ac586a8d0b26e9d3828d02bbf917af27370a98761cad6f222632ae7d32e22d8290e7574a697c4fe3302098b3510c04910d68063ff115
EBUILD pyjwt-1.7.1-r1.ebuild 1277 BLAKE2B 37244e0653072aef88bdb770674ed240d4304f237af1ef80a04c8faf588f7b7584d8658f9ad3b47ac37ca9671c243f9578cda36ab373f7409dc60a80ffc68eff SHA512 b5c3a73f5046362475f6a183a443b4da367cf2a665687fc927072570e12ce7d665a686befbb52fb7a22bbc5590f5e56f050c1555ac3b1a07b6e1215163af0857
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af
-51
View File
@@ -1,51 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} pypy )
inherit distutils-r1 eutils
MY_PN="PyJWT"
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="https://github.com/progrium/pyjwt https://pypi.org/project/PyJWT/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 x86"
IUSE="test"
RDEPEND=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/cryptography-1.4.0[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}"/${MY_PN}-${PV}
python_prepare_all() {
find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
# enables coverage, we don't need that
rm setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
pytest -vv || die "Tests fail with ${EPYTHON}"
}
pkg_postinst() {
elog "Available optional features:"
optfeature "cryptography" dev-python/cryptography
optfeature "flake8" dev-python/flake8
ewarn "flake8 feature requires 'flake8-import-order' and 'pep8-naming', which are not in portage yet"
}
+2 -2
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 eutils
-51
View File
@@ -1,51 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} pypy )
inherit distutils-r1 eutils
MY_PN="PyJWT"
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="https://github.com/progrium/pyjwt https://pypi.org/project/PyJWT/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 x86"
IUSE="test"
RDEPEND=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/cryptography-1.4.0[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}"/${MY_PN}-${PV}
python_prepare_all() {
find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
# enables coverage, we don't need that
rm setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
pytest -vv || die "Tests fail with ${EPYTHON}"
}
pkg_postinst() {
elog "Available optional features:"
optfeature "cryptography" dev-python/cryptography
optfeature "flake8" dev-python/flake8
ewarn "flake8 feature requires 'flake8-import-order' and 'pep8-naming', which are not in portage yet"
}