Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzor/
Date: Fri, 29 Jun 2018 12:11:37
Message-Id: 1530274150.d77406d8be24779b98b1eed7f1aab9e8e0585c91.mjo@gentoo
1 commit: d77406d8be24779b98b1eed7f1aab9e8e0585c91
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 29 12:09:10 2018 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 29 12:09:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77406d8
7
8 dev-python/pyzor: remove old pyzor-1.0.0.ebuild.
9
10 Closes: https://bugs.gentoo.org/643692
11 Package-Manager: Portage-2.3.40, Repoman-2.3.9
12
13 dev-python/pyzor/pyzor-1.0.0.ebuild | 66 -------------------------------------
14 1 file changed, 66 deletions(-)
15
16 diff --git a/dev-python/pyzor/pyzor-1.0.0.ebuild b/dev-python/pyzor/pyzor-1.0.0.ebuild
17 deleted file mode 100644
18 index 8a797993934..00000000000
19 --- a/dev-python/pyzor/pyzor-1.0.0.ebuild
20 +++ /dev/null
21 @@ -1,66 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
27 -PYHON_REQ_USE="gdbm"
28 -
29 -inherit distutils-r1
30 -
31 -MY_PV="1-0-0"
32 -DESCRIPTION="A distributed, collaborative spam detection and filtering network"
33 -HOMEPAGE="https://github.com/SpamExperts/pyzor/"
34 -SRC_URI="https://github.com/SpamExperts/${PN}/archive/release-${MY_PV}.tar.gz -> ${P}.tar.gz"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
39 -
40 -IUSE="doc gevent mysql pyzord redis test"
41 -
42 -RDEPEND="mysql? ( $(python_gen_cond_dep '>=dev-python/mysql-python-1.2.5[${PYTHON_USEDEP}]' python2_7) )
43 - redis? ( ~dev-python/redis-py-2.9.1[${PYTHON_USEDEP}] )
44 - gevent? ( $(python_gen_cond_dep '~dev-python/gevent-1.0.1[${PYTHON_USEDEP}]' python2_7) )"
45 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
46 -
47 -# https://sourceforge.net/apps/trac/pyzor/attachment/ticket/196/
48 -DISTUTILS_IN_SOURCE_BUILD=1
49 -
50 -REQUIRED_USE="test? ( mysql redis )"
51 -S="${WORKDIR}/${PN}-release-${MY_PV}"
52 -
53 -python_test() {
54 - # The suite is py2 friendly only
55 - if ! python_is_python3; then
56 - PYTHONPATH=. "${PYTHON}" ./tests/unit/__init__.py
57 - fi
58 -}
59 -
60 -python_compile_all() {
61 - use doc && emake -C docs html
62 -}
63 -
64 -python_install_all() {
65 - use doc && HTML_DOCS=( docs/.build/html/. )
66 - distutils-r1_python_install_all
67 -}
68 -
69 -src_install () {
70 - distutils-r1_src_install
71 -
72 - if use pyzord; then
73 - dodir /usr/sbin
74 - mv "${D}"usr/bin/pyzord* "${ED}usr/sbin"
75 - else
76 - rm "${D}"usr/bin/pyzord*
77 - fi
78 -}
79 -
80 -pkg_postinst() {
81 - if use pyzord; then
82 - ewarn "/usr/bin/pyzord has been moved to /usr/sbin"
83 - fi
84 -
85 - einfo "If you want to run the pyzor server you will need to emerge / re-emerge"
86 - einfo "with use flag mysql and or redis. Without either flag provides only the pyzor client"
87 -}