summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-08-26 08:58:37 +0000
committerMichał Górny <mgorny@gentoo.org>2013-08-26 08:58:37 +0000
commit7051c6a096eac7b9f6e824fd307f7f8371247533 (patch)
tree9800a2d37e3e7d6a7393b0dfb1fa2a8d5b2b358d /dev-lang
parentdev-haskell/comonad: initial layout (diff)
downloadgentoo-2-7051c6a096eac7b9f6e824fd307f7f8371247533.tar.gz
gentoo-2-7051c6a096eac7b9f6e824fd307f7f8371247533.tar.bz2
gentoo-2-7051c6a096eac7b9f6e824fd307f7f8371247533.zip
Replace internal eclass functions with a simple sed.
(Portage version: 2.2.1_p5/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/ChangeLog5
-rw-r--r--dev-lang/python/python-2.5.4-r6.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
index 1611c99f8386..37a490706648 100644
--- a/dev-lang/python/ChangeLog
+++ b/dev-lang/python/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/python
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.700 2013/08/23 09:16:53 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.701 2013/08/26 08:58:37 mgorny Exp $
+
+ 26 Aug 2013; Michał Górny <mgorny@gentoo.org> python-2.5.4-r6.ebuild:
+ Replace internal eclass functions with a simple sed.
23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
diff --git a/dev-lang/python/python-2.5.4-r6.ebuild b/dev-lang/python/python-2.5.4-r6.ebuild
index 2f03e2a00d96..7b6fa419b0c7 100644
--- a/dev-lang/python/python-2.5.4-r6.ebuild
+++ b/dev-lang/python/python-2.5.4-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r6.ebuild,v 1.1 2013/06/30 16:08:08 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r6.ebuild,v 1.2 2013/08/26 08:58:37 mgorny Exp $
EAPI="1"
@@ -251,9 +251,8 @@ src_install() {
# Fix collisions between different slots of Python.
mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
- _python_rewrite_shebang python${SLOT} "${ED}usr/bin/pydoc${SLOT}"
mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
- _python_rewrite_shebang python${SLOT} "${ED}usr/bin/idle${SLOT}"
+ sed -i -e "1s:python:&${SLOT}:" "${ED}"usr/bin/{pydoc,idle}${SLOT} || die
mv "${ED}usr/share/man/man1/python.1" "${ED}usr/share/man/man1/python${SLOT}.1"
rm -f "${ED}usr/bin/smtpd.py"