summaryrefslogtreecommitdiff
path: root/mail-filter/pyzor
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-17 08:06:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-17 08:06:58 +0000
commit29394d0921808a94a409f01eff49f681651de5d5 (patch)
tree93d18027cb4ea68a3c967602c5793af032180bab /mail-filter/pyzor
parent5987fa693ef880163ebde423615a177cb5bda20e (diff)
gentoo auto-resync : 17:02:2023 - 08:06:58
Diffstat (limited to 'mail-filter/pyzor')
-rw-r--r--mail-filter/pyzor/Manifest4
-rw-r--r--mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild61
-rw-r--r--mail-filter/pyzor/pyzor-1.0.0_p20211223.ebuild4
3 files changed, 3 insertions, 66 deletions
diff --git a/mail-filter/pyzor/Manifest b/mail-filter/pyzor/Manifest
index f4731a12d6ea..066560069aae 100644
--- a/mail-filter/pyzor/Manifest
+++ b/mail-filter/pyzor/Manifest
@@ -1,5 +1,3 @@
-DIST pyzor-1.0.0_p20200523.tar.gz 138077 BLAKE2B 13ad30f06ce32a24a42dd5aaa21ad2a6700df1bac3dc54a86532748688b094ee0f56a8e28e34336298388c6e0b95868e95d040866c9afa561d867069496608fe SHA512 afe3b14794aea68b1a7d72840257976c7c9f755a6f6dcaaf6ebacab465c176fe2aa84f3fe176006cdbe26ef0b07ed949f75f6ef729f65c604fadf6ce8472da8f
DIST pyzor-1.0.0_p20211223.tar.gz 138500 BLAKE2B 242a7b2df3451f659d820771454e685868792bd2275b6d69d4c4adfd6044c781abe2d72fe1500a6074851faf8e88e95d6578c546d4d95fda03e11609d1a0b436 SHA512 218bea40515a21b1e08b2bad5b7ba339ba84fff2da425dc58df72a967730ebe10e319944e1604ff56bb37f6a8ae7bc0cd974b54b18a4878ba103131b8ea47b67
-EBUILD pyzor-1.0.0_p20200523.ebuild 1496 BLAKE2B 40b47dfa4bac2cf38de7a262699e606c59fa5d93fc707b80023415ba925e61353aa5f47834ea528cf5df76e44e4bd0472e3afae40b2c05e364bd1b293cefb713 SHA512 4060eb04214c2b927daa7a639eb75f8d82b16d19aea719abda119b51c65580d7b5b322104f5d8a8c7ee26e68c51c8e90c92097d176f0af739f9610bed1a44669
-EBUILD pyzor-1.0.0_p20211223.ebuild 1482 BLAKE2B 33f2d1ab495d1fd27fb7f0db25082607696f9b7b29c1a4662e4b9f7a2b7155faf2e54d691ecbcc05d4a71245436509aaf18679aa3f5e0171b60a52ec745a41a0 SHA512 1af61f9ea9296106b070617313c7786d35586c2e53877976e96d18c4db122449612c1d1d8e0e95e449ce839b8c3c0c14760a4b5a42f471cf1e76564f83894f55
+EBUILD pyzor-1.0.0_p20211223.ebuild 1447 BLAKE2B 11f14ae7931abd994d03ddeac161a9456b8500b4d2920e0482696502f4b7ade7aca7bdd6153ea076ffc5251d913b66e92c3b5a729326e957ae0837d9cc68ac74 SHA512 aa777935002f39e5f56b37ae5860829d1d47cce250fc0af9e15d1ea85da09bdc5683f389ba98ea58dd1982e712ec1eae8470cf34b8c4a515313cf4d28e191657
MISC metadata.xml 842 BLAKE2B f7041329b4babc35d93e5d3ab00b0bd54f2f6b2337037c713b692a25f5b5ab4ac6f318d6537e41ef8f07f8b5191b7a6dbffd29d063bc2548975febded51688ff SHA512 87362e92959650b365e83115c4d1ec2b328e4c8ab6144e94fa4e82c0009317f91e0fd7f77e9c58b6ca3450ec92dd6bc8194fbf25c30177c0ccfeeb9a8a5216a4
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
-}
diff --git a/mail-filter/pyzor/pyzor-1.0.0_p20211223.ebuild b/mail-filter/pyzor/pyzor-1.0.0_p20211223.ebuild
index 2f9075743d61..a2e78f468788 100644
--- a/mail-filter/pyzor/pyzor-1.0.0_p20211223.ebuild
+++ b/mail-filter/pyzor/pyzor-1.0.0_p20211223.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
MY_COMMIT="2dbe627c1ec245db206cdc73bf1f9d785f1512d8"
@@ -42,7 +42,7 @@ REQUIRED_USE="
distutils_enable_sphinx docs
python_test() {
- pytest -vv tests/unit || die "Tests fail with ${EPYTHON}"
+ epytest -vv tests/unit
}
src_install() {