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