1 |
commit: 47005cc59efdae83de8304ffcba23927e0796275 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 29 11:51:02 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 29 11:52:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47005cc5 |
7 |
|
8 |
dev-python/jwcrypto: bump to 0.8.0, add PyPy3+Py3.{8,9}, doc |
9 |
|
10 |
Also fix dependencies. |
11 |
|
12 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
13 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
14 |
|
15 |
dev-python/jwcrypto/Manifest | 1 + |
16 |
dev-python/jwcrypto/jwcrypto-0.8.0.ebuild | 28 ++++++++++++++++++++++++++++ |
17 |
2 files changed, 29 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest |
20 |
index 30b45aaa1da..94dd7040e1c 100644 |
21 |
--- a/dev-python/jwcrypto/Manifest |
22 |
+++ b/dev-python/jwcrypto/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST jwcrypto-0.7.0.tar.gz 80869 BLAKE2B 7b8a6928dff40d4d3e0bd61cfc81362ed5d0abd1001e1273aa12111166ed13e510d9cff935724578c2b7392bc74ffc94b0a733ea23f4a982e6bd8d35b1155ef4 SHA512 1d2b6268a54f3a3d466f7a7f7f0776164f0f35420b026c8ebfba099df530d965697eea85a49a73c44713e38fdb9ec4018cd4813b8e154a18117fc4006aa5578e |
25 |
+DIST jwcrypto-0.8.0.tar.gz 81782 BLAKE2B a3cfb04f099a747c365f870c53d75574cdfaf8b98373f37cc107ebca956b414b7d7cb78f8fcd6d3964528d3bc8a217e5c645bf6e82531e951dfdd9ca03472111 SHA512 784134d27ff7abd31e1069763969513ed45f81fd2c242b7ff7036413c35ef374d535eae0123f5561a8e4eb2630cee40056d1c66454288e1310c4cbedecaac210 |
26 |
|
27 |
diff --git a/dev-python/jwcrypto/jwcrypto-0.8.0.ebuild b/dev-python/jwcrypto/jwcrypto-0.8.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0bfd1c99c35 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/jwcrypto/jwcrypto-0.8.0.ebuild |
32 |
@@ -0,0 +1,28 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( pypy3 python3_{6..9} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography" |
43 |
+ |
44 |
+HOMEPAGE="https://github.com/latchset/jwcrypto" |
45 |
+SRC_URI="https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="LGPL-3+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=">=dev-python/cryptography-2.3[${PYTHON_USEDEP}]" |
52 |
+ |
53 |
+distutils_enable_sphinx docs/source |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ # Do not install doc in non-standard paths |
58 |
+ sed -i "\|data_files = \[('share/doc/jwcrypto|d" setup.py || die |
59 |
+ distutils-r1_python_prepare_all |
60 |
+} |