1 |
commit: 223df172bc7f971baab2eeeb513f22a7ea3a7587 |
2 |
Author: Ralph Seichter <github <AT> seichter <DOT> de> |
3 |
AuthorDate: Fri Dec 17 04:29:24 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 24 04:46:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223df172 |
7 |
|
8 |
net-mail/automx2: Bump to version 2021.6 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/23351 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
net-mail/automx2/Manifest | 1 + |
16 |
net-mail/automx2/automx2-2021.6.ebuild | 46 ++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 47 insertions(+) |
18 |
|
19 |
diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest |
20 |
index 75113df8eefc..e24089dc52f4 100644 |
21 |
--- a/net-mail/automx2/Manifest |
22 |
+++ b/net-mail/automx2/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST automx2-2021.5.tar.gz 172317 BLAKE2B 501dea5561d780fed538676e41dac46da01bae24388f477afa66e1b27e8a271e48bd6bddc8f9a4e0f5e7b3eb9f58fca9a9b2adaf78de2f7cd2feacfc8f85c9a4 SHA512 00281f32df6b117690d9780b8a587907518e2485dc37450765c3f35acb92a27da73ecd4e35cd05e0a5307d179ba3edaa1dec80900a059c975589ae904456c565 |
25 |
+DIST automx2-2021.6.tar.gz 175423 BLAKE2B 26c83f0932b7a6b13b2c0f476a90bf1a3f134ab33e07b16a13034495c51b5d6ee744d7735352c7833c4a5a5c441dba003b68d4b2de95cb4e75aa7d0b726917d6 SHA512 0a2bc51f1ba70bf4e27f234e6a25f97eae5e4a841b93ade7baa2a87ffa485185220bd70779018d5e438ab04f4f6e9b9605be780efd1b803dd7133520fd4ef360 |
26 |
|
27 |
diff --git a/net-mail/automx2/automx2-2021.6.ebuild b/net-mail/automx2/automx2-2021.6.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..053aba45a4d9 |
30 |
--- /dev/null |
31 |
+++ b/net-mail/automx2/automx2-2021.6.ebuild |
32 |
@@ -0,0 +1,46 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Email client autoconfiguration service" |
43 |
+HOMEPAGE="https://automx.org/" |
44 |
+SRC_URI="https://github.com/rseichter/automx2/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-3+" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+ |
50 |
+BDEPEND="acct-user/automx2" |
51 |
+RDEPEND=" |
52 |
+ dev-python/flask[${PYTHON_USEDEP}] |
53 |
+ dev-python/flask-migrate[${PYTHON_USEDEP}] |
54 |
+ dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] |
55 |
+ dev-python/ldap3[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+ |
58 |
+distutils_enable_tests unittest |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ sed -i -e "/('scripts'/d" setup.py || die |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |
64 |
+ |
65 |
+python_test() { |
66 |
+ export AUTOMX2_CONF="tests/unittest.conf" |
67 |
+ ${EPYTHON} -m unittest discover tests/ || die "Tests failed with ${EPYTHON}" |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ local DOCS=( ${S}/docs/*.adoc ${S}/contrib/*sample.conf ) |
72 |
+ local HTML_DOCS=( ${S}/docs/*.{html,svg} ) |
73 |
+ newconfd "${FILESDIR}/confd" "${PN}" |
74 |
+ newinitd "${FILESDIR}/init-r1" "${PN}" |
75 |
+ insinto /etc |
76 |
+ newins "${FILESDIR}/conf" "${PN}.conf" |
77 |
+ distutils-r1_python_install_all |
78 |
+} |