From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfits/
Date: Thu, 22 Oct 2015 08:32:00 +0000 (UTC) [thread overview]
Message-ID: <1445502712.0c30e019f37c1039c111ad5f28c0480fc2356e38.jlec@gentoo> (raw)
commit: 0c30e019f37c1039c111ad5f28c0480fc2356e38
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 06:50:53 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 08:31:52 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c30e019
dev-python/pyfits: Correctly block astropy
Add missing die
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537250
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/pyfits/pyfits-3.3.ebuild | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/dev-python/pyfits/pyfits-3.3.ebuild b/dev-python/pyfits/pyfits-3.3.ebuild
index 5d014f3..a7e69f4 100644
--- a/dev-python/pyfits/pyfits-3.3.ebuild
+++ b/dev-python/pyfits/pyfits-3.3.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit distutils-r1 eutils multilib
DESCRIPTION="Provides an interface to FITS formatted files under python"
@@ -18,7 +18,7 @@ IUSE="doc test"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
- !<dev-python/astropy-0.3
+ !dev-python/astropy
sci-libs/cfitsio:0="
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -26,7 +26,7 @@ DEPEND="${RDEPEND}
>=dev-python/stsci-distutils-0.3[${PYTHON_USEDEP}]
doc? (
dev-python/matplotlib[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/numpydoc[${PYTHON_USEDEP}]' python2_7 'python{3_3,3_4}')
+ $(python_gen_cond_dep 'dev-python/numpydoc[${PYTHON_USEDEP}]' 'python*')
dev-python/sphinxcontrib-programoutput[${PYTHON_USEDEP}]
dev-python/stsci-sphinxext[${PYTHON_USEDEP}]
)
@@ -40,7 +40,9 @@ python_prepare_all() {
"${S}"/setup.cfg || die
# https://github.com/spacetelescope/PyFITS/issues/95
- sed -e "s/except UserWarning, w/except UserWarning as w/" -i lib/pyfits/scripts/fitscheck.py
+ sed \
+ -e "s/except UserWarning, w/except UserWarning as w/" \
+ -i lib/pyfits/scripts/fitscheck.py || die
distutils-r1_python_prepare_all
}
@@ -51,17 +53,16 @@ python_compile_all() {
python_test() {
cd "${BUILD_DIR}"/lib* || die
- nosetests || die
+ nosetests --verbose || die
}
python_install_all() {
- use doc && local HTML_DOCS=( docs/build/html )
+ use doc && local HTML_DOCS=( docs/build/html/. )
+ DOCS=( FAQ.txt CHANGES.txt )
distutils-r1_python_install_all
- dodoc FAQ.txt CHANGES.txt
rename_binary() {
local binary
- for binary in "${ED}"/usr/bin/* "${D}$(python_get_scriptdir)"/*
- do
+ for binary in "${ED}"/usr/bin/* "${D}$(python_get_scriptdir)"/*; do
mv ${binary}{,-${PN}} || die "failed renaming"
done
}
next reply other threads:[~2015-10-22 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 8:32 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-23 8:46 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=1445502712.0c30e019f37c1039c111ad5f28c0480fc2356e38.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