1 |
idella4 15/02/02 07:55:34 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: pyzor-1.0.0.ebuild |
5 |
Log: |
6 |
bump; update HOMEPAGE, change SRC_URI to acquire tarball @ new repo @ github, drop keywords to allow support by gevent, add IUSE gevent for backend support, IUSE doc for doc build and all that goes with it, minor tidying |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-python/pyzor/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyzor/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 20 May 2014 09:39:50 -0000 1.3 |
24 |
+++ metadata.xml 2 Feb 2015 07:55:34 -0000 1.4 |
25 |
@@ -6,5 +6,6 @@ |
26 |
<flag name='pyzord'>enable support for pyzord</flag> |
27 |
<flag name='mysql'>Enables mysql support</flag> |
28 |
<flag name='redis'>Enables redis support</flag> |
29 |
+ <flag name='gevent'>Enable support for the gevent based handler</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.72 dev-python/pyzor/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/ChangeLog?rev=1.72&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/ChangeLog?rev=1.72&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/ChangeLog?r1=1.71&r2=1.72 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v |
44 |
retrieving revision 1.71 |
45 |
retrieving revision 1.72 |
46 |
diff -u -r1.71 -r1.72 |
47 |
--- ChangeLog 26 Jan 2015 13:53:52 -0000 1.71 |
48 |
+++ ChangeLog 2 Feb 2015 07:55:34 -0000 1.72 |
49 |
@@ -1,6 +1,14 @@ |
50 |
# ChangeLog for dev-python/pyzor |
51 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v 1.71 2015/01/26 13:53:52 mrueg Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v 1.72 2015/02/02 07:55:34 idella4 Exp $ |
54 |
+ |
55 |
+*pyzor-1.0.0 (02 Feb 2015) |
56 |
+ |
57 |
+ 02 Feb 2015; Ian Delaney <idella4@g.o> +pyzor-1.0.0.ebuild, |
58 |
+ metadata.xml: |
59 |
+ bump; update HOMEPAGE, change SRC_URI to acquire tarball @ new repo @ github, |
60 |
+ drop keywords to allow support by gevent, add IUSE gevent for backend support, |
61 |
+ IUSE doc for doc build and all that goes with it, minor tidying |
62 |
|
63 |
26 Jan 2015; Manuel RĂ¼ger <mrueg@g.o> -pyzor-0.5.0-r1.ebuild: |
64 |
Remove old. |
65 |
|
66 |
|
67 |
|
68 |
1.1 dev-python/pyzor/pyzor-1.0.0.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/pyzor-1.0.0.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzor/pyzor-1.0.0.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: pyzor-1.0.0.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2015 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/pyzor-1.0.0.ebuild,v 1.1 2015/02/02 07:55:34 idella4 Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
81 |
PYHON_REQ_USE="gdbm" |
82 |
|
83 |
inherit distutils-r1 |
84 |
|
85 |
MY_PV="1-0-0" |
86 |
DESCRIPTION="A distributed, collaborative spam detection and filtering network" |
87 |
HOMEPAGE="https://github.com/SpamExperts/pyzor/" |
88 |
SRC_URI="https://github.com/SpamExperts/${PN}/archive/release-${MY_PV}.tar.gz -> ${P}.tar.gz" |
89 |
|
90 |
LICENSE="GPL-2" |
91 |
SLOT="0" |
92 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
93 |
|
94 |
IUSE="doc gevent mysql pyzord redis test" |
95 |
|
96 |
RDEPEND="mysql? ( $(python_gen_cond_dep '>=dev-python/mysql-python-1.2.5[${PYTHON_USEDEP}]' python2_7) ) |
97 |
redis? ( ~dev-python/redis-py-2.9.1[${PYTHON_USEDEP}] ) |
98 |
gevent? ( $(python_gen_cond_dep '~dev-python/gevent-1.0.1[${PYTHON_USEDEP}]' python2_7) )" |
99 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
100 |
|
101 |
# https://sourceforge.net/apps/trac/pyzor/attachment/ticket/196/ |
102 |
DISTUTILS_IN_SOURCE_BUILD=1 |
103 |
|
104 |
REQUIRED_USE="test? ( mysql redis )" |
105 |
S="${WORKDIR}/${PN}-release-${MY_PV}" |
106 |
|
107 |
python_test() { |
108 |
# The suite is py2 friendly only |
109 |
if ! python_is_python3; then |
110 |
PYTHONPATH=. "${PYTHON}" ./tests/unit/__init__.py |
111 |
fi |
112 |
} |
113 |
|
114 |
python_compile_all() { |
115 |
use doc && emake -C docs html |
116 |
} |
117 |
|
118 |
python_install_all() { |
119 |
use doc && HTML_DOCS=( docs/.build/html/. ) |
120 |
distutils-r1_python_install_all |
121 |
} |
122 |
|
123 |
src_install () { |
124 |
distutils-r1_src_install |
125 |
|
126 |
if use pyzord; then |
127 |
dodir /usr/sbin |
128 |
mv "${D}"usr/bin/pyzord* "${ED}usr/sbin" |
129 |
else |
130 |
rm "${D}"usr/bin/pyzord* |
131 |
fi |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
if use pyzord; then |
136 |
ewarn "/usr/bin/pyzord has been moved to /usr/sbin" |
137 |
fi |
138 |
|
139 |
einfo "If you want to run the pyzor server you will need to emerge / re-emerge" |
140 |
einfo "with use flag mysql and or redis. Without either flag provides only the pyzor client" |
141 |
} |