Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme/
Date: Thu, 05 Aug 2021 03:29:18
Message-Id: 1628134144.72fd915e8b72dc97f892a77fe533ea31bef70c52.prometheanfire@gentoo
1 commit: 72fd915e8b72dc97f892a77fe533ea31bef70c52
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 5 03:17:37 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 5 03:29:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fd915e
7
8 app-crypt/acme: 1.18.0 bump
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-crypt/acme/Manifest | 1 +
14 app-crypt/acme/acme-1.18.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 70 insertions(+)
16
17 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
18 index 75ec98d13ed..3279f488bd1 100644
19 --- a/app-crypt/acme/Manifest
20 +++ b/app-crypt/acme/Manifest
21 @@ -1,2 +1,3 @@
22 DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
23 DIST certbot-1.17.0.tar.gz 1386471 BLAKE2B 26cf23c481cc67e1fa0f698dee83dd42b1d382814f10bdb4d2a459f1274f3d661d2a58815c30110701d46362c3fbaee9f57089a7eda1221c9b9dadb2c48dc79d SHA512 104deb8e6e804a3a3f50c730f00307aa39d9d42756f24be009fedc27c889c1575b456455ee11441e341025db6f528359e927a347554ebd57b64c39e789576eda
24 +DIST certbot-1.18.0.tar.gz 1332615 BLAKE2B eb086710b943893025d6e1091470ca02de074232372f4c9fa21fa83a347fe54df988b9553c8cf6afd6e166b8c464d595171984c984008a872e16c0179bb774b2 SHA512 94b16ba0586e0f5d3036280c68f9976c25889ca48fbbe7aded41f0d9feba2300a3f0ff8fe321b39d8642bcdd874c7332cf2acb3187b5869fe415831f58a75a7b
25
26 diff --git a/app-crypt/acme/acme-1.18.0.ebuild b/app-crypt/acme/acme-1.18.0.ebuild
27 new file mode 100644
28 index 00000000000..2addb06332f
29 --- /dev/null
30 +++ b/app-crypt/acme/acme-1.18.0.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=(python{3_7,3_8,3_9})
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
38 +
39 +if [[ ${PV} == 9999* ]]; then
40 + EGIT_REPO_URI="https://github.com/certbot/certbot.git"
41 + inherit git-r3
42 + S=${WORKDIR}/${P}/${PN}
43 +else
44 + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
45 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
46 + S=${WORKDIR}/certbot-${PV}/acme
47 +fi
48 +
49 +inherit distutils-r1
50 +
51 +DESCRIPTION="An implementation of the ACME protocol"
52 +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
53 +
54 +LICENSE="Apache-2.0"
55 +SLOT="0"
56 +IUSE="doc test"
57 +RESTRICT="!test? ( test )"
58 +
59 +RDEPEND="
60 + dev-python/chardet[${PYTHON_USEDEP}]
61 + >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
62 + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
63 + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
64 + >=dev-python/pyopenssl-17.3.0[${PYTHON_USEDEP}]
65 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
66 + dev-python/pytz[${PYTHON_USEDEP}]
67 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
68 + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
69 +"
70 +DEPEND="
71 + doc? (
72 + dev-python/sphinx[${PYTHON_USEDEP}]
73 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
74 + )
75 + test? (
76 + ${RDEPEND}
77 + dev-python/nose[${PYTHON_USEDEP}]
78 + dev-python/pytest[${PYTHON_USEDEP}]
79 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
80 + )
81 +"
82 +
83 +src_compile() {
84 + python_foreach_impl run_in_build_dir default
85 + distutils-r1_src_compile
86 + if use doc ; then
87 + cd docs || die
88 + sphinx-build -b html -d _build/doctrees . _build/html
89 + fi
90 +}
91 +
92 +python_test() {
93 + nosetests -w ${PN} || die
94 +}
95 +
96 +python_install_all() {
97 + use doc && local HTML_DOCS=( docs/_build/html/. )
98 +
99 + distutils-r1_python_install_all
100 +}