summaryrefslogtreecommitdiff
path: root/net-mail/automx2
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/automx2')
-rw-r--r--net-mail/automx2/Manifest7
-rw-r--r--net-mail/automx2/automx2-2022.1-r1.ebuild (renamed from net-mail/automx2/automx2-2022.1.ebuild)6
-rw-r--r--net-mail/automx2/automx2-2024.2.ebuild45
-rw-r--r--net-mail/automx2/files/automx2-2024.2-setupcfg.patch13
-rw-r--r--net-mail/automx2/metadata.xml2
5 files changed, 67 insertions, 6 deletions
diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest
index f86fed299346..0a828232c00f 100644
--- a/net-mail/automx2/Manifest
+++ b/net-mail/automx2/Manifest
@@ -1,6 +1,9 @@
+AUX automx2-2024.2-setupcfg.patch 305 BLAKE2B f0dbe1ca3159f28ea457941a6a6bf3c47b5f38995ef2ef5b0202bdba6bc7963492f593738a13945b1b092895fc3d14e7c18685c71736b987819f11be54a0a103 SHA512 e4ff1236817cf489b28df757e56c0dca9debf770c9c7cafdea9af99bf9ad80db0c02483e108c06472ce890d4ed657ea61625e889b7f91f29d2285a555775c299
AUX conf 721 BLAKE2B 976a2936da5e9eef71d9d08f7f12c51151549c23c27918de28da355e87e4927f84cc63904ab0feb0d10a11326ce6e44cc11531d65f6abe3d1ce213ea2e632e24 SHA512 f931acb2e5060872219709b525d64cae630062eb842e55614d57324ff5e801b4b9a99faf47c706ffe67822b29a7fb680ed59db550470afa9ded80621d4bbe3b8
AUX confd 213 BLAKE2B 2573f19bdc9022357f2f92ff17d84a1e77078c6c05a46a09b6e57ab7132d1f1078fb5003640f83213f746f94e3ab5b482b01d92feb94684665eb4e796a642841 SHA512 6c04de3ef26fd132269532c7bdca3263e95cebf5078ddd57e8ebff62229fabfb64b8ad4d988dfe99c9611c5d1081b4d3862f09d11c08aa1aabc1d5bc7c987439
AUX init-r1 608 BLAKE2B 7d2b93482c62fe0219c7194279ee495274e4b0b8319ccf2d24e7816abe7eb23452bc21c01305283deeb8224c3668641b1bd5a7f3fbf8fe783a28e58268511ace SHA512 4a1ed2c45e1414734b8e5cbb731377da2087bd4f1a1075b4acb81b5057a65c0557e9e1a05cdf6856da35067a589d9c56fcf13156e8872facfc8f161bb3cade0f
DIST automx2-2022.1.tar.gz 182519 BLAKE2B baf2ecc801f6f024eb6a6fe2610d6cb7c3dd0726cfa877fdea76d94ebf16b9393addc5be8844f3017fd664b73adc74f2cd898736bbcad1fa0b2b3c1022cb638a SHA512 3d6fb9cf01cff641c78851560d72e3d80f9011cca4cd438cd49e999feef3f290bbd9495655f41319eb5456beac09bb8862dc327b521254266e0d53aa17b0bbd3
-EBUILD automx2-2022.1.ebuild 1123 BLAKE2B 94b1f59b450dd22148a2e6f8cdf397583fb13bfb1ae10de2a7c7adf08c56cdcc74920167c6ddcccd5bfbfc1e470bb43e697a6c62f5530136b192e47cc48c36ba SHA512 6ed7e6e6c28afc3f58310b3a4e3aae99fe509deb74641cca09c6f4de7848879ec1016d7dfbbc8d250a75602a12a4ed764f13e6748dbc3554f5f39e9d3375b988
-MISC metadata.xml 690 BLAKE2B 93cac84cef0aafc4d7b5a12f420b65454c02071ee7ec3c1d15b6429fcc841bcccc94e6652da3a8f82ab7feeb3e875cdf3566de5561e10de6bdf09472aa61c80f SHA512 e332e3e64a8bb7898b79a972cbd8d8758933e33986e96df2619f65ce9e49022e8c756a1b248c21738ef7942df5154a1ce54b934021c10661a295749dfed129cd
+DIST automx2-2024.2.tar.gz 169710 BLAKE2B 1977e07291d27168424e536273af4069d0cbe4c44e2c37fc10b4d0a2fa53272c404aae6dbb8b0a33dd9926e9fc94aae7cd3c6e5669454dad802e6a6ad85bfaf6 SHA512 de518e7eb5184d5dcd7945ab860250c6338e3343a9c4bba26bcdd68b4cb1d22de9624c329ff63af1420746a17ea220ad6d4bbda627af64f7ddcc5ae73275e5dd
+EBUILD automx2-2022.1-r1.ebuild 1140 BLAKE2B ff219c5046337c4f5e2243fc12cf697d345f88a74ec15776645ac1b7dc0df144bf517afaa9c048cd09f3fcf0063823c80c8fc4d6cab23bb5bfafb0926813d966 SHA512 ba1f7eae07c8653586463c916e825a0a4b87698934b836d3b62c2c8e255047a27269cc4983f79a3c37b1841c64dfa634731b5d63415495117712ef170f0f4452
+EBUILD automx2-2024.2.ebuild 1087 BLAKE2B 7f0ca3770ed9860b897b02bdd4c3e6684588091e10f80a695e11f6fc348e054119147f14fa2520f9ac2b09dfbfd30dfb70e6ab068171bb58b92fae8a4d4fc4e4 SHA512 e983677bd7b524e4bd378966fe416df7faa9ebb5b856acdf93cb961f4b4dec0a0904fe380da72efb8c467919d8ca352b461b70db3f4ae28d516c92de407057d3
+MISC metadata.xml 662 BLAKE2B 0751c66d39b941b5fe181be51254b0d22192af56bdf016ac72e5b4f8ab0fe579424ee587d23e66d29a5f87726ac0e1fa47c9b0b71de5d9d1bed7b834b16d5bee SHA512 b50f93ec5909b8f12992b79bdf173199bf0aab37df9420111cc487ccd9e3aab92e78aa4742fbb90043648b95e1c29d3aece003fd39f20314ebc7d11c70b1dd0a
diff --git a/net-mail/automx2/automx2-2022.1.ebuild b/net-mail/automx2/automx2-2022.1-r1.ebuild
index 9d243e7fddd4..ead2c323a51f 100644
--- a/net-mail/automx2/automx2-2022.1.ebuild
+++ b/net-mail/automx2/automx2-2022.1-r1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{11,12} )
inherit distutils-r1
DESCRIPTION="Email client autoconfiguration service"
-HOMEPAGE="https://automx.org/"
+HOMEPAGE="https://rseichter.github.io/automx2/"
SRC_URI="https://github.com/rseichter/automx2/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
diff --git a/net-mail/automx2/automx2-2024.2.ebuild b/net-mail/automx2/automx2-2024.2.ebuild
new file mode 100644
index 000000000000..598ce69b2d1f
--- /dev/null
+++ b/net-mail/automx2/automx2-2024.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11,12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Email client autoconfiguration service"
+HOMEPAGE="https://rseichter.github.io/automx2/"
+SRC_URI="https://github.com/rseichter/automx2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="acct-user/automx2
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/flask-migrate[${PYTHON_USEDEP}]
+ dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/ldap3[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-setupcfg.patch"
+)
+
+distutils_enable_tests unittest
+
+python_test() {
+ local -x AUTOMX2_CONF="tests/unittest.conf"
+ eunittest tests/
+}
+
+python_install_all() {
+ local DOCS=( "${S}"/docs/*.adoc "${S}"/contrib/*sample.conf )
+ local HTML_DOCS=( "${S}"/docs/*.{html,svg} )
+ newconfd "${FILESDIR}/confd" "${PN}"
+ newinitd "${FILESDIR}/init-r1" "${PN}"
+ insinto /etc
+ newins "${FILESDIR}/conf" "${PN}.conf"
+ distutils-r1_python_install_all
+}
diff --git a/net-mail/automx2/files/automx2-2024.2-setupcfg.patch b/net-mail/automx2/files/automx2-2024.2-setupcfg.patch
new file mode 100644
index 000000000000..07a68305f44f
--- /dev/null
+++ b/net-mail/automx2/files/automx2-2024.2-setupcfg.patch
@@ -0,0 +1,13 @@
+diff --color -r -u a/setup.cfg b/setup.cfg
+--- a/setup.cfg 2024-02-21 05:58:03.000000000 +0100
++++ b/setup.cfg 2024-07-08 18:27:14.404495000 +0200
+@@ -51,6 +51,9 @@
+ packages = find:
+ python_requires = >=3.7
+
++[options.packages.find]
++exclude = test*
++
+ [options.package_data]
+ * =
+ contrib/flask.sh
diff --git a/net-mail/automx2/metadata.xml b/net-mail/automx2/metadata.xml
index 54630a522f9b..01690ef05208 100644
--- a/net-mail/automx2/metadata.xml
+++ b/net-mail/automx2/metadata.xml
@@ -10,7 +10,7 @@
(autoconfig) in one tool.
</longdescription>
<upstream>
- <doc>https://github.com/rseichter/automx2/blob/master/doc/automx2.pdf</doc>
+ <doc>https://rseichter.github.io/automx2/</doc>
<maintainer>
<email>automx2@seichter.de</email>
<name>Ralph Seichter</name>