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: Mon, 12 Jul 2021 03:00:11
Message-Id: 1626058798.1b38310362e6669328ac74951e97d48dd2f7125d.prometheanfire@gentoo
1 commit: 1b38310362e6669328ac74951e97d48dd2f7125d
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 12 02:56:12 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 12 02:59:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b383103
7
8 app-crypt/acme: 1.17.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.17.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
18 index c931e0f70fe..75ec98d13ed 100644
19 --- a/app-crypt/acme/Manifest
20 +++ b/app-crypt/acme/Manifest
21 @@ -1 +1,2 @@
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
25 diff --git a/app-crypt/acme/acme-1.17.0.ebuild b/app-crypt/acme/acme-1.17.0.ebuild
26 new file mode 100644
27 index 00000000000..6e86a07321f
28 --- /dev/null
29 +++ b/app-crypt/acme/acme-1.17.0.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=(python{3_7,3_8,3_9})
36 +DISTUTILS_USE_SETUPTOOLS=rdepend
37 +
38 +if [[ ${PV} == 9999* ]]; then
39 + EGIT_REPO_URI="https://github.com/certbot/certbot.git"
40 + inherit git-r3
41 + S=${WORKDIR}/${P}/${PN}
42 +else
43 + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
44 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
45 + S=${WORKDIR}/certbot-${PV}/acme
46 +fi
47 +
48 +inherit distutils-r1
49 +
50 +DESCRIPTION="An implementation of the ACME protocol"
51 +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
52 +
53 +LICENSE="Apache-2.0"
54 +SLOT="0"
55 +IUSE="doc test"
56 +RESTRICT="!test? ( test )"
57 +
58 +RDEPEND="
59 + >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
60 + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
61 + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
62 + >=dev-python/pyopenssl-17.3.0[${PYTHON_USEDEP}]
63 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
64 + dev-python/pytz[${PYTHON_USEDEP}]
65 + >=dev-python/requests-2.10[${PYTHON_USEDEP}]
66 + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
67 +"
68 +DEPEND="
69 + doc? (
70 + dev-python/sphinx[${PYTHON_USEDEP}]
71 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
72 + )
73 + test? (
74 + ${RDEPEND}
75 + dev-python/nose[${PYTHON_USEDEP}]
76 + dev-python/pytest[${PYTHON_USEDEP}]
77 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
78 + )
79 +"
80 +
81 +src_compile() {
82 + python_foreach_impl run_in_build_dir default
83 + distutils-r1_src_compile
84 + if use doc ; then
85 + cd docs || die
86 + sphinx-build -b html -d _build/doctrees . _build/html
87 + fi
88 +}
89 +
90 +python_test() {
91 + nosetests -w ${PN} || die
92 +}
93 +
94 +python_install_all() {
95 + use doc && local HTML_DOCS=( docs/_build/html/. )
96 +
97 + distutils-r1_python_install_all
98 +}