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: Wed, 05 Aug 2020 17:23:58
Message-Id: 1596648227.d454cd9a20b3a1349b19121904a8326c1aa92c5d.prometheanfire@gentoo
1 commit: d454cd9a20b3a1349b19121904a8326c1aa92c5d
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 5 17:19:42 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 17:23:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d454cd9a
7
8 app-crypt/acme: 1.7.0 bump
9
10 Package-Manager: Portage-3.0.0, Repoman-2.3.23
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-crypt/acme/Manifest | 1 +
14 app-crypt/acme/acme-1.7.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 e5c6fa641b4..5e51399265c 100644
19 --- a/app-crypt/acme/Manifest
20 +++ b/app-crypt/acme/Manifest
21 @@ -1,2 +1,3 @@
22 DIST certbot-1.5.0.tar.gz 1387959 BLAKE2B ad395e3bd9f7012b39692be48c28bef8a0648e17e42b7b4ada8024c7eb231f418f68b6388c6c3154232d38f82ba348bf056ddf8cdf349f4a83ad148bbc20243b SHA512 ea4f9fb06ed54e2bbc30a8a0aea436e1f35772d348de483cae5e696ee1176c9663739201569102ded385074ef7aa5833c43e543c0dbc1e8f6729167350bca6a3
23 DIST certbot-1.6.0.tar.gz 3797817 BLAKE2B fe01c450e89f490c1b8d32401fe72d8eeedd2bf80ad29b59c9836eb44550b4753e0ec4da6f378aba12383fa7e2a38e5b7405634e695c8f9b150ab4899afc57d6 SHA512 490b9155e90f02aaf987840c7dd041c81913daa88df4a96528e3fe1c5342b64fcc19c02a76c0e94e705f7c68d0d63c25582fa474a270d2f98d454e036fcaa320
24 +DIST certbot-1.7.0.tar.gz 1416764 BLAKE2B de678a222e8c8e3e7834470f87763763671bfae37a5c8320a4c1a2552ec979b5391094713e7e13526f73fdf8cd32f70f8c4350f422505892c4fdd0ae77742c80 SHA512 f81242e68b7e261bbb6294ffe92e47bc1687128344816d71a495a94a2646e209e46c147bc76eedce0c477cc140dc6ae0fba76d2d5d01b828fce78875f5a2886a
25
26 diff --git a/app-crypt/acme/acme-1.7.0.ebuild b/app-crypt/acme/acme-1.7.0.ebuild
27 new file mode 100644
28 index 00000000000..a3d394a31a6
29 --- /dev/null
30 +++ b/app-crypt/acme/acme-1.7.0.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=(python{3_6,3_7,3_8})
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-1.3.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-0.15.1[${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 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
68 +"
69 +DEPEND="
70 + doc? (
71 + dev-python/sphinx[${PYTHON_USEDEP}]
72 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
73 + )
74 + test? (
75 + ${RDEPEND}
76 + dev-python/nose[${PYTHON_USEDEP}]
77 + dev-python/pytest[${PYTHON_USEDEP}]
78 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
79 + )
80 + >=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
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 +}