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, 10 Sep 2020 04:34:18
Message-Id: 1599712445.d69eaf34f3ac35197e3d5b96aad83fa4c7eb9f64.prometheanfire@gentoo
1 commit: d69eaf34f3ac35197e3d5b96aad83fa4c7eb9f64
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 10 04:30:43 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 10 04:34:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69eaf34
7
8 app-crypt/acme: 1.8.0 bump
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-crypt/acme/Manifest | 1 +
14 app-crypt/acme/acme-1.8.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 052b267e889..840e9863bf6 100644
19 --- a/app-crypt/acme/Manifest
20 +++ b/app-crypt/acme/Manifest
21 @@ -1 +1,2 @@
22 DIST certbot-1.7.0.tar.gz 1416764 BLAKE2B de678a222e8c8e3e7834470f87763763671bfae37a5c8320a4c1a2552ec979b5391094713e7e13526f73fdf8cd32f70f8c4350f422505892c4fdd0ae77742c80 SHA512 f81242e68b7e261bbb6294ffe92e47bc1687128344816d71a495a94a2646e209e46c147bc76eedce0c477cc140dc6ae0fba76d2d5d01b828fce78875f5a2886a
23 +DIST certbot-1.8.0.tar.gz 1425620 BLAKE2B 9cc0443fd067bf594f02a79c99defa250e656dbee00cd2717a4a747abfe80511ffcb800b6ac63e484a918192dad9465dc45335f358267fa998af16e966b8e2a6 SHA512 c6559fe1e5db6269942bda3738c00b1b550ec448288eaf911ba9c3967c7e949b34bdd8b77742398f0a512ce07929fa2f227c1202e40900151762f1db6ff9de56
24
25 diff --git a/app-crypt/acme/acme-1.8.0.ebuild b/app-crypt/acme/acme-1.8.0.ebuild
26 new file mode 100644
27 index 00000000000..a3d394a31a6
28 --- /dev/null
29 +++ b/app-crypt/acme/acme-1.8.0.ebuild
30 @@ -0,0 +1,69 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=(python{3_6,3_7,3_8})
36 +
37 +if [[ ${PV} == 9999* ]]; then
38 + EGIT_REPO_URI="https://github.com/certbot/certbot.git"
39 + inherit git-r3
40 + S=${WORKDIR}/${P}/${PN}
41 +else
42 + SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
43 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
44 + S=${WORKDIR}/certbot-${PV}/acme
45 +fi
46 +
47 +inherit distutils-r1
48 +
49 +DESCRIPTION="An implementation of the ACME protocol"
50 +HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
51 +
52 +LICENSE="Apache-2.0"
53 +SLOT="0"
54 +IUSE="doc test"
55 +RESTRICT="!test? ( test )"
56 +
57 +RDEPEND="
58 + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
59 + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
60 + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
61 + >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}]
62 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
63 + dev-python/pytz[${PYTHON_USEDEP}]
64 + >=dev-python/requests-2.10[${PYTHON_USEDEP}]
65 + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
66 + >=dev-python/six-1.9.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 + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
80 +"
81 +
82 +src_compile() {
83 + python_foreach_impl run_in_build_dir default
84 + distutils-r1_src_compile
85 + if use doc ; then
86 + cd docs || die
87 + sphinx-build -b html -d _build/doctrees . _build/html
88 + fi
89 +}
90 +
91 +python_test() {
92 + nosetests -w ${PN} || die
93 +}
94 +
95 +python_install_all() {
96 + use doc && local HTML_DOCS=( docs/_build/html/. )
97 +
98 + distutils-r1_python_install_all
99 +}