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: Fri, 13 May 2022 06:15:40
Message-Id: 1652422528.56f59c59ce272031e71989092da81e558c5f74aa.mgorny@gentoo
1 commit: 56f59c59ce272031e71989092da81e558c5f74aa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 13 05:56:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 06:15:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f59c59
7
8 dev-python/pyjwt: Bump to 2.4.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.4.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 83ba313e1e3c..5488502fb3b8 100644
18 --- a/dev-python/pyjwt/Manifest
19 +++ b/dev-python/pyjwt/Manifest
20 @@ -1,2 +1,3 @@
21 DIST PyJWT-1.7.1.tar.gz 41979 BLAKE2B 5604b309838b2dfb2f95e18e291c43703954664aa8acb7439072f002c1c8a1e49ff2c21d907be77a4d2f86e695ec71970d550aad2541252ac85bd7133e300b28 SHA512 70cd38127b6848933992c8b88303725ef71bfb430ad42eb63247e549b0bdab2a194137349d43ab02a1c97212dbc89f447ee3f0c5403dd14632b8b4b6b9235fc4
22 DIST PyJWT-2.3.0.tar.gz 62279 BLAKE2B 0f4cea0cee2461e5f829b2bba40fb6d2646d5bccaa8e6b2d26ba7379386a64dc9f5204ea607edec98fc0102facf3cc5595e5e97523e9a567e0cf0b072542a3f5 SHA512 c6a1d8c3ce87d2122aa4ce4e19c5d2683aeffae6fb29b20fa17e2dfb1a07faf721beb8ca390d3acdeb85a1476025ca5af4fcdb1019f84c8c1bf229246a7aafe3
23 +DIST PyJWT-2.4.0.tar.gz 66327 BLAKE2B bc78ceebe3fedd4216420c34034de96dc6af488b4b50d20a03073753cfe94d059cda3e118f79cc3718253f56bb977b5b86543d1cd1ab7346a4095d0c2c6855b2 SHA512 6c60afe62f9341c0fd889be227cd9e44260bc88696a93d0c3398547e159001f04e402d207d2230641f0f3d37cfd7e6f9e50a42dadfb011d7087c32a864c792a4
24
25 diff --git a/dev-python/pyjwt/pyjwt-2.4.0.ebuild b/dev-python/pyjwt/pyjwt-2.4.0.ebuild
26 new file mode 100644
27 index 000000000000..979dd67cc701
28 --- /dev/null
29 +++ b/dev-python/pyjwt/pyjwt-2.4.0.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1 optfeature
40 +
41 +MY_PN="PyJWT"
42 +DESCRIPTION="JSON Web Token implementation in Python"
43 +HOMEPAGE="
44 + https://github.com/jpadilla/pyjwt/
45 + https://pypi.org/project/PyJWT/
46 +"
47 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
48 +S=${WORKDIR}/${MY_PN}-${PV}
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
53 +
54 +RDEPEND="
55 + !dev-python/python-jwt
56 +"
57 +BDEPEND="
58 + test? (
59 + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64 +
65 +pkg_postinst() {
66 + optfeature "cryptography" dev-python/cryptography
67 +}