From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D59D13835A for ; Tue, 29 Dec 2020 21:15:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D40CE0CB2; Tue, 29 Dec 2020 21:15:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A0F8E0CB2 for ; Tue, 29 Dec 2020 21:15:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97B4D3417B1 for ; Tue, 29 Dec 2020 21:15:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F86F47F for ; Tue, 29 Dec 2020 21:15:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1609276166.b51bfc358e51ef4ddb46da498a2f0691873926ea.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/automx2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/automx2/Manifest net-mail/automx2/automx2-2020.2.ebuild X-VCS-Directories: net-mail/automx2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b51bfc358e51ef4ddb46da498a2f0691873926ea X-VCS-Branch: master Date: Tue, 29 Dec 2020 21:15:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e68a706-a4a1-4c1b-8904-2338ddcdedeb X-Archives-Hash: 55c75e8f722668834e382771e0b1fc38 commit: b51bfc358e51ef4ddb46da498a2f0691873926ea Author: Ralph Seichter seichter de> AuthorDate: Fri Dec 18 18:30:21 2020 +0000 Commit: Sam James gentoo org> CommitDate: Tue Dec 29 21:09:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b51bfc35 net-mail/automx2: Bump to version 2020.2 Feature release 2020.2 introduces support for POP3 servers. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Ralph Seichter seichter.de> Signed-off-by: Sam James gentoo.org> net-mail/automx2/Manifest | 1 + net-mail/automx2/automx2-2020.2.ebuild | 44 ++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest index a8ac298f32c..39ebb80d49d 100644 --- a/net-mail/automx2/Manifest +++ b/net-mail/automx2/Manifest @@ -1,2 +1,3 @@ DIST automx2-2019.0.tar.bz2 46670 BLAKE2B 6f62b4429be8046fce18ccba6827879a99627d8fbe9cf7973d8059e87b4968a280b62d5d005aaed3b0e1074053f4a6355c34f2cdce2f06a9afb14c52b4504fb7 SHA512 e494a48ffd3e6d133a89db5afd1dc75116a8efcc41f0571a24271bcbe6074c86d62184ce00bae9ced888a70be7d20f2a3614f28007d4481537d42c680dca4daa DIST automx2-2020.1.tar.bz2 49405 BLAKE2B 2c9b26300e32e613f622e0b3a39b7f408d22e22638d61da3c93f5d448fe3ebb325e9a0004e3351abed2c9e427373c42637e3539831c04cda8e65a4d1bba1773e SHA512 823e569eacedcf49d53f8ed623a75455e715e3d49186179927a0e10d3efe9823c336912789bbf3d7d2f9aba3053b601352c99bda4ffcc9a7b78e412c938cd91f +DIST automx2-2020.2.tar.bz2 50740 BLAKE2B 394d26a06d23efe18a3c147f89660a9dbdde7edba078fd361f188738fdc28d36122aa8182e965bb8e3d69d4cbcd3cb784bc7722dd382d1fbee36213459b91fa1 SHA512 dce790c754fd089a15d0baf023a9cb2e04ebb42a4558fc91b06c2de2105f3e00f3675a555739ff1bc35166c98f6cecec62c95f18f4144e88ac6024eaa6f39abe diff --git a/net-mail/automx2/automx2-2020.2.ebuild b/net-mail/automx2/automx2-2020.2.ebuild new file mode 100644 index 00000000000..27bbeeef2a1 --- /dev/null +++ b/net-mail/automx2/automx2-2020.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Email client autoconfiguration service" +HOMEPAGE="https://automx.org/" +SRC_URI="https://gitlab.com/automx/automx2/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +BDEPEND="acct-user/automx2 + dev-python/flask-migrate[${PYTHON_USEDEP}] + dev-python/ldap3[${PYTHON_USEDEP}]" +RDEPEND="${BDEPEND}" + +python_prepare_all() { + sed -i -e "/('scripts'/d" setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + export AUTOMX2_CONF="tests/unittest.conf" + ${EPYTHON} -m unittest discover tests/ || die +} + +python_install_all() { + if use doc; then + DOCS="*.adoc doc/*.adoc contrib/*sample.conf" + HTML_DOCS="doc/*.html doc/*.svg" + fi + sed -e "s/@EPYTHON@/${EPYTHON}/" "${FILESDIR}/init" | newinitd - "${PN}" + newconfd "${FILESDIR}/confd" "${PN}" + insinto /etc + newins "${FILESDIR}/conf" "${PN}.conf" + distutils-r1_python_install_all +}