summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-03-03 20:27:38 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-03-03 20:27:38 +0000
commitd3468eb2b6fae5f31b79ff2f8e2295508dcb87d3 (patch)
tree3666eb397c09dc07c3fa0893485f411821062358 /dev-python
parentVersion bump (diff)
downloadgentoo-2-d3468eb2b6fae5f31b79ff2f8e2295508dcb87d3.tar.gz
gentoo-2-d3468eb2b6fae5f31b79ff2f8e2295508dcb87d3.tar.bz2
gentoo-2-d3468eb2b6fae5f31b79ff2f8e2295508dcb87d3.zip
renaming of binary for all python implementations
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyfits/ChangeLog5
-rw-r--r--dev-python/pyfits/pyfits-3.2.ebuild15
2 files changed, 13 insertions, 7 deletions
diff --git a/dev-python/pyfits/ChangeLog b/dev-python/pyfits/ChangeLog
index 3c1132e3481c..4703236bc0f4 100644
--- a/dev-python/pyfits/ChangeLog
+++ b/dev-python/pyfits/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pyfits
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.45 2014/02/26 17:13:35 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.46 2014/03/03 20:27:38 bicatali Exp $
+
+ 03 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> pyfits-3.2.ebuild:
+ renaming of binary for all python implementations
26 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> pyfits-3.2.ebuild:
Use scriptdir for python execs
diff --git a/dev-python/pyfits/pyfits-3.2.ebuild b/dev-python/pyfits/pyfits-3.2.ebuild
index 40e67f148e1a..49e6dfde7284 100644
--- a/dev-python/pyfits/pyfits-3.2.ebuild
+++ b/dev-python/pyfits/pyfits-3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.2.ebuild,v 1.4 2014/02/26 17:13:35 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.2.ebuild,v 1.5 2014/03/03 20:27:38 bicatali Exp $
EAPI=5
@@ -54,9 +54,12 @@ python_install_all() {
use doc && local HTML_DOCS=( docs/build/html )
distutils-r1_python_install_all
dodoc FAQ.txt CHANGES.txt
- local binary
- for binary in "${ED}"/usr/bin/* "${D}$(python_get_scriptdir)"/*
- do
- mv ${binary}{,-${PN}} || die "failed renaming"
- done
+ rename_binary() {
+ local binary
+ for binary in "${ED}"/usr/bin/* "${D}$(python_get_scriptdir)"/*
+ do
+ mv ${binary}{,-${PN}} || die "failed renaming"
+ done
+ }
+ python_foreach_impl rename_binary
}