From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A829E138BED for ; Fri, 23 Oct 2015 08:46:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF68E084D; Fri, 23 Oct 2015 08:46:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFF8FE084D for ; Fri, 23 Oct 2015 08:46:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACE1C340B07 for ; Fri, 23 Oct 2015 08:46:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 867CF162D for ; Fri, 23 Oct 2015 08:46:05 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1445589955.24ca06f2fd2768beb72ecc48bde5d8668c2faee7.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfits/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyfits/pyfits-3.3-r1.ebuild dev-python/pyfits/pyfits-3.3.ebuild X-VCS-Directories: dev-python/pyfits/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 24ca06f2fd2768beb72ecc48bde5d8668c2faee7 X-VCS-Branch: master Date: Fri, 23 Oct 2015 08:46:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 53fdfc4a-8329-4caa-9f48-9467b27584d3 X-Archives-Hash: c74fae4bcb4212cc57990bead8b3a3d6 commit: 24ca06f2fd2768beb72ecc48bde5d8668c2faee7 Author: Justin Lecher gentoo org> AuthorDate: Fri Oct 23 08:33:47 2015 +0000 Commit: Justin Lecher gentoo 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 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 }