dev-python/pyjwt: re-add 2.8.0 from main archive

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-09-29 20:44:32 +02:00
parent 48c6698b85
commit df8d0fd2b9
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 47 additions and 4 deletions

View File

@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## 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 2002 Ebuilds in total, 1991 of them have in total 2019 (42 different) licenses assigned.
There are 2003 Ebuilds in total, 1992 of them have in total 2020 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1159|
|MIT|1160|
|Apache-2.0|445|
|GPL-3|117|
|BSD|113|
@ -653,9 +653,9 @@ There are 2002 Ebuilds in total, 1991 of them have in total 2019 (42 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 22/09/2024)
(Last counted: 29/09/2024)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 22/09/2024
Last updated: 29/09/2024

View File

@ -1,3 +1,5 @@
DIST PyJWT-2.8.0.tar.gz 78313 BLAKE2B b5031ec0ea672ef2dffc077aba6c781a20a7497257a16241841c0e0158017370581e3c9785d930772290c25fc9029e71a5d8744d999b135b29715a4f35720508 SHA512 74e74cf8c78494a9e51a2a186347361388031d5c0d0864df2a5d051621d9d31dff617ab1d7ebb4a829cc7d409d196e1bdb3b361ec888b6c14f1abea77544475e
DIST pyjwt-2.9.0.tar.gz 78825 BLAKE2B f8228502944e6fc50412533c0c3f6d03fe7538dae8e1c42dd01d6b4419ef165f98125712e48d5c5b7f0d7eced36b6a84a69b9da549fe5e57effcba652f78faec SHA512 10d0344e05a142b3edadc970dd5cebc5eada1f638a599ca0f566c00149d67626c7fa1bbe668a56bc93048669df3af266c581f4872bf5756a4cc526f4b831dfc1
EBUILD pyjwt-2.8.0.ebuild 776 BLAKE2B 48e2f28adc9ec7b975525ae719aa97ccca95d56f62ef6b36faf92bbd36707bf0d412f0529968c3b4aeaaf3699052e38111836ec189a93c04cccdc47570b95207 SHA512 d74a194dd495f1960140543a0a167a8f0a54954989bc332db01f46b7f8c0350c930699ac4a1398f27ced16d617e98773637aa607e1b44d9f34fa889512cae62a
EBUILD pyjwt-2.9.0.ebuild 756 BLAKE2B f43a68514249dc33dc31bdb188c4daf96b5b40c66b88108b3e40e921bbb329cb845d4d8a1c8a2f2732cb2123255e9d9c7e4536ee8bae016c8ee9b3871c6c614d SHA512 2c602d3b5ee0e87cf5bff816421828f7b2d5c7440a8e9f4851addfc48c7468da25ec5daf1974cbea57deade1dfc46e0f6c9daa26e81e203f724520d89cc75217
MISC metadata.xml 504 BLAKE2B be3459bab4cdfa8d326b0896d167fd0eb3c086434a3ca810e32ca97a3de9200731661c80aaff5a1736fb7bb473f3d94670c8787769b090f86932ce31c2c603ce SHA512 18d9f0b08eb1c51c4e2731985cf66244d0a97a82da5c358f6335166aabcb443774254dcbecadc9344024ba9b89231dd7154bb39b5fa0f2f966388c8ab77fe233

View File

@ -0,0 +1,41 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="PyJWT"
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="
https://github.com/jpadilla/pyjwt/
https://pypi.org/project/PyJWT/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
!dev-python/python-jwt
"
BDEPEND="
test? (
>=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# Internet
tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_sslcontext_default
)
pkg_postinst() {
optfeature "cryptography" dev-python/cryptography
}