Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/automx2/
Date: Sun, 06 Jun 2021 16:20:22
Message-Id: 1622996387.26d9b43260f7f74783c30e1a552de41893b5731c.juippis@gentoo
1 commit: 26d9b43260f7f74783c30e1a552de41893b5731c
2 Author: Ralph Seichter <github <AT> seichter <DOT> de>
3 AuthorDate: Tue Apr 20 19:45:21 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 6 16:19:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d9b432
7
8 net-mail/automx2: Bump to version 2021.4
9
10 Upstream bugfix release.
11
12 Package-Manager: Portage-3.0.17, Repoman-3.0.2
13 Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de>
14 Closes: https://github.com/gentoo/gentoo/pull/20477
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 net-mail/automx2/Manifest | 1 +
18 net-mail/automx2/automx2-2021.4.ebuild | 49 ++++++++++++++++++++++++++++++++++
19 2 files changed, 50 insertions(+)
20
21 diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest
22 index 26d3221f2ce..2d161d945fc 100644
23 --- a/net-mail/automx2/Manifest
24 +++ b/net-mail/automx2/Manifest
25 @@ -1,2 +1,3 @@
26 DIST automx2-2021.2.tar.gz 155311 BLAKE2B 6ace715e24a27a8e98f09920150bd5d6fef7567fa7c3884825140ea8eebebb1392dcfbfab2b5a464f7967adcf421af5997023a7d33f41036608948b59e58155f SHA512 89113d3a37ee66ae44f98d64480419e6c6b10662560a5319ca0f5522d6195a68f586ec94793c2212d859693a50455a8b43292dd859b912404b5abb2ddfc939b6
27 DIST automx2-2021.3.1.tar.gz 169574 BLAKE2B cc9fcb1f2009e4c7ee9d827b89dbc7e0e95002b2ee7e6e30f1e27edcef439198db8e1ea3435a124dae3f6af19e12bb9f535af57e02fd56dd12185077db50bba8 SHA512 842cc824a8c10ac86f1d8c1f12984035f58c5c935ab7e0e306ed639100f850b47b65f911328f2d391f20dd2e7fad7c0eb6c533b2f2e1776261cffc934e8ae10a
28 +DIST automx2-2021.4.tar.gz 170903 BLAKE2B 9c8e9bc95eeac9a8a59430248d532d540e70a40c4d61f006d5d2649198e856e4b404ed75df745cfb06887c58049a9a233a597059e2f2971bf9f1c8ce65a34f3d SHA512 f306bfdca10dc884bef404e5ff24181dc9adfb8514fd0e0d984bac84ca4996f0978eda7161be46f1b3d93a9c0e61aaabdfb4b2886012570a51ad0aaf2286dd2c
29
30 diff --git a/net-mail/automx2/automx2-2021.4.ebuild b/net-mail/automx2/automx2-2021.4.ebuild
31 new file mode 100644
32 index 00000000000..66b5081f4c4
33 --- /dev/null
34 +++ b/net-mail/automx2/automx2-2021.4.ebuild
35 @@ -0,0 +1,49 @@
36 +# Copyright 1999-2021 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} )
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 +IUSE="doc"
53 +
54 +BDEPEND="acct-user/automx2"
55 +RDEPEND="
56 + dev-python/flask[${PYTHON_USEDEP}]
57 + dev-python/flask-migrate[${PYTHON_USEDEP}]
58 + dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
59 + dev-python/ldap3[${PYTHON_USEDEP}]
60 +"
61 +
62 +distutils_enable_tests unittest
63 +
64 +python_prepare_all() {
65 + sed -i -e "/('scripts'/d" setup.py || die
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_test() {
70 + export AUTOMX2_CONF="tests/unittest.conf"
71 + ${EPYTHON} -m unittest discover tests/ || die "Tests failed with ${EPYTHON}"
72 +}
73 +
74 +python_install_all() {
75 + if use doc; then
76 + DOCS="*.adoc doc/*.adoc contrib/*sample.conf"
77 + HTML_DOCS="doc/*.html doc/*.svg"
78 + fi
79 + sed -e "s/@EPYTHON@/${EPYTHON}/" "${FILESDIR}/init" | newinitd - "${PN}"
80 + newconfd "${FILESDIR}/confd" "${PN}"
81 + insinto /etc
82 + newins "${FILESDIR}/conf" "${PN}.conf"
83 + distutils-r1_python_install_all
84 +}