1 |
commit: 0fe1050399b6409ec20db932bda8f8f3732c4267 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 12 07:51:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 12 08:36:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe10503 |
7 |
|
8 |
dev-python/josepy: Bump to 1.12.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/josepy/Manifest | 1 + |
13 |
dev-python/josepy/josepy-1.12.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/josepy/Manifest b/dev-python/josepy/Manifest |
17 |
index 722fd8a368ff..faa4d4dcde8b 100644 |
18 |
--- a/dev-python/josepy/Manifest |
19 |
+++ b/dev-python/josepy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST josepy-1.11.0.tar.gz 59198 BLAKE2B 862030d501f1c2316ef30800fda7dbf7dd36b9e49434605b3dc7c329d4ff2d405fc8483ae8a8a1346af60a1e80c018af4f0c17a3d5d00881da03c3eff561c81b SHA512 06aed9534434a94f7b922270221aaa85feb4ba9d836460303ecb7fea1c5679d557a6dad6d32bbd1a05ccc4855318fb56752ebea91498bb8c36884cf7b3d01859 |
22 |
+DIST josepy-1.12.0.tar.gz 59205 BLAKE2B 3ead71c2eb60a9bcc45615f85435f616bf6fe16c75d7e34ae5bd0f418b5b71b6ea03388198a371765e497aa29419efd9fbb2615d4546a5a8a9704acf7c9a70dd SHA512 7a5257d4a75feed65ff3abfd472e8f1c9cc81b62e27365d776d0f25e1efd94ae46374060ea463b9f04fe5e9577672bf2ab8dc8d6371cb8d01a4765921930e01b |
23 |
|
24 |
diff --git a/dev-python/josepy/josepy-1.12.0.ebuild b/dev-python/josepy/josepy-1.12.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..b006df302d60 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/josepy/josepy-1.12.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="JOSE protocol implementation in Python" |
41 |
+HOMEPAGE="https://github.com/certbot/josepy" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/cryptography-0.8[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+python_prepare_all() { |
56 |
+ # Remove coverage/flake8 options |
57 |
+ sed -i -e '/^addopts =/d' -e '/^flake8-ignore/d' pytest.ini || die |
58 |
+ distutils-r1_python_prepare_all |
59 |
+} |