Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme/
Date: Thu, 06 Feb 2020 05:34:24
Message-Id: 1580966786.8b0570557ee0075ab8dbc87c99f027a1bfaa04ca.mgorny@gentoo
1 commit: 8b0570557ee0075ab8dbc87c99f027a1bfaa04ca
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 6 05:26:26 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 6 05:26:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b057055
7
8 app-crypt/acme: Revert "0.39.0 and 0.40.1 cleanup"
9
10 This breaks app-crypt/certbot-dns-nsone.
11
12 Reverts: d212f25fcb4be868f97fb43fb05566a243e63b7a
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 app-crypt/acme/Manifest | 2 ++
16 app-crypt/acme/acme-0.39.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++++
17 app-crypt/acme/acme-0.40.1.ebuild | 69 +++++++++++++++++++++++++++++++++++++++
18 3 files changed, 140 insertions(+)
19
20 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
21 index b42432f8548..0177f131f91 100644
22 --- a/app-crypt/acme/Manifest
23 +++ b/app-crypt/acme/Manifest
24 @@ -1,3 +1,5 @@
25 +DIST certbot-0.39.0.tar.gz 1350312 BLAKE2B 5f21c45d25754cb1ed0ad92e8d03637928a274637de09903509c7e78c40fd197e95cfa1f3effecef938d6ab8369dc6811714ddb5a93a806048e0998d1032e4f9 SHA512 17ab17a5f74e3fba58b1a8b9afe0c3656c7b2a5ea3585edb05ad84e36250c6a8d4d28bd692bc97d033c95eb0bbeff4eb84981ae0006e36d55846cd38373b86a0
26 +DIST certbot-0.40.1.tar.gz 1353347 BLAKE2B 86b3df4047101d00d5f17cf3a1a11e5800e850f5a9f736507ad373e552c27e9e4a3a17695f5a817d191cad383fc17336214fc1d8de7a99354ce4d2f5c6e728c1 SHA512 e5517a20cf26efba850728b3f81db5d6c3c5570b0a1c8eeeec9d4a4401ac04bcf44c6a2f1c248bf6e0b1be4a21b54f6168ccd11dc766304805f13b4cb16336b3
27 DIST certbot-1.0.0.tar.gz 1336032 BLAKE2B ca26cfd3d9f802b09eaf387225f24fbb01385f81dfa661dfb5acbd97982a6fc773c56abf6b3f99db7f2b0cdc8c5a7175d264714592858b38217e444d4e1d2b4b SHA512 649ddd3d9305e166ef36de4e4e48b1171d5f369d9d60c026ab37a03e7b221cd815e93e69460662e6436b56cec076005582457e9d45499114306ad808a2497912
28 DIST certbot-1.1.0.tar.gz 1346768 BLAKE2B 5c86edec3102ce0eb822465458ec86cbc98eb5e76c3c582d8a72ecab91e709f16e7a1576c684bc04bfd0c70918f34e84e0b3b264f949a1fb9bf9503fa9d6b179 SHA512 905b21a8a50b4df4eb92b464d10dec094ba4e7f5eaf3ad3dae1704a794952df6b51873ca919246a9b6698fd652a7c264efc742617ba0a25757ab99397759c343
29 DIST certbot-1.2.0.tar.gz 1354262 BLAKE2B 1abdf4cb99ecdac6b9b8d2ebdd6897a3182a147f0175e2db4c6b0feaa3f6c615ee3146dd63627a83266c223456c5aba44b018be4059574d0209aec89065d9925 SHA512 ed52a31a71b3762b8cd217ea2784d9cb01f7c1a50cef3b7e0d99483ca3ab623b90ab7d4896674e0d1c06e2e8370c02162418d934de7d3048b0471416616146fe
30
31 diff --git a/app-crypt/acme/acme-0.39.0.ebuild b/app-crypt/acme/acme-0.39.0.ebuild
32 new file mode 100644
33 index 00000000000..0ce5fe5770d
34 --- /dev/null
35 +++ b/app-crypt/acme/acme-0.39.0.ebuild
36 @@ -0,0 +1,69 @@
37 +# Copyright 1999-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +PYTHON_COMPAT=(python{3_6,3_7})
42 +
43 +if [[ ${PV} == 9999* ]]; then
44 + EGIT_REPO_URI="https://github.com/certbot/certbot.git"
45 + inherit git-r3
46 + S=${WORKDIR}/${P}/${PN}
47 +else
48 + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
49 + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
50 + S=${WORKDIR}/certbot-${PV}/acme
51 +fi
52 +
53 +inherit distutils-r1
54 +
55 +DESCRIPTION="An implementation of the ACME protocol"
56 +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
57 +
58 +LICENSE="Apache-2.0"
59 +SLOT="0"
60 +IUSE="doc test"
61 +RESTRICT="!test? ( test )"
62 +
63 +RDEPEND="
64 + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
65 + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
66 + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
67 + dev-python/mock[${PYTHON_USEDEP}]
68 + >=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
69 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
70 + dev-python/pytz[${PYTHON_USEDEP}]
71 + >=dev-python/requests-2.10[${PYTHON_USEDEP}]
72 + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
73 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
74 +"
75 +DEPEND="
76 + doc? (
77 + dev-python/sphinx[${PYTHON_USEDEP}]
78 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
79 + )
80 + test? (
81 + ${RDEPEND}
82 + dev-python/nose[${PYTHON_USEDEP}]
83 + dev-python/pytest[${PYTHON_USEDEP}]
84 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
85 + )
86 + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
87 +"
88 +
89 +src_compile() {
90 + python_foreach_impl run_in_build_dir default
91 + if use doc ; then
92 + cd docs || die
93 + sphinx-build -b html -d _build/doctrees . _build/html
94 + fi
95 +}
96 +
97 +python_test() {
98 + nosetests -w ${PN} || die
99 +}
100 +
101 +python_install_all() {
102 + use doc && local HTML_DOCS=( docs/_build/html/. )
103 +
104 + distutils-r1_python_install_all
105 +}
106
107 diff --git a/app-crypt/acme/acme-0.40.1.ebuild b/app-crypt/acme/acme-0.40.1.ebuild
108 new file mode 100644
109 index 00000000000..0ce5fe5770d
110 --- /dev/null
111 +++ b/app-crypt/acme/acme-0.40.1.ebuild
112 @@ -0,0 +1,69 @@
113 +# Copyright 1999-2020 Gentoo Authors
114 +# Distributed under the terms of the GNU General Public License v2
115 +
116 +EAPI=7
117 +PYTHON_COMPAT=(python{3_6,3_7})
118 +
119 +if [[ ${PV} == 9999* ]]; then
120 + EGIT_REPO_URI="https://github.com/certbot/certbot.git"
121 + inherit git-r3
122 + S=${WORKDIR}/${P}/${PN}
123 +else
124 + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
125 + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
126 + S=${WORKDIR}/certbot-${PV}/acme
127 +fi
128 +
129 +inherit distutils-r1
130 +
131 +DESCRIPTION="An implementation of the ACME protocol"
132 +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
133 +
134 +LICENSE="Apache-2.0"
135 +SLOT="0"
136 +IUSE="doc test"
137 +RESTRICT="!test? ( test )"
138 +
139 +RDEPEND="
140 + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
141 + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
142 + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
143 + dev-python/mock[${PYTHON_USEDEP}]
144 + >=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
145 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
146 + dev-python/pytz[${PYTHON_USEDEP}]
147 + >=dev-python/requests-2.10[${PYTHON_USEDEP}]
148 + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
149 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
150 +"
151 +DEPEND="
152 + doc? (
153 + dev-python/sphinx[${PYTHON_USEDEP}]
154 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
155 + )
156 + test? (
157 + ${RDEPEND}
158 + dev-python/nose[${PYTHON_USEDEP}]
159 + dev-python/pytest[${PYTHON_USEDEP}]
160 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
161 + )
162 + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
163 +"
164 +
165 +src_compile() {
166 + python_foreach_impl run_in_build_dir default
167 + if use doc ; then
168 + cd docs || die
169 + sphinx-build -b html -d _build/doctrees . _build/html
170 + fi
171 +}
172 +
173 +python_test() {
174 + nosetests -w ${PN} || die
175 +}
176 +
177 +python_install_all() {
178 + use doc && local HTML_DOCS=( docs/_build/html/. )
179 +
180 + distutils-r1_python_install_all
181 +}