1 |
xarthisius 12/03/07 18:55:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pyfits-3.0.6.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.30 dev-python/pyfits/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/ChangeLog?rev=1.30&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/ChangeLog?rev=1.30&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/ChangeLog?r1=1.29&r2=1.30 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v |
20 |
retrieving revision 1.29 |
21 |
retrieving revision 1.30 |
22 |
diff -u -r1.29 -r1.30 |
23 |
--- ChangeLog 23 Feb 2012 04:47:44 -0000 1.29 |
24 |
+++ ChangeLog 7 Mar 2012 18:55:10 -0000 1.30 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/pyfits |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.29 2012/02/23 04:47:44 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.30 2012/03/07 18:55:10 xarthisius Exp $ |
30 |
+ |
31 |
+*pyfits-3.0.6 (07 Mar 2012) |
32 |
+ |
33 |
+ 07 Mar 2012; Kacper Kowalik <xarthisius@g.o> +pyfits-3.0.6.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
23 Feb 2012; Patrick Lauer <patrick@g.o> pyfits-2.4.0.ebuild, |
37 |
pyfits-3.0.4.ebuild, pyfits-3.0.5.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pyfits/pyfits-3.0.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/pyfits-3.0.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/pyfits-3.0.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pyfits-3.0.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.0.6.ebuild,v 1.1 2012/03/07 18:55:10 xarthisius Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
SUPPORT_PYTHON_ABIS="1" |
54 |
RESTRICT_PYTHON_ABIS="2.4 2.5 2.7-pypy-*" |
55 |
|
56 |
inherit distutils eutils |
57 |
|
58 |
DESCRIPTION="Provides an interface to FITS formatted files under python" |
59 |
HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits http://pypi.python.org/pypi/pyfits" |
60 |
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" |
61 |
|
62 |
LICENSE="BSD" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
65 |
IUSE="test" |
66 |
|
67 |
RDEPEND="dev-python/numpy |
68 |
dev-python/setuptools" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-python/stsci-distutils |
71 |
dev-python/d2to1 |
72 |
test? ( dev-python/nose )" |
73 |
|
74 |
src_prepare() { |
75 |
sed -e 's/Exception, e/Exception as e/g' \ |
76 |
-i lib/pyfits/{hdu/base.py,_release.py,tests/test_core.py} || die |
77 |
epatch "${FILESDIR}"/${PN}-3.0.4-tests_python3.patch |
78 |
distutils_src_prepare |
79 |
} |
80 |
|
81 |
src_test() { |
82 |
testing() { |
83 |
local t |
84 |
for t in lib/${PN}/tests/test_*.py; do |
85 |
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" "${t}" || die "${t} failed with Python ${PYTHON_ABI}" |
86 |
done |
87 |
} |
88 |
python_execute_function testing |
89 |
} |