From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfits/
Date: Fri, 23 Oct 2015 08:46:05 +0000 (UTC) [thread overview]
Message-ID: <1445589955.24ca06f2fd2768beb72ecc48bde5d8668c2faee7.jlec@gentoo> (raw)
commit: 24ca06f2fd2768beb72ecc48bde5d8668c2faee7
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 23 08:33:47 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 08:45:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ca06f2
dev-python/pyfits: Fix app renamin and
Release Blocker against astropy
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
.../pyfits/{pyfits-3.3.ebuild => pyfits-3.3-r1.ebuild} | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/dev-python/pyfits/pyfits-3.3.ebuild b/dev-python/pyfits/pyfits-3.3-r1.ebuild
similarity index 87%
rename from dev-python/pyfits/pyfits-3.3.ebuild
rename to dev-python/pyfits/pyfits-3.3-r1.ebuild
index 8679040..d30a981 100644
--- a/dev-python/pyfits/pyfits-3.3.ebuild
+++ b/dev-python/pyfits/pyfits-3.3-r1.ebuild
@@ -19,7 +19,6 @@ IUSE="doc test"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
- !dev-python/astropy
sci-libs/cfitsio:0="
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -57,15 +56,17 @@ python_test() {
nosetests --verbose || die
}
+python_install() {
+ distutils-r1_python_install
+ local binary
+ for binary in "${ED}"/usr/bin/* "${D}$(python_get_scriptdir)"/*; do
+ einfo "Renaming ${binary} to ${binary}-${PN}"
+ mv ${binary}{,-${PN}} || die "failed renaming"
+ done
+}
+
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
DOCS=( FAQ.txt CHANGES.txt )
distutils-r1_python_install_all
- 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
}
next reply other threads:[~2015-10-23 8:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 8:46 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-07-21 0:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfits/ Mikle Kolyada
2018-06-25 10:40 Jason Zaman
2018-06-24 16:21 Pacho Ramos
2016-02-23 20:05 Sebastien Fabbro
2015-10-22 8:32 Justin Lecher
2015-10-22 8:32 Justin Lecher
2015-10-22 8:32 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445589955.24ca06f2fd2768beb72ecc48bde5d8668c2faee7.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox