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
commit313c0e141ece66823c9bf76b3a78d06c23fc1ede (patch)
tree9f5780299b9e1b80ab913691d28f68ffec4ad041 /dev-python/simplegeneric
parentFix dependencies. Patch by Arfrever. (diff)
downloadhistorical-313c0e141ece66823c9bf76b3a78d06c23fc1ede.tar.gz
historical-313c0e141ece66823c9bf76b3a78d06c23fc1ede.tar.bz2
historical-313c0e141ece66823c9bf76b3a78d06c23fc1ede.zip
Use PyPI mirrors. Patch by Arfrever
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-python/simplegeneric')
-rw-r--r--dev-python/simplegeneric/ChangeLog5
-rw-r--r--dev-python/simplegeneric/simplegeneric-0.8.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/dev-python/simplegeneric/ChangeLog b/dev-python/simplegeneric/ChangeLog
index 5790b3717c92..1c8f9a409bfa 100644
--- a/dev-python/simplegeneric/ChangeLog
+++ b/dev-python/simplegeneric/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/simplegeneric
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/ChangeLog,v 1.3 2012/01/11 02:17:39 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplegeneric/ChangeLog,v 1.4 2012/01/15 22:06:32 hwoarang Exp $
+
+ 15 Jan 2012; Markos Chandras <hwoarang@gentoo.org> simplegeneric-0.8.ebuild:
+ Use PyPI mirrors. Patch by Arfrever
11 Jan 2012; Mike Gilbert <floppym@gentoo.org> simplegeneric-0.8.ebuild:
Make setup.py work under python3, bug 398457. Set PYTHON_MODNAME.
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"
}