From 29394d0921808a94a409f01eff49f681651de5d5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 17 Feb 2023 08:06:58 +0000 Subject: gentoo auto-resync : 17:02:2023 - 08:06:58 --- mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild | 61 -------------------------- 1 file changed, 61 deletions(-) delete mode 100644 mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild (limited to 'mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild') diff --git a/mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild b/mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild deleted file mode 100644 index 39b48f25723c..000000000000 --- a/mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_9 ) -inherit distutils-r1 - -COMMIT="f46159bd6519cebcebf59e9334a7920371111d75" - -DESCRIPTION="A distributed, collaborative spam detection and filtering network" -HOMEPAGE="https://github.com/SpamExperts/pyzor" -SRC_URI="https://github.com/SpamExperts/pyzor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" - -IUSE="doc gdbm mysql pyzord redis test" -RESTRICT="!test? ( test )" - -RDEPEND=" - pyzord? ( - gdbm? ( $(python_gen_impl_dep 'gdbm') ) - mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] ) - redis? ( dev-python/redis[${PYTHON_USEDEP}] ) - )" -DEPEND=" - test? ( - gdbm? ( $(python_gen_impl_dep 'gdbm') ) - redis? ( dev-python/redis[${PYTHON_USEDEP}] ) - ) -" -BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -# TODO: maybe upstream would support skipping tests for which the -# dependencies are missing? -REQUIRED_USE=" - pyzord? ( || ( gdbm redis ) ) - test? ( gdbm redis ) -" - -S="${WORKDIR}/${PN}-${COMMIT}" - -distutils_enable_sphinx "docs" - -python_test() { - pytest -vv tests/unit || die "Tests fail with ${EPYTHON}" -} - -src_install() { - distutils-r1_src_install - - if use pyzord; then - dodir /usr/sbin - mv "${ED}"/usr/bin/pyzord* "${ED}/usr/sbin" \ - || die "failed to relocate pyzord" - else - rm "${ED}"/usr/bin/pyzord* || die "failed to remove pyzord" - fi -} -- cgit v1.2.3