summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink <binki@gentoo.org>2011-05-20 12:59:17 +0000
committerNathan Phillip Brink <binki@gentoo.org>2011-05-20 12:59:17 +0000
commit0f7580e0db7b588af8c325e97ce883a9f4afeea2 (patch)
treeed3c9f4674682790a0fdcbd056862f13068a362f /www-misc
parentVersion bump, bug #367791 thank Jeroen Roovers and Andrew Savchenko for repor... (diff)
downloadhistorical-0f7580e0db7b588af8c325e97ce883a9f4afeea2.tar.gz
historical-0f7580e0db7b588af8c325e97ce883a9f4afeea2.tar.bz2
historical-0f7580e0db7b588af8c325e97ce883a9f4afeea2.zip
Fix python eclass usage: reflector doesn't work on <=python-2.5 and the Reflector class was not being optimized. Bug #367259.
Package-Manager: portage-2.2.0_alpha31-r1/cvs/Linux x86_64
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/reflector/ChangeLog7
-rw-r--r--www-misc/reflector/Manifest30
-rw-r--r--www-misc/reflector/reflector-2011.05.13.1.ebuild8
3 files changed, 27 insertions, 18 deletions
diff --git a/www-misc/reflector/ChangeLog b/www-misc/reflector/ChangeLog
index 2a6a9af01aeb..cf39c744284a 100644
--- a/www-misc/reflector/ChangeLog
+++ b/www-misc/reflector/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-misc/reflector
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/reflector/ChangeLog,v 1.1 2011/05/13 18:28:19 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/reflector/ChangeLog,v 1.2 2011/05/20 12:59:17 binki Exp $
+
+ 20 May 2011; Nathan Phillip Brink <binki@gentoo.org>
+ reflector-2011.05.13.1.ebuild:
+ Fix python eclass usage: reflector doesn't work on <=python-2.5 and the
+ Reflector class was not being optimized. Bug #367259.
*reflector-2011.05.13.1 (13 May 2011)
diff --git a/www-misc/reflector/Manifest b/www-misc/reflector/Manifest
index 39f3c8527d2f..1f0860f6685a 100644
--- a/www-misc/reflector/Manifest
+++ b/www-misc/reflector/Manifest
@@ -2,23 +2,23 @@
Hash: SHA256
DIST reflector-2011.05.13.1.tar.gz 11490 RMD160 84af905cd842df4695c329dbbd5adab8e0f5c7d3 SHA1 014344de03517bc265cf85e0387c15c0f731f178 SHA256 e02a1d8297a0dbc201f9268e2b36a9027b4103ecadf95f675b27e29b2ed5199f
-EBUILD reflector-2011.05.13.1.ebuild 881 RMD160 27ccac7fa71f1894c21d97d33e7d0547b5a2ba5b SHA1 4de67bf0b41fe261fb33b4b411d55c8d12ea7d18 SHA256 a4da784312c79734a87fc5b2c8194f8ce73acb6064b32c8247634e91ee875718
-MISC ChangeLog 424 RMD160 eebbf5ef303c3b3ec9b38b1abcbf3abe29ed8135 SHA1 f1b186927dfb777c271e412a66fa48ae60b4dc81 SHA256 7c90897b66887e39ba823a33dda7e289a2af7fb698d5d774a0060f7e84b9f25e
+EBUILD reflector-2011.05.13.1.ebuild 947 RMD160 ce416d9ba949d8acac2c62d3471ee67cb3ff0a8c SHA1 1dbae2ddaa170553cd18352867de9bdfd155d147 SHA256 3f781eced5256a0504c77e46045e7aa910ffea7e40ecd33b4509add2203b6839
+MISC ChangeLog 643 RMD160 e044450a9edd55cdbd7a87c48ce8338f721b60ee SHA1 181813f8eb3f2c802c62ad057e488972a1a34c37 SHA256 e72849f8eac44fb61dc998c474f513445d8f4ef2f19e5005bcc50b3247d6eb27
MISC metadata.xml 267 RMD160 8609aa577a5e0d29b924c3d078a4256fc539a645 SHA1 988fa49c1f0b5d0493a059d67a9bab81c277193a SHA256 39e33e87a3e409d64b94929084e903490f35cf907309ae843399a53169099bbf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iQIcBAEBCAAGBQJNzXlrAAoJEHQ6UuhrqBBQQPkP/2prCF2p6SIymeZmrGuyMbP3
-YX1z/k8cwaDD26xbDRhjWbb0pmONfJBw4ML84YM+RnlmEZoRB6wfva2ta5GCN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mNUGfl
+n+z/KXfRIq6ESzKAkOxr0YINmbYv5Ou3PNHvNuOuNBdwxsJ520MU44aFr56oR5N8
+PLT+wGV/SRPrC1bBNtbSAixXKZsBckOh6Cd+F75DbZdyOUOVSUjwo2CoIjoN+wow
+oFPKbeMF5OaY8xprOM2h0jHQDKpgow+8liX0xk/ynKG/nlc3mzwVOgVXT/RyY6Wj
+ND5H6T5Mapvlu4b+wJRUzq5d/dfQFfrPBrhbEueVwCKi/1DnlbxJZoH5GmfMLz9g
+k8ZeSb6WBfm2va7aYuBF
+=wcDL
-----END PGP SIGNATURE-----
diff --git a/www-misc/reflector/reflector-2011.05.13.1.ebuild b/www-misc/reflector/reflector-2011.05.13.1.ebuild
index 08eb80964956..b366962c9961 100644
--- a/www-misc/reflector/reflector-2011.05.13.1.ebuild
+++ b/www-misc/reflector/reflector-2011.05.13.1.ebuild
@@ -1,12 +1,14 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/reflector/reflector-2011.05.13.1.ebuild,v 1.1 2011/05/13 18:28:19 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/reflector/reflector-2011.05.13.1.ebuild,v 1.2 2011/05/20 12:59:17 binki Exp $
EAPI=3
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
-PYTHON_DEPEND="*"
+PYTHON_DEPEND="*:2.6"
+RESTRICT_PYTHON_ABIS="2.[45]"
SUPPORT_PYTHON_ABIS=1
+
inherit eutils distutils
DESCRIPTION="archlinux's take on mirrorselect"
@@ -22,6 +24,8 @@ RDEPEND="dev-python/argparse"
S=${WORKDIR}/${PN}
+PYTHON_MODNAME="Reflector.py"
+
src_prepare() {
distutils_src_prepare