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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54C7E158090 for ; Fri, 20 May 2022 01:17:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82DBAE0932; Fri, 20 May 2022 01:17:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CF89E0932 for ; Fri, 20 May 2022 01:17:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8665C341541 for ; Fri, 20 May 2022 01:17:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 490A43B5 for ; Fri, 20 May 2022 01:17:19 +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: <1653009378.41ecfdd7554a37a4095d61d264ac8eebb03b77f4.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-2022.1.ebuild X-VCS-Directories: net-mail/automx2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 41ecfdd7554a37a4095d61d264ac8eebb03b77f4 X-VCS-Branch: master Date: Fri, 20 May 2022 01:17:19 +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: cc0fc649-d3f0-42d7-a48f-493b9c082427 X-Archives-Hash: 27017b0254435eda2e987669e5e0d160 commit: 41ecfdd7554a37a4095d61d264ac8eebb03b77f4 Author: Ralph Seichter seichter de> AuthorDate: Thu May 19 23:50:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 20 01:16:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ecfdd7 net-mail/automx2: Bump to version 2022.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Ralph Seichter seichter.de> Closes: https://github.com/gentoo/gentoo/pull/25565 Signed-off-by: Sam James gentoo.org> net-mail/automx2/Manifest | 1 + net-mail/automx2/automx2-2022.1.ebuild | 45 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/net-mail/automx2/Manifest b/net-mail/automx2/Manifest index 0373ecf3b803..d563c5e078e0 100644 --- a/net-mail/automx2/Manifest +++ b/net-mail/automx2/Manifest @@ -1,2 +1,3 @@ DIST automx2-2021.6.tar.gz 175423 BLAKE2B 26c83f0932b7a6b13b2c0f476a90bf1a3f134ab33e07b16a13034495c51b5d6ee744d7735352c7833c4a5a5c441dba003b68d4b2de95cb4e75aa7d0b726917d6 SHA512 0a2bc51f1ba70bf4e27f234e6a25f97eae5e4a841b93ade7baa2a87ffa485185220bd70779018d5e438ab04f4f6e9b9605be780efd1b803dd7133520fd4ef360 DIST automx2-2022.0.tar.gz 183324 BLAKE2B 1fda53019cc20979806157db3b740d5bd0c41d545745471188ca6d200dee490c84abb1e353694f5fe45e75983ca8449258ad7fd75e085d10523fd8b0e6310e87 SHA512 2fde481c3b5459a8a0441edf0f8a664615734859a299924207edd35a2e254e2900d88c41e6ec6e7379effbe9c4b7ab7db39ffa81bfc8691a3de5643bbd20d4be +DIST automx2-2022.1.tar.gz 182519 BLAKE2B baf2ecc801f6f024eb6a6fe2610d6cb7c3dd0726cfa877fdea76d94ebf16b9393addc5be8844f3017fd664b73adc74f2cd898736bbcad1fa0b2b3c1022cb638a SHA512 3d6fb9cf01cff641c78851560d72e3d80f9011cca4cd438cd49e999feef3f290bbd9495655f41319eb5456beac09bb8862dc327b521254266e0d53aa17b0bbd3 diff --git a/net-mail/automx2/automx2-2022.1.ebuild b/net-mail/automx2/automx2-2022.1.ebuild new file mode 100644 index 000000000000..8242a1ded8da --- /dev/null +++ b/net-mail/automx2/automx2-2022.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Email client autoconfiguration service" +HOMEPAGE="https://automx.org/" +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}] +" + +distutils_enable_tests unittest + +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 "Tests failed with ${EPYTHON}" +} + +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 +}