Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acmebot/
Date: Sun, 16 Aug 2020 04:59:32
Message-Id: 1597553966.a16c3c3ba794eb16af95abb92005a84f971997e8.robbat2@gentoo
1 commit: a16c3c3ba794eb16af95abb92005a84f971997e8
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 04:59:12 2020 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 04:59:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16c3c3b
7
8 app-crypt/acmebot: bump
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 app-crypt/acmebot/Manifest | 1 +
13 app-crypt/acmebot/acmebot-2.7.0.ebuild | 60 ++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/app-crypt/acmebot/Manifest b/app-crypt/acmebot/Manifest
17 index 4b55640b4b6..c2f4e840601 100644
18 --- a/app-crypt/acmebot/Manifest
19 +++ b/app-crypt/acmebot/Manifest
20 @@ -1 +1,2 @@
21 DIST acmebot-2.3.0.tar.gz 64841 BLAKE2B 92bfb9a58722b9955fe908e2fcb1a3ee593bf87e3fdf3dc9564bcbe291b13c553ad426673c337a59344287da64c4ee5cffc734f8dfb60447f96d6234814f0167 SHA512 3951cc7138eb0b83bd802a2e0a221fa985209ba276028606d887b7d2eff84c35db034f4a3d8a6836b3ac149c6dbfa27b1ea47e864f549f8d88b758b40407c4f4
22 +DIST acmebot-2.7.0.tar.gz 76385 BLAKE2B 28b0fd81735e2dbff493dbcfe0194d62dea8d233866dcb235bb0efac562d2f3884f53226f979e8cd6050078f59b0b1e6d20d2eeea6d762363526686ef8c5ead1 SHA512 1b8fa21c2dc60a940e2fa13d5d599025088644862c985749d72f4f16ebd4ad48970b7fcf656fb34cf63d3c2ff2cbb157d7446c17a7f9da3cffd8611e499c400e
23
24 diff --git a/app-crypt/acmebot/acmebot-2.7.0.ebuild b/app-crypt/acmebot/acmebot-2.7.0.ebuild
25 new file mode 100644
26 index 00000000000..e6b7da902b1
27 --- /dev/null
28 +++ b/app-crypt/acmebot/acmebot-2.7.0.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +PYTHON_COMPAT=(python3_{7,8})
35 +EGIT_REPO_URI="https://github.com/plinss/${PN}.git"
36 +[[ $PV == 9999 ]] && _scm=git-r3
37 +
38 +inherit ${_scm} python-single-r1
39 +
40 +DESCRIPTION="Certificate manager bot using ACME protocol"
41 +HOMEPAGE="https://github.com/plinss/acmebot"
42 +if [[ $PV != 9999 ]]; then
43 + SRC_URI="https://github.com/plinss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +fi
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +[[ $PV != 9999 ]] && KEYWORDS="~amd64 ~x86"
49 +IUSE=""
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +DEPEND=""
53 +RDEPEND="${PYTHON_DEPS}
54 + $(python_gen_cond_dep '
55 + >=dev-python/appdirs-1.4.3[${PYTHON_MULTI_USEDEP}]
56 + >=dev-python/pyparsing-2.2.0[${PYTHON_MULTI_USEDEP}]
57 + >=dev-python/packaging-16.8[${PYTHON_MULTI_USEDEP}]
58 + >=dev-python/pyopenssl-17.5.0[${PYTHON_MULTI_USEDEP}]
59 + >=dev-python/pydns-3.1.0:3[${PYTHON_MULTI_USEDEP}]
60 + >=dev-python/cryptography-2.1.4[${PYTHON_MULTI_USEDEP}]
61 + >=dev-python/asn1crypto-0.24.0[${PYTHON_MULTI_USEDEP}]
62 + >=app-crypt/acme-0.25.1[${PYTHON_MULTI_USEDEP}]
63 + >=dev-python/pyyaml-3.1[${PYTHON_MULTI_USEDEP}]
64 + ')
65 + "
66 +
67 +pkg_setup() {
68 + python-single-r1_pkg_setup
69 +}
70 +src_prepare() {
71 + default
72 + python_fix_shebang .
73 +}
74 +
75 +src_configure() {
76 + :
77 +}
78 +src_compile() {
79 + :
80 +}
81 +
82 +src_install() {
83 + python_doscript acmebot
84 + insinto /etc/logrotate.d
85 + doins logrotate.d/acmebot
86 + insinto /etc/acmebot
87 + doins acmebot.example.json
88 + dodoc README.rst
89 +}