Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/scipy: scipy-0.7.1.ebuild ChangeLog
Date: Fri, 04 Sep 2009 21:31:25
Message-Id: E1MjgNO-0008K5-MF@stork.gentoo.org
1 arfrever 09/09/04 21:31:22
2
3 Modified: scipy-0.7.1.ebuild ChangeLog
4 Log:
5 Set SUPPORT_PYTHON_ABIS. Tests are restricted so remove "test" USE flag.
6 (Portage version: 14182-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 sci-libs/scipy/scipy-0.7.1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scipy/scipy-0.7.1.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scipy/scipy-0.7.1.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scipy/scipy-0.7.1.ebuild?r1=1.2&r2=1.3
14
15 Index: scipy-0.7.1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.7.1.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- scipy-0.7.1.ebuild 22 Jul 2009 22:30:54 -0000 1.2
22 +++ scipy-0.7.1.ebuild 4 Sep 2009 21:31:22 -0000 1.3
23 @@ -1,11 +1,12 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.7.1.ebuild,v 1.2 2009/07/22 22:30:54 bicatali Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.7.1.ebuild,v 1.3 2009/09/04 21:31:22 arfrever Exp $
28
29 -EAPI=2
30 -NEED_PYTHON=2.4
31 +EAPI="2"
32 +NEED_PYTHON="2.4"
33 +SUPPORT_PYTHON_ABIS="1"
34
35 -inherit eutils distutils toolchain-funcs flag-o-matic
36 +inherit eutils distutils flag-o-matic toolchain-funcs
37
38 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
39 DESCRIPTION="Scientific algorithms library for Python"
40 @@ -13,7 +14,8 @@
41 LICENSE="BSD"
42
43 SLOT="0"
44 -IUSE="test umfpack"
45 +IUSE="umfpack"
46 +#IUSE="test umfpack"
47 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
48
49 CDEPEND=">=dev-python/numpy-1.2
50 @@ -23,12 +25,14 @@
51
52 DEPEND="${CDEPEND}
53 dev-util/pkgconfig
54 - test? ( dev-python/nose )
55 umfpack? ( dev-lang/swig )"
56 +# test? ( dev-python/nose )
57
58 RDEPEND="${CDEPEND}
59 dev-python/imaging"
60
61 +RESTRICT_PYTHON_ABIS="3.*"
62 +
63 # buggy tests
64 RESTRICT="test"
65
66 @@ -85,15 +89,16 @@
67 }
68
69 src_test() {
70 - "${python}" setup.py install \
71 - --home="${S}"/test \
72 - --no-compile \
73 - ${SCIPY_FCONFIG} || die "install test failed"
74 - pushd "${S}"/test/lib*/python
75 - PYTHONPATH=. "${python}" -c "import scipy; scipy.test('full')" 2>&1 | tee test.log
76 - grep -q ^ERROR test.log && die "test failed"
77 - popd
78 - rm -rf test
79 + testing() {
80 + "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install \
81 + --home="${S}/test-${PYTHON_ABI}" --no-compile ${SCIPY_FCONFIG} || die "install test failed"
82 + pushd "${S}/test-${PYTHON_ABI}/"lib*/python > /dev/null
83 + PYTHONPATH=. "${python}" -c "import scipy; scipy.test('full')" 2>&1 | tee test.log
84 + grep -q ^ERROR test.log && die "test failed"
85 + popd > /dev/null
86 + rm -fr test-${PYTHON_ABI}
87 + }
88 + python_execute_function testing
89 }
90
91 src_install() {
92 @@ -101,6 +106,8 @@
93 }
94
95 pkg_postinst() {
96 + distutils_pkg_postinst
97 +
98 elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
99 elog "to your prefered image viewer if you don't like the default one. Ex:"
100 elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
101
102
103
104 1.43 sci-libs/scipy/ChangeLog
105
106 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scipy/ChangeLog?rev=1.43&view=markup
107 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scipy/ChangeLog?rev=1.43&content-type=text/plain
108 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scipy/ChangeLog?r1=1.42&r2=1.43
109
110 Index: ChangeLog
111 ===================================================================
112 RCS file: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v
113 retrieving revision 1.42
114 retrieving revision 1.43
115 diff -u -r1.42 -r1.43
116 --- ChangeLog 21 Jul 2009 21:40:03 -0000 1.42
117 +++ ChangeLog 4 Sep 2009 21:31:22 -0000 1.43
118 @@ -1,6 +1,10 @@
119 # ChangeLog for sci-libs/scipy
120 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
121 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.42 2009/07/21 21:40:03 bicatali Exp $
122 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.43 2009/09/04 21:31:22 arfrever Exp $
123 +
124 + 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
125 + scipy-0.7.1.ebuild:
126 + Set SUPPORT_PYTHON_ABIS. Tests are restricted so remove "test" USE flag.
127
128 *scipy-0.7.1 (21 Jul 2009)