re-add pyjwt-2.3.0 (from main)

This commit is contained in:
Andreas Billmeier 2022-05-14 07:34:25 +02:00 committed by Andreas Billmeier
parent a924c4ab6a
commit 6bbd41dc9d
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 35 additions and 4 deletions

View File

@ -517,11 +517,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 1735 Ebuilds in total, 1728 of them have in total 1735 (35 different) licenses assigned.
There are 1736 Ebuilds in total, 1729 of them have in total 1736 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1056|
|MIT|1057|
|Apache-2.0|317|
|GPL-3|106|
|BSD|94|
@ -557,9 +557,9 @@ There are 1735 Ebuilds in total, 1728 of them have in total 1735 (35 different)
|CC-BY-NC-SA-4.0|1|
|CC0-1.0|1|
(Last counted: 13/05/2022)
(Last counted: 14/05/2022)
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: 13/05/2022
Last updated: 14/05/2022

View File

@ -1,3 +1,5 @@
DIST PyJWT-2.1.0.tar.gz 60092 BLAKE2B 59bde5f73558c74c964136ce0e8e9b5db6b76d226805fdb8aa8f201f00dceed0036693aa9295fa0ebac03c8fdac29a28f2aa79c697155c0ca744d1549e9bb47a SHA512 d701919c6cf06acb45cb0762a4ab7cc5e6ea247fbc0de80d0efdd1fc4b966c0d27c7400869858bbdc457b200586635aeefa8a38b85db818df6a8713f9bda8ab8
DIST PyJWT-2.3.0.tar.gz 62279 BLAKE2B 0f4cea0cee2461e5f829b2bba40fb6d2646d5bccaa8e6b2d26ba7379386a64dc9f5204ea607edec98fc0102facf3cc5595e5e97523e9a567e0cf0b072542a3f5 SHA512 c6a1d8c3ce87d2122aa4ce4e19c5d2683aeffae6fb29b20fa17e2dfb1a07faf721beb8ca390d3acdeb85a1476025ca5af4fcdb1019f84c8c1bf229246a7aafe3
EBUILD pyjwt-2.1.0.ebuild 716 BLAKE2B d8b3be836581d40b3b0b6e67ce4c8d4c13542ed16bf853064e7a5ba616acd32e30a1a2687206692f5f7721d17a5e893dab64f2f8c5c2ee7a2414de5fff09dde2 SHA512 4e0beff31cbeebd7a404ad5fe8342600e1fef89896f39e5dc637fa43bef3968b877f5a6c6a8c84ff9b39cb266ebcafac6b5fa2f765e07b26fad4d36cadddef9d
EBUILD pyjwt-2.3.0.ebuild 739 BLAKE2B e29b5ace1499a758ce0f7479f0c59110cd2751ff48d679f8576cb8b770f707d86c46f4a51a2585fc026c107704473338e2cc6f4bf362529d890168a3401cc265 SHA512 2b2cbdb8de7e8ef71c43c1e65ce199cd2ea1f7b47e38be13527c0ea4c0e63f0c52017ae03b3a0aa54876f867b0c9a13ccf24990a36f22712f97ca2e6e782978e
MISC metadata.xml 448 BLAKE2B e4ceaee9c8f4d05e5a265a49b1007563e934f5dbffc8ffb8f0ed24873c6c455232ffc8f2cb7ea48baa1adb4c8e9f3670003b3b57ccdbec5b8d39417d7f654749 SHA512 287e4297484ca05a9156d6fdb6d47a84ddbc91dd6ac3f732f791c398dbfc5f507d5c54faa54e164fa4d6f634dc631c78e6c04b78e8de8da90caca35d96dce91a

View File

@ -0,0 +1,29 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 optfeature
MY_PN="PyJWT"
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="https://github.com/jpadilla/pyjwt/ https://pypi.org/project/PyJWT/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
S="${WORKDIR}"/${MY_PN}-${PV}
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="!dev-python/python-jwt"
BDEPEND="
test? (
>=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
pkg_postinst() {
optfeature "cryptography" dev-python/cryptography
}