1 |
commit: 4c6e48e3a3d6ee2fdaa3848d390ee254ca26bc38 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 18:43:00 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 18:48:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6e48e3 |
7 |
|
8 |
dev-python/jwcrypto: Bump to 1.2.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jwcrypto/Manifest | 1 + |
13 |
dev-python/jwcrypto/jwcrypto-1.2.0.ebuild | 37 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest |
17 |
index 0efe3fa9591f..a374acbb4deb 100644 |
18 |
--- a/dev-python/jwcrypto/Manifest |
19 |
+++ b/dev-python/jwcrypto/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST jwcrypto-1.0.0.tar.gz 87000 BLAKE2B 6e85d52c26447b07c3d06387ac9e3b7adf585d5dc320c633e80ca2bc1e327f01ac95cec9a0fe2b92f7f8ed7f5650d5ad1a95de500d328b33763d604aaba1bd62 SHA512 12d270219d289041098f875f5b2b0773ffbf9044996a6189b827cafbf3e5dccfc103915275b1a11dce2d50e3510510eea476b024d19cf97fd7c66c25de5b3dbf |
22 |
DIST jwcrypto-1.1.0.gh.tar.gz 87344 BLAKE2B 4bc72c01e6d49d68ff8e3c89a09758a5e8a634c308926ed2b750fdc373006b30710a841df4e26e1ce3287be6e4b509674887a0b01cc3b225bc87d97588f5b7a6 SHA512 c7530f68d74247f23ad2d76def257f4f0091203a22d39f248f4a15363b17bdf79699b96775cfb7f909b5b0a99ed1dd73ff5ae30ca8bc41662f1be38933c9f3c1 |
23 |
+DIST jwcrypto-1.2.0.gh.tar.gz 88369 BLAKE2B c2f03cef2130884e8a27faa5a7e204ee448ef0a2b56da414f10df34821a67898a0ed2768201d00e2dc7d14b5a3cad3e73c0bd5707910dd2cb1082d1a20a14c04 SHA512 df9073b0561b43cd92f7f1861f9b517bc736d0846f8ef1c7496a48aa5dec49755e5915285ae659c5e2bb18cd51912cd782d799c41c5c6399330f688348096fa5 |
24 |
|
25 |
diff --git a/dev-python/jwcrypto/jwcrypto-1.2.0.ebuild b/dev-python/jwcrypto/jwcrypto-1.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b57976ef02c6 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/jwcrypto/jwcrypto-1.2.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=( pypy3 python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/latchset/jwcrypto/ |
44 |
+ https://pypi.org/project/jwcrypto/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="LGPL-3+" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] |
57 |
+ dev-python/deprecated[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_sphinx docs/source |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+python_prepare_all() { |
64 |
+ # Do not install doc in non-standard paths |
65 |
+ sed -i "/data_files/d" setup.py || die |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |