1 |
commit: 31b0f10be985e48e355706f55fb3c580dddb465d |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 17:44:06 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 18:02:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b0f10b |
7 |
|
8 |
dev-python/josepy: bump to 1.4.0, add tests and Py3.9+PyPy3 support |
9 |
|
10 |
Also: |
11 |
* Fix deps. |
12 |
* Remove blocker on acme 0.20.0 (removed from the tree more than 2 years ago). |
13 |
* Update HOMEPAGE. |
14 |
* EAPI=7. |
15 |
|
16 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
17 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
18 |
|
19 |
dev-python/josepy/Manifest | 1 + |
20 |
dev-python/josepy/josepy-1.4.0.ebuild | 32 ++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 33 insertions(+) |
22 |
|
23 |
diff --git a/dev-python/josepy/Manifest b/dev-python/josepy/Manifest |
24 |
index 117aeda6b73..c1ba4f7f057 100644 |
25 |
--- a/dev-python/josepy/Manifest |
26 |
+++ b/dev-python/josepy/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST josepy-1.3.0.tar.gz 53279 BLAKE2B 7dbbdd97491d4fab7a6f086c47458e2e34908ee4377e30138a64a42b81396cba72dc0f8483d21f4f7499715eb49f9503cc12b08cdc270d4cd6fcc05a6888dc8f SHA512 176eea34bb7fb75e192d6792c15581a42a1d2b986bc79ab49f72b16ebf8879e9b11db0d22fbd49ff5a9b85ab7cc45a0a935d06393273233a272537a861282f30 |
29 |
+DIST josepy-1.4.0.tar.gz 54174 BLAKE2B 67117e7399422d0cfe2c47f9e5ed11a3b93617e673cf9ab1344334f7f11f0c884f45202e8e5e65ebacc00f527becfdbdda9ea246b8e96ba15e516bfc2fb33ba9 SHA512 a5038a4bb42c5a55d665a551743a976b209c24d8aa368d2b6acf0957e953bd4044d9dc41bf9d460283f44c14b7dd7ce2a860563fe107663d4a4deba0c7834e40 |
30 |
|
31 |
diff --git a/dev-python/josepy/josepy-1.4.0.ebuild b/dev-python/josepy/josepy-1.4.0.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..5acbb31edea |
34 |
--- /dev/null |
35 |
+++ b/dev-python/josepy/josepy-1.4.0.ebuild |
36 |
@@ -0,0 +1,32 @@ |
37 |
+# Copyright 1999-2020 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) |
43 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
44 |
+ |
45 |
+inherit distutils-r1 |
46 |
+ |
47 |
+DESCRIPTION="JOSE protocol implementation in Python" |
48 |
+HOMEPAGE="https://github.com/certbot/josepy" |
49 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/cryptography-0.8[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_prepare_all() { |
65 |
+ # Remove coverage/flake8 options |
66 |
+ sed -i '/^addopts =/d' pytest.ini || die |
67 |
+ distutils-r1_python_prepare_all |
68 |
+} |