dev-python/pyjwt: new package, add 2.9.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-09-22 09:43:35 +02:00
parent 22873b499b
commit 5d6071efa2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 61 additions and 2 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 1994 Ebuilds in total, 1983 of them have in total 2011 (42 different) licenses assigned.
There are 1995 Ebuilds in total, 1984 of them have in total 2012 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1153|
|MIT|1154|
|Apache-2.0|444|
|GPL-3|117|
|BSD|113|

View File

@ -0,0 +1,3 @@
DIST pyjwt-2.9.0.tar.gz 78825 BLAKE2B f8228502944e6fc50412533c0c3f6d03fe7538dae8e1c42dd01d6b4419ef165f98125712e48d5c5b7f0d7eced36b6a84a69b9da549fe5e57effcba652f78faec SHA512 10d0344e05a142b3edadc970dd5cebc5eada1f638a599ca0f566c00149d67626c7fa1bbe668a56bc93048669df3af266c581f4872bf5756a4cc526f4b831dfc1
EBUILD pyjwt-2.9.0.ebuild 756 BLAKE2B f43a68514249dc33dc31bdb188c4daf96b5b40c66b88108b3e40e921bbb329cb845d4d8a1c8a2f2732cb2123255e9d9c7e4536ee8bae016c8ee9b3871c6c614d SHA512 2c602d3b5ee0e87cf5bff816421828f7b2d5c7440a8e9f4851addfc48c7468da25ec5daf1974cbea57deade1dfc46e0f6c9daa26e81e203f724520d89cc75217
MISC metadata.xml 504 BLAKE2B be3459bab4cdfa8d326b0896d167fd0eb3c086434a3ca810e32ca97a3de9200731661c80aaff5a1736fb7bb473f3d94670c8787769b090f86932ce31c2c603ce SHA512 18d9f0b08eb1c51c4e2731985cf66244d0a97a82da5c358f6335166aabcb443774254dcbecadc9344024ba9b89231dd7154bb39b5fa0f2f966388c8ab77fe233

View File

@ -0,0 +1,16 @@
<?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">PyJWT</remote-id>
<remote-id type="github">jpadilla/pyjwt</remote-id>
<maintainer status="unknown">
<email>hello@jpadilla.com</email>
<name>Jose Padilla</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
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
}