summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-01-15 22:06:32 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-01-15 22:06:32 +0000
commitae10e5d8b138a334a1303043608f4b476f079680 (patch)
tree6a6bdecc515f6113125abfddd7389f617132a602 /dev-python/simplegeneric/simplegeneric-0.8.ebuild
parentFix dependencies. Patch by Arfrever. (diff)
downloadgentoo-2-ae10e5d8b138a334a1303043608f4b476f079680.tar.gz
gentoo-2-ae10e5d8b138a334a1303043608f4b476f079680.tar.bz2
gentoo-2-ae10e5d8b138a334a1303043608f4b476f079680.zip
Use PyPI mirrors. Patch by Arfrever
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/simplegeneric/simplegeneric-0.8.ebuild')
-rw-r--r--dev-python/simplegeneric/simplegeneric-0.8.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-python/simplegeneric/simplegeneric-0.8.ebuild b/dev-python/simplegeneric/simplegeneric-0.8.ebuild
index e06b1752bd6f..5a84f3fa8f25 100644
--- a/dev-python/simplegeneric/simplegeneric-0.8.ebuild
+++ b/dev-python/simplegeneric/simplegeneric-0.8.ebuild
@@ -1,17 +1,16 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/simplegeneric-0.8.ebuild,v 1.3 2012/01/11 02:16:15 floppym Exp $
-
-EAPI=4
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/simplegeneric-0.8.ebuild,v 1.4 2012/01/15 22:06:32 hwoarang Exp $
+EAPI="4"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils
DESCRIPTION="Simple generic functions for Python"
-HOMEPAGE="http://pypi.python.org/pypi/simplegeneric/"
-SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.zip"
+HOMEPAGE="http://pypi.python.org/pypi/simplegeneric"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="ZPL"
SLOT="0"
@@ -25,6 +24,6 @@ RDEPEND=""
PYTHON_MODNAME="${PN}.py"
src_prepare() {
- sed -e "s/file(/open(/" -i setup.py || die
distutils_src_prepare
+ sed -e "s/file(/open(/" -i setup.py || die "sed failed"
}