Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyjwt/
Date: Thu, 22 Sep 2022 12:15:45
Message-Id: 1663848932.452fb20ef309888b5a672192c05cb985ce49ebad.mgorny@gentoo
1 commit: 452fb20ef309888b5a672192c05cb985ce49ebad
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 11:50:43 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 12:15:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452fb20e
7
8 dev-python/pyjwt: Bump to 2.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyjwt/Manifest | 1 +
13 dev-python/pyjwt/pyjwt-2.5.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest
17 index dca287789b78..04e2bd2ec591 100644
18 --- a/dev-python/pyjwt/Manifest
19 +++ b/dev-python/pyjwt/Manifest
20 @@ -1 +1,2 @@
21 DIST PyJWT-2.4.0.tar.gz 66327 BLAKE2B bc78ceebe3fedd4216420c34034de96dc6af488b4b50d20a03073753cfe94d059cda3e118f79cc3718253f56bb977b5b86543d1cd1ab7346a4095d0c2c6855b2 SHA512 6c60afe62f9341c0fd889be227cd9e44260bc88696a93d0c3398547e159001f04e402d207d2230641f0f3d37cfd7e6f9e50a42dadfb011d7087c32a864c792a4
22 +DIST PyJWT-2.5.0.tar.gz 72538 BLAKE2B 1ad7aff8d1e37a86fb70be9661fad4f0b8ac515e592b78761b89c7b53230ddf8042ad3b6841676026124b01167caa8303481c6a0a301e2bff4e2beab2245312f SHA512 8a638880a25e3dd3b0284deddbbd20df59cfd13693f1228dd00d37579a7d4b70faaa3c4c0a13dfcffac3b5894a10f50187383e393659b7b2aa438dd5ba4b496b
23
24 diff --git a/dev-python/pyjwt/pyjwt-2.5.0.ebuild b/dev-python/pyjwt/pyjwt-2.5.0.ebuild
25 new file mode 100644
26 index 000000000000..979dd67cc701
27 --- /dev/null
28 +++ b/dev-python/pyjwt/pyjwt-2.5.0.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +MY_PN="PyJWT"
41 +DESCRIPTION="JSON Web Token implementation in Python"
42 +HOMEPAGE="
43 + https://github.com/jpadilla/pyjwt/
44 + https://pypi.org/project/PyJWT/
45 +"
46 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
47 +S=${WORKDIR}/${MY_PN}-${PV}
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
52 +
53 +RDEPEND="
54 + !dev-python/python-jwt
55 +"
56 +BDEPEND="
57 + test? (
58 + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +distutils_enable_tests pytest
63 +
64 +pkg_postinst() {
65 + optfeature "cryptography" dev-python/cryptography
66 +}