diff options
author | Nathan Phillip Brink <binki@gentoo.org> | 2011-05-20 12:59:17 +0000 |
---|---|---|
committer | Nathan Phillip Brink <binki@gentoo.org> | 2011-05-20 12:59:17 +0000 |
commit | 0f7580e0db7b588af8c325e97ce883a9f4afeea2 (patch) | |
tree | ed3c9f4674682790a0fdcbd056862f13068a362f /www-misc/reflector/reflector-2011.05.13.1.ebuild | |
parent | Version bump, bug #367791 thank Jeroen Roovers and Andrew Savchenko for repor... (diff) | |
download | historical-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/reflector/reflector-2011.05.13.1.ebuild')
-rw-r--r-- | www-misc/reflector/reflector-2011.05.13.1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
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 |