Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/automx2/
Date: Tue, 29 Dec 2020 21:15:50
Message-Id: 1609276166.b51bfc358e51ef4ddb46da498a2f0691873926ea.sam@gentoo
1 commit: b51bfc358e51ef4ddb46da498a2f0691873926ea
2 Author: Ralph Seichter <github <AT> seichter <DOT> de>
3 AuthorDate: Fri Dec 18 18:30:21 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 21:09:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b51bfc35
7
8 net-mail/automx2: Bump to version 2020.2
9
10 Feature release 2020.2 introduces support for POP3 servers.
11
12 Package-Manager: Portage-3.0.9, Repoman-3.0.2
13 Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de>
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-mail/automx2/Manifest | 1 +
17 net-mail/automx2/automx2-2020.2.ebuild | 44 ++++++++++++++++++++++++++++++++++
18 2 files changed, 45 insertions(+)
19
20 diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest
21 index a8ac298f32c..39ebb80d49d 100644
22 --- a/net-mail/automx2/Manifest
23 +++ b/net-mail/automx2/Manifest
24 @@ -1,2 +1,3 @@
25 DIST automx2-2019.0.tar.bz2 46670 BLAKE2B 6f62b4429be8046fce18ccba6827879a99627d8fbe9cf7973d8059e87b4968a280b62d5d005aaed3b0e1074053f4a6355c34f2cdce2f06a9afb14c52b4504fb7 SHA512 e494a48ffd3e6d133a89db5afd1dc75116a8efcc41f0571a24271bcbe6074c86d62184ce00bae9ced888a70be7d20f2a3614f28007d4481537d42c680dca4daa
26 DIST automx2-2020.1.tar.bz2 49405 BLAKE2B 2c9b26300e32e613f622e0b3a39b7f408d22e22638d61da3c93f5d448fe3ebb325e9a0004e3351abed2c9e427373c42637e3539831c04cda8e65a4d1bba1773e SHA512 823e569eacedcf49d53f8ed623a75455e715e3d49186179927a0e10d3efe9823c336912789bbf3d7d2f9aba3053b601352c99bda4ffcc9a7b78e412c938cd91f
27 +DIST automx2-2020.2.tar.bz2 50740 BLAKE2B 394d26a06d23efe18a3c147f89660a9dbdde7edba078fd361f188738fdc28d36122aa8182e965bb8e3d69d4cbcd3cb784bc7722dd382d1fbee36213459b91fa1 SHA512 dce790c754fd089a15d0baf023a9cb2e04ebb42a4558fc91b06c2de2105f3e00f3675a555739ff1bc35166c98f6cecec62c95f18f4144e88ac6024eaa6f39abe
28
29 diff --git a/net-mail/automx2/automx2-2020.2.ebuild b/net-mail/automx2/automx2-2020.2.ebuild
30 new file mode 100644
31 index 00000000000..27bbeeef2a1
32 --- /dev/null
33 +++ b/net-mail/automx2/automx2-2020.2.ebuild
34 @@ -0,0 +1,44 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +PYTHON_COMPAT=( python3_{7,8} )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Email client autoconfiguration service"
45 +HOMEPAGE="https://automx.org/"
46 +SRC_URI="https://gitlab.com/automx/automx2/-/archive/${PV}/${P}.tar.bz2"
47 +
48 +LICENSE="GPL-3+"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +IUSE="doc"
52 +
53 +BDEPEND="acct-user/automx2
54 + dev-python/flask-migrate[${PYTHON_USEDEP}]
55 + dev-python/ldap3[${PYTHON_USEDEP}]"
56 +RDEPEND="${BDEPEND}"
57 +
58 +python_prepare_all() {
59 + sed -i -e "/('scripts'/d" setup.py || die
60 + distutils-r1_python_prepare_all
61 +}
62 +
63 +python_test() {
64 + export AUTOMX2_CONF="tests/unittest.conf"
65 + ${EPYTHON} -m unittest discover tests/ || die
66 +}
67 +
68 +python_install_all() {
69 + if use doc; then
70 + DOCS="*.adoc doc/*.adoc contrib/*sample.conf"
71 + HTML_DOCS="doc/*.html doc/*.svg"
72 + fi
73 + sed -e "s/@EPYTHON@/${EPYTHON}/" "${FILESDIR}/init" | newinitd - "${PN}"
74 + newconfd "${FILESDIR}/confd" "${PN}"
75 + insinto /etc
76 + newins "${FILESDIR}/conf" "${PN}.conf"
77 + distutils-r1_python_install_all
78 +}