summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-02-02 07:56:04 +0000
committerIan Delaney <idella4@gentoo.org>2015-02-02 07:56:04 +0000
commit8ee945f17ced5ea08a1b4c1f009949026b2f2492 (patch)
tree0b5c270004a2ae5cb42cf48708f770b17421ce8e /dev-python/pyzor
parentsci-visualization/gwyddion: Drop old (diff)
downloadhistorical-8ee945f17ced5ea08a1b4c1f009949026b2f2492.tar.gz
historical-8ee945f17ced5ea08a1b4c1f009949026b2f2492.tar.bz2
historical-8ee945f17ced5ea08a1b4c1f009949026b2f2492.zip
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
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/pyzor')
-rw-r--r--dev-python/pyzor/ChangeLog10
-rw-r--r--dev-python/pyzor/Manifest16
-rw-r--r--dev-python/pyzor/metadata.xml1
-rw-r--r--dev-python/pyzor/pyzor-1.0.0.ebuild67
4 files changed, 91 insertions, 3 deletions
diff --git a/dev-python/pyzor/ChangeLog b/dev-python/pyzor/ChangeLog
index 04fa0349b3bc..430f9c6b3e33 100644
--- a/dev-python/pyzor/ChangeLog
+++ b/dev-python/pyzor/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/pyzor
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v 1.71 2015/01/26 13:53:52 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v 1.72 2015/02/02 07:55:34 idella4 Exp $
+
+*pyzor-1.0.0 (02 Feb 2015)
+
+ 02 Feb 2015; Ian Delaney <idella4@gentoo.org> +pyzor-1.0.0.ebuild,
+ metadata.xml:
+ 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
26 Jan 2015; Manuel Rüger <mrueg@gentoo.org> -pyzor-0.5.0-r1.ebuild:
Remove old.
diff --git a/dev-python/pyzor/Manifest b/dev-python/pyzor/Manifest
index 816e37aeb944..e12b28c7c647 100644
--- a/dev-python/pyzor/Manifest
+++ b/dev-python/pyzor/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX pyzor-0.5.0-python26_warnings.patch 2680 SHA256 f1b9f51295788ac40c6396ea12a846f0b01d45fa8d87448d764900b3b167b9ff SHA512 e7a8826dc2b02ff24301b116247344ca221008333fbaf1fb4037ed1eef7e317235070fd6f6b70e4ffec0a44de675b1c6ae09da555d6a23295fd4c81301a13c80 WHIRLPOOL c3bdaeb5e2b312434164ec24b83fb067961cbaf164dc568da138ea397deee75c411edbc0b510ca2bd904c76caec079e46251dee5b8af8ca659c689e181b203f7
AUX pyzord_getopt.patch 640 SHA256 6cc675c7caf935342c3728ef399c2ebdb57029d146903aa36593fa3a34f270a9 SHA512 8c405266251f61b0d4b54d3811512067d90521dc04fb0a2df60fc19d27d818fb00849af0c0469187d60fe2d3c6bdde71fbf8320e22b2d5db5e6226c06cde93db WHIRLPOOL 2fef82cb54b2cd03baf29536e121c84b9f1823c9593278c362624cceb180cbd562d57e8147cb6218ba1ceeffb7d4137d0ec64f94cc1d66e9d93effe4bf29ce95
DIST pyzor-0.5.0.tar.bz2 40654 SHA256 2bf3df9e916861063a73f7b46cb8b27bac6f661fce1362803de9e7921fc155ba SHA512 048c81e373be217808f4e4e8f6adbc1b464891b725b3004031dfa7a82abe234b080c3a87bc9ad61ee1df2bfb78ed0ee78565b49843f09243f72b6315df6877a1 WHIRLPOOL 966090015bfe93d4ef059a1186e97705807769f9341e94a2f5d9c223540effac04209a32cad850c6f405225c00aea55bdf7ac5a6a98e0927824d641ee61e5c80
DIST pyzor-0.7.0.tar.bz2 78555 SHA256 6d9ca62bd4aa9a0210adb9d4c8ff2b38bb2cd051f1517ce29e88d7fbe4b1026d SHA512 40026fc0276b4cf60fe7dfe30e2d4d4d1f220cf860b8aaef9d983e632a7d87bc8deb3430ded7520a69269ef56550117735a6e3c8d046d4cad7066f8597ead3cd WHIRLPOOL dd8466477e38362fa0a64ec66822ae3820c22f8ae13b40002145b1e688d17c17edfb800eb44679ff961e74b667daa43ef09d8eadb92f683c9e73c9b00fad23b9
+DIST pyzor-1.0.0.tar.gz 126276 SHA256 548bc461c01e790cf8db1f26d9f66b281f3aa3cf5f5a6fd647071360ed663ef1 SHA512 b3fb8b2c5261e187a2ab3a5a3b12d221df7de08766c6bb2ad9990c0f23517534871ecc9d5ad529e79b0d0aef8b2b800728320c57435a8c0d8c3f80a4ba0f7e4a WHIRLPOOL ad92ca30c116b1c22cc49b5643ecb03880ef1911d7f2a59cf9b655ccd5fa5167e0ccdb890d92754ed1b1c0730785c186f6615c569b6bbbc36aed26e2423037b1
EBUILD pyzor-0.5.0-r2.ebuild 1466 SHA256 314181bd1a7ef716a9d020276791f9ac7b7d4b82c58b98b944c810431667b8a3 SHA512 200a79f63694c264c778e41e0215c93a3de8bcfef4502151a53e09969511e62114c8fb28e7208a98f33326d51596bb17970aece01e40be4014fe9709cd9937b1 WHIRLPOOL d426d6994fd58bd3d46e89f8be6991ccdd00a5a74d41b8e9461371d479ef4eb8dd1326e0b3a6eeb5a87afd878a4313b3e2edbe8df8502df2e25b4c1eee34aa32
EBUILD pyzor-0.7.0.ebuild 1685 SHA256 4d689fad895d6f0016c87158902214d077f16fb1d08acc0e64109a1e48ee3411 SHA512 693878ddb8cbfd1bd8d7d73be96388b9484d260a46157f7cf08f11c7b4b1cbf85cdf7d0ff4695df13cc23b4f93416a13e1dbfed1ba7587c30543518e709dee9e WHIRLPOOL e017d833333eee4eb379c24c73b0200aff84c1535ea7d025859babeee12f43bae2e739285cd40e4b415330150e3c430e7b4a56b38c1dd35b94fdab43b7f17a51
-MISC ChangeLog 8267 SHA256 d25f1932ede07fedf8cad7162b786f3ea6fcb1a3a97262c466fb8b7ee70ce93f SHA512 5dbc2aac628b2168f433434867a857f76ec7ed10ee06ddfd21c6a70fef6649ca98373bd50c7c51527cf08874a12b7ced2a8c116464a234917997b622bc2648dd WHIRLPOOL 3786b7a182b68115a4c3a2aebc6f8366e9f439158a199ec15b4bdd18383980e733121cdd4d9554b60b25d7180855b6ca60801a15a9f87bdd51eee6dc80746240
-MISC metadata.xml 324 SHA256 8de313086918b6dc70288dc229a81c3f483407260411eb8914840a715d38d4a7 SHA512 9eb74e02826abb39ba4b40b2a382a852687159df86d1ee5a66976a7fe508edc7ba435164790cb71d3b001c3e5a41df0134fb0d9cfa6823685525a6d637f5ee5d WHIRLPOOL f7c0102cf5ac00d832e6d7af1a70b17494b35611b1717c08851571a5068fe58d6ba4deba0341d73870622ed8fd6d2228b1aac5a7aa2ea3ecb20edf27387d87aa
+EBUILD pyzor-1.0.0.ebuild 1876 SHA256 7e6d13b67f7e61c314c779912c1bee915cb6fb5491b7055fb8656bea0065e50a SHA512 bfa0b33e05dfb8857db567b8c4065d4ccd9a34d12c2dfcbd376551a2a76f5b8cb715be34cdd88e9963d645c56b1c42bbf94fafac6ce7b155056e8f9d60225ba4 WHIRLPOOL 2031bac96b584f0513cafd5f17d522e3f15586edaf5c7e1c35028fe15d5801d6e51cde0339a041390dcad7400fc9883e8a012b91b821588e10399d063379b185
+MISC ChangeLog 8610 SHA256 c8fcca9062adaacc02f9e44d642fe95b5c8fe13d44e67318a632b79aaf8d5e45 SHA512 fa38df0a5b19a1f4d7ed41638e6393abb7ff1657f3f564625cfd555e23db51025f1259589c9fa3ad2a0746cf2c262cc630b808677c8ecabd45eaf8b355671b94 WHIRLPOOL b38739f5ed5239bf287722de902620c0f9cadfd404ea9dcc74cfefd40d6dd9be2ed4b643f6cc0d664b53bebd8aa868022793a16dcb67c133c733c2105c6d31e5
+MISC metadata.xml 396 SHA256 77a5efb6ebd3b4e38ea8e853c11a49dc3b66af468950b7e0c11d552b12ed0f2f SHA512 49cdfac7e0d4a4f9b59ab03a2cc15dced508ac6d32b4dfd651c37899501840e777a5f568a57dbac8433fac7e0283678f3ebe54858345152a1dfe053e49c392c9 WHIRLPOOL 35f94c623179c0eeb4a48b581a68abd3e41825032c1fc2c95eac0b5d3d076d2eee67214350daed95297da2d628201d136bc49b924e4d71c7be65cc2ec25d13f3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlTPLYgACgkQso7CE7gHKw0RLQCeLH5dqMY7yCVaIktOjFXDBX6S
+2v0AoNiKvEhO5aTxYPMCMgZctv/25YfF
+=+4pD
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pyzor/metadata.xml b/dev-python/pyzor/metadata.xml
index 74cf7e268ac3..bfdacbcaeaaa 100644
--- a/dev-python/pyzor/metadata.xml
+++ b/dev-python/pyzor/metadata.xml
@@ -6,5 +6,6 @@
<flag name='pyzord'>enable support for pyzord</flag>
<flag name='mysql'>Enables mysql support</flag>
<flag name='redis'>Enables redis support</flag>
+ <flag name='gevent'>Enable support for the gevent based handler</flag>
</use>
</pkgmetadata>
diff --git a/dev-python/pyzor/pyzor-1.0.0.ebuild b/dev-python/pyzor/pyzor-1.0.0.ebuild
new file mode 100644
index 000000000000..c174e7e89680
--- /dev/null
+++ b/dev-python/pyzor/pyzor-1.0.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/pyzor-1.0.0.ebuild,v 1.1 2015/02/02 07:55:34 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYHON_REQ_USE="gdbm"
+
+inherit distutils-r1
+
+MY_PV="1-0-0"
+DESCRIPTION="A distributed, collaborative spam detection and filtering network"
+HOMEPAGE="https://github.com/SpamExperts/pyzor/"
+SRC_URI="https://github.com/SpamExperts/${PN}/archive/release-${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="doc gevent 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}] )
+ gevent? ( $(python_gen_cond_dep '~dev-python/gevent-1.0.1[${PYTHON_USEDEP}]' python2_7) )"
+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 )"
+S="${WORKDIR}/${PN}-release-${MY_PV}"
+
+python_test() {
+ # The suite is py2 friendly only
+ if ! python_is_python3; then
+ PYTHONPATH=. "${PYTHON}" ./tests/unit/__init__.py
+ fi
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( docs/.build/html/. )
+ distutils-r1_python_install_all
+}
+
+src_install () {
+ distutils-r1_src_install
+
+ if use pyzord; then
+ dodir /usr/sbin
+ mv "${D}"usr/bin/pyzord* "${ED}usr/sbin"
+ else
+ rm "${D}"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"
+}