1 |
commit: 5972975117c0dac7403bd9ccf13df7a4fc54da7a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 21:45:31 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 21:46:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59729751 |
7 |
|
8 |
dev-python/jwcrypto: Bump to 0.9.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-0.9.0.ebuild | 33 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest |
17 |
index f351f9e6eeb..bc58a0cf889 100644 |
18 |
--- a/dev-python/jwcrypto/Manifest |
19 |
+++ b/dev-python/jwcrypto/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jwcrypto-0.8.0.tar.gz 81782 BLAKE2B a3cfb04f099a747c365f870c53d75574cdfaf8b98373f37cc107ebca956b414b7d7cb78f8fcd6d3964528d3bc8a217e5c645bf6e82531e951dfdd9ca03472111 SHA512 784134d27ff7abd31e1069763969513ed45f81fd2c242b7ff7036413c35ef374d535eae0123f5561a8e4eb2630cee40056d1c66454288e1310c4cbedecaac210 |
22 |
+DIST jwcrypto-0.9.0.tar.gz 83891 BLAKE2B 873f6764d13ea80e8c4e1709fcf4e2a70cb59834521154b35cb94a51ce5cbfa7f4e2d079a3c096b013eef6f3a6adc4935cd3416b22f20b9edce01e95dc1910fb SHA512 6a2670aad8a3db926c4a6e54a62f3b698b717a8bc1726ba8f13e2415f574202e205cab76c79564280dcb2b3b4002a7c03c172d20761c70f76dc007a1ae26dad5 |
23 |
|
24 |
diff --git a/dev-python/jwcrypto/jwcrypto-0.9.0.ebuild b/dev-python/jwcrypto/jwcrypto-0.9.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..643e1b09401 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jwcrypto/jwcrypto-0.9.0.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{7..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography" |
40 |
+ |
41 |
+HOMEPAGE="https://github.com/latchset/jwcrypto" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz |
44 |
+ -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-3+" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] |
52 |
+ dev-python/deprecated[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}]" |
54 |
+ |
55 |
+distutils_enable_sphinx docs/source |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ # Do not install doc in non-standard paths |
60 |
+ sed -i "\|data_files = \[('share/doc/jwcrypto|d" setup.py || die |
61 |
+ distutils-r1_python_prepare_all |
62 |
+} |