1 |
arfrever 09/09/08 02:48:45 |
2 |
|
3 |
Modified: ChangeLog pyfits-2.1.1.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14215-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.9 dev-python/pyfits/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfits/ChangeLog?rev=1.9&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfits/ChangeLog?rev=1.9&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfits/ChangeLog?r1=1.8&r2=1.9 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v |
18 |
retrieving revision 1.8 |
19 |
retrieving revision 1.9 |
20 |
diff -u -r1.8 -r1.9 |
21 |
--- ChangeLog 7 Sep 2009 21:11:09 -0000 1.8 |
22 |
+++ ChangeLog 8 Sep 2009 02:48:45 -0000 1.9 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/pyfits |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.8 2009/09/07 21:11:09 patrick Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.9 2009/09/08 02:48:45 arfrever Exp $ |
28 |
+ |
29 |
+ 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ pyfits-2.1.1.ebuild: |
31 |
+ Set SUPPORT_PYTHON_ABIS. |
32 |
|
33 |
*pyfits-2.1.1 (07 Sep 2009) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-python/pyfits/pyfits-2.1.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: pyfits-2.1.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- pyfits-2.1.1.ebuild 7 Sep 2009 21:11:09 -0000 1.1 |
51 |
+++ pyfits-2.1.1.ebuild 8 Sep 2009 02:48:45 -0000 1.2 |
52 |
@@ -1,26 +1,35 @@ |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild,v 1.1 2009/09/07 21:11:09 patrick Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild,v 1.2 2009/09/08 02:48:45 arfrever Exp $ |
57 |
+ |
58 |
+EAPI="2" |
59 |
+ |
60 |
+NEED_PYTHON="2.3" |
61 |
+SUPPORT_PYTHON_ABIS="1" |
62 |
|
63 |
-NEED_PYTHON=2.3 |
64 |
inherit distutils |
65 |
|
66 |
DESCRIPTION="Provides an interface to FITS formatted files under python" |
67 |
SRC_URI="http://www.stsci.edu/resources/software_hardware/${PN}/${P}.tar.gz" |
68 |
HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits" |
69 |
|
70 |
-RDEPEND="dev-python/numpy" |
71 |
-DEPEND="${RDEPEND}" |
72 |
- |
73 |
IUSE="" |
74 |
SLOT="0" |
75 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
76 |
LICENSE="AURA" |
77 |
|
78 |
+RDEPEND="dev-python/numpy" |
79 |
+DEPEND="${RDEPEND}" |
80 |
+RESTRICT_PYTHON_ABIS="3.*" |
81 |
+ |
82 |
src_test() { |
83 |
- cd "${S}"/test |
84 |
- for t in test*.py; do |
85 |
- PYTHONPATH="$(dir -d ${S}/build/lib*)" "${python}" \ |
86 |
- ${t} || die "test ${t} failed" |
87 |
- done |
88 |
+ cd "${S}/test" |
89 |
+ |
90 |
+ testing() { |
91 |
+ local test |
92 |
+ for test in test*.py; do |
93 |
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib*)" "$(PYTHON)" "${test}" || die "test ${test} failed" |
94 |
+ done |
95 |
+ } |
96 |
+ python_execute_function testing |
97 |
} |