diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-01-06 10:16:10 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-06 14:38:50 +0100 |
commit | 1fa63a9d83ebb5aa87ea4413233ef0b6bc12b39d (patch) | |
tree | 028151ea708d64c55021c9714937685f08ab05ae /dev-python/pyzor | |
parent | dev-python/pyzmq: Clean old up (diff) | |
download | gentoo-1fa63a9d83ebb5aa87ea4413233ef0b6bc12b39d.tar.gz gentoo-1fa63a9d83ebb5aa87ea4413233ef0b6bc12b39d.tar.bz2 gentoo-1fa63a9d83ebb5aa87ea4413233ef0b6bc12b39d.zip |
dev-python/pyzor: Clean old up
Diffstat (limited to 'dev-python/pyzor')
-rw-r--r-- | dev-python/pyzor/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyzor/pyzor-0.7.0.ebuild | 56 |
2 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/pyzor/Manifest b/dev-python/pyzor/Manifest index 14693621716f..4cfe0abd497e 100644 --- a/dev-python/pyzor/Manifest +++ b/dev-python/pyzor/Manifest @@ -1,2 +1 @@ -DIST pyzor-0.7.0.tar.bz2 78555 BLAKE2B 1083a459c17e220932da95b1eb9509aa6463a6335457ee7db0adeb7756f4fd31ed6e58c7e2828df7997fb48994a5dcda2d0354b59ae5714e7c90d2d2b18808b6 SHA512 40026fc0276b4cf60fe7dfe30e2d4d4d1f220cf860b8aaef9d983e632a7d87bc8deb3430ded7520a69269ef56550117735a6e3c8d046d4cad7066f8597ead3cd DIST pyzor-1.0.0.tar.gz 126276 BLAKE2B c60f26c53bf118c88dacbc49ddd414473748af1868b383a9c937ecf3cfe426ecdd60f64388fe7e555bd4641ef445769600e40879279dd544ef9ea32bd0dab6b9 SHA512 b3fb8b2c5261e187a2ab3a5a3b12d221df7de08766c6bb2ad9990c0f23517534871ecc9d5ad529e79b0d0aef8b2b800728320c57435a8c0d8c3f80a4ba0f7e4a diff --git a/dev-python/pyzor/pyzor-0.7.0.ebuild b/dev-python/pyzor/pyzor-0.7.0.ebuild deleted file mode 100644 index e1057b928862..000000000000 --- a/dev-python/pyzor/pyzor-0.7.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} ) -PYHON_REQ_USE="gdbm" - -inherit distutils-r1 - -DESCRIPTION="A distributed, collaborative spam detection and filtering network" -HOMEPAGE="http://pyzor.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux" - -IUSE="mysql pyzord redis test" - -RDEPEND="mysql? ( $(python_gen_cond_dep '>=dev-python/mysql-python-1.2.5[${PYTHON_USEDEP}]' python2_7) ) - redis? ( ~dev-python/redis-py-2.9.1[${PYTHON_USEDEP}] )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -# https://sourceforge.net/apps/trac/pyzor/attachment/ticket/196/ -DISTUTILS_IN_SOURCE_BUILD=1 - -REQUIRED_USE="test? ( mysql redis )" - -python_test() { - # https://sourceforge.net/apps/trac/pyzor/ticket/196 - # In this ticket it clearly states the suite is written for py2 - # While it's feasible to make it into a py3 ready state, nah - if ! python_is_python3; then - PYTHONPATH=. "${PYTHON}" ./tests/unit/__init__.py - fi -} - -src_install () { - distutils-r1_src_install - - if use pyzord; then - dodir /usr/sbin - mv "${ED}"usr/bin/pyzord* "${ED}usr/sbin" - else - rm "${ED}"usr/bin/pyzord* - fi -} - -pkg_postinst() { - if use pyzord; then - ewarn "/usr/bin/pyzord has been moved to /usr/sbin" - fi - - einfo "If you want to run the pyzor server you will need to emerge / re-emerge" - einfo "with use flag mysql and or redis. Without either flag provides only the pyzor client" -} |