diff options
Diffstat (limited to 'www-servers/automx2/automx2-2019.0.ebuild')
-rw-r--r-- | www-servers/automx2/automx2-2019.0.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/www-servers/automx2/automx2-2019.0.ebuild b/www-servers/automx2/automx2-2019.0.ebuild deleted file mode 100644 index bc55e2b7b7ec..000000000000 --- a/www-servers/automx2/automx2-2019.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_7 ) - -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 - $(python_gen_cond_dep \ - '>=dev-python/flask-migrate-2.5.2[${PYTHON_MULTI_USEDEP}]' python3_{7} - )" -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 -} |