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, 03 Jun 2020 18:18:36
Message-Id: 1591208304.f5f3836754a97157549d0176b6b959b1ba8ee5fd.prometheanfire@gentoo
1 commit: f5f3836754a97157549d0176b6b959b1ba8ee5fd
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 3 18:14:25 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 3 18:18:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f38367
7
8 app-crypt/acme: 1.5.0 bump
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-crypt/acme/Manifest | 1 +
14 app-crypt/acme/acme-1.5.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 24824d6ddbe..e11b63d0e5e 100644
19 --- a/app-crypt/acme/Manifest
20 +++ b/app-crypt/acme/Manifest
21 @@ -1,2 +1,3 @@
22 DIST certbot-1.3.0.tar.gz 1362945 BLAKE2B bb36a7737275332f018d7f2283286e07e041892cc366f79e68df9eee7e57ca2186d36895d1923b032068a365878d09e49e17c1399a7418dbd8607c9a7efc1c26 SHA512 4205cdd1f3ddf500b9b952744db234636c086a856df80acd2d776305f4501eed07995e453e5c9b2c711fb0d1f1987d2bb8baaa13fccce8e000a38f486cfdc5d3
23 DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261
24 +DIST certbot-1.5.0.tar.gz 1387959 BLAKE2B ad395e3bd9f7012b39692be48c28bef8a0648e17e42b7b4ada8024c7eb231f418f68b6388c6c3154232d38f82ba348bf056ddf8cdf349f4a83ad148bbc20243b SHA512 ea4f9fb06ed54e2bbc30a8a0aea436e1f35772d348de483cae5e696ee1176c9663739201569102ded385074ef7aa5833c43e543c0dbc1e8f6729167350bca6a3
25
26 diff --git a/app-crypt/acme/acme-1.5.0.ebuild b/app-crypt/acme/acme-1.5.0.ebuild
27 new file mode 100644
28 index 00000000000..1d83c8b8d40
29 --- /dev/null
30 +++ b/app-crypt/acme/acme-1.5.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.13.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 +}