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, 07 Jan 2021 07:09:37
Message-Id: 1610003364.1f7ce7f0e6edb23abdae8e6490358431f82f7459.prometheanfire@gentoo
1 commit: 1f7ce7f0e6edb23abdae8e6490358431f82f7459
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 07:02:47 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 07:09:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7ce7f0
7
8 app-crypt/acme: 1.11.0 bump
9
10 Package-Manager: Portage-3.0.12, 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.11.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 653ac5b25cb..a11dafe83f7 100644
19 --- a/app-crypt/acme/Manifest
20 +++ b/app-crypt/acme/Manifest
21 @@ -1,2 +1,3 @@
22 DIST certbot-1.10.1.tar.gz 1416402 BLAKE2B e00ba6bf69dbf4bc91be325d4c9ba470214aeef18b4ad4ac5efbf7d077ffa9498e9cff2eff00045bc1024930f95ec56e1773c3a193a982b393caf7ee19f8ccc0 SHA512 332e92dd7d91b9774e55ef8d2c0217a57167a26d1e86d36196fc601b4abb23f40033f94112c4b4bff5f8bc54e1e32ecd68b1f01e7d67bc4fd8f7dd98ce0362cc
23 +DIST certbot-1.11.0.tar.gz 1419116 BLAKE2B 4749dcd897822d4e1981ef57334a493e7b729205f3ae808893ed4cab682b74c8779893378fa5cd2651b4ef681518c5aac751514104b64adfd7a17435946c46b7 SHA512 b744e44e8a7981d7b28064a2b7b5d1f47ac1ea465fa350b4f849004f38e6b3966e3118e5ebd8c1c83b9a4a065c31005c0e2cb33f75a0b04125fbe2ac17312a24
24 DIST certbot-1.9.0.tar.gz 1425703 BLAKE2B 9bf78824649870b3e1fc3175aae551cbfaa675a8930a89f35ba2330647d86798e4fc43011c617be2d278ab20c43dd05b02e8e61956dd7f9d10d444181874346e SHA512 098d8c077f5760c1f40f7d673820488ad7643c8b9c12561a58921cd95f60ae76515cefc19f822747f3385a68eba6f49fe5484b20142994ef67a26b0b16293ce8
25
26 diff --git a/app-crypt/acme/acme-1.11.0.ebuild b/app-crypt/acme/acme-1.11.0.ebuild
27 new file mode 100644
28 index 00000000000..39bf50ccd8a
29 --- /dev/null
30 +++ b/app-crypt/acme/acme-1.11.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_6,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/cryptography-1.3.4[${PYTHON_USEDEP}]
61 + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
62 + >=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
63 + >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}]
64 + dev-python/pyrfc3339[${PYTHON_USEDEP}]
65 + dev-python/pytz[${PYTHON_USEDEP}]
66 + >=dev-python/requests-2.10[${PYTHON_USEDEP}]
67 + >=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
68 + >=dev-python/six-1.9.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 +}