Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme/
Date: Tue, 07 Jan 2020 15:58:22
Message-Id: 1578412667.aa102112e18d097a3ce28878af547320d0bf3f30.whissi@gentoo
1 commit: aa102112e18d097a3ce28878af547320d0bf3f30
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 7 15:57:47 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 7 15:57:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa102112
7
8 app-crypt/acme: restore v0.39.0
9
10 This commit partially reverts commit 468df9c9ee2a8607b091a5b6f7dd5d2619f60312.
11
12 =app-crypt/acme-0.39.0 is still required by stable
13 app-crypt/certbot-dns-nsone package.
14
15 Package-Manager: Portage-2.3.84, Repoman-2.3.20
16 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
17
18 app-crypt/acme/Manifest | 1 +
19 app-crypt/acme/acme-0.39.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++++
20 2 files changed, 70 insertions(+)
21
22 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
23 index 3d0ed9497a6..3f85f23b598 100644
24 --- a/app-crypt/acme/Manifest
25 +++ b/app-crypt/acme/Manifest
26 @@ -1,2 +1,3 @@
27 +DIST certbot-0.39.0.tar.gz 1350312 BLAKE2B 5f21c45d25754cb1ed0ad92e8d03637928a274637de09903509c7e78c40fd197e95cfa1f3effecef938d6ab8369dc6811714ddb5a93a806048e0998d1032e4f9 SHA512 17ab17a5f74e3fba58b1a8b9afe0c3656c7b2a5ea3585edb05ad84e36250c6a8d4d28bd692bc97d033c95eb0bbeff4eb84981ae0006e36d55846cd38373b86a0
28 DIST certbot-0.40.1.tar.gz 1353347 BLAKE2B 86b3df4047101d00d5f17cf3a1a11e5800e850f5a9f736507ad373e552c27e9e4a3a17695f5a817d191cad383fc17336214fc1d8de7a99354ce4d2f5c6e728c1 SHA512 e5517a20cf26efba850728b3f81db5d6c3c5570b0a1c8eeeec9d4a4401ac04bcf44c6a2f1c248bf6e0b1be4a21b54f6168ccd11dc766304805f13b4cb16336b3
29 DIST certbot-1.0.0.tar.gz 1336032 BLAKE2B ca26cfd3d9f802b09eaf387225f24fbb01385f81dfa661dfb5acbd97982a6fc773c56abf6b3f99db7f2b0cdc8c5a7175d264714592858b38217e444d4e1d2b4b SHA512 649ddd3d9305e166ef36de4e4e48b1171d5f369d9d60c026ab37a03e7b221cd815e93e69460662e6436b56cec076005582457e9d45499114306ad808a2497912
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..f045a98c086
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{2_7,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 +}