1 |
arfrever 09/08/30 00:08:21 |
2 |
|
3 |
Modified: ipython-0.10.ebuild ChangeLog |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14170-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 dev-python/ipython/ipython-0.10.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: ipython-0.10.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- ipython-0.10.ebuild 18 Aug 2009 16:47:06 -0000 1.2 |
22 |
+++ ipython-0.10.ebuild 30 Aug 2009 00:08:20 -0000 1.3 |
23 |
@@ -1,9 +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/dev-python/ipython/ipython-0.10.ebuild,v 1.2 2009/08/18 16:47:06 bicatali Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.10.ebuild,v 1.3 2009/08/30 00:08:20 arfrever Exp $ |
28 |
+ |
29 |
+EAPI="2" |
30 |
+ |
31 |
+NEED_PYTHON="2.4" |
32 |
+SUPPORT_PYTHON_ABIS="1" |
33 |
|
34 |
-NEED_PYTHON=2.4 |
35 |
-EAPI=2 |
36 |
inherit eutils distutils elisp-common |
37 |
|
38 |
DESCRIPTION="An advanced interactive shell for Python." |
39 |
@@ -27,6 +30,8 @@ |
40 |
DEPEND="${CDEPEND} |
41 |
test? ( dev-python/nose )" |
42 |
|
43 |
+RESTRICT_PYTHON_ABIS="3*" |
44 |
+ |
45 |
PYTHON_MODNAME="IPython" |
46 |
SITEFILE="62ipython-gentoo.el" |
47 |
|
48 |
@@ -50,29 +55,29 @@ |
49 |
|
50 |
src_compile() { |
51 |
distutils_src_compile |
52 |
- if use emacs ; then |
53 |
+ if use emacs; then |
54 |
elisp-compile docs/emacs/ipython.el || die "elisp-compile failed" |
55 |
fi |
56 |
} |
57 |
|
58 |
src_test() { |
59 |
- "${python}" setup.py \ |
60 |
- install --home="${WORKDIR}/test" > /dev/null \ |
61 |
- || die "fake install for testing failed" |
62 |
- cd "${WORKDIR}"/test |
63 |
- # first initialize .ipython stuff |
64 |
- PATH="${WORKDIR}/test/bin:${PATH}" \ |
65 |
- PYTHONPATH="${WORKDIR}/test/lib/python" ipython > /dev/null <<-EOF |
66 |
+ testing() { |
67 |
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${WORKDIR}/test-${PYTHON_ABI}" > /dev/null || die "Installation of tests failed with Python ${PYTHON_ABI}" |
68 |
+ pushd "${WORKDIR}/test-${PYTHON_ABI}" > /dev/null || die |
69 |
+ # First initialize .ipython stuff. |
70 |
+ PATH="${WORKDIR}/test-${PYTHON_ABI}/bin:${PATH}" PYTHONPATH="${WORKDIR}/test-${PYTHON_ABI}/lib/python" ipython > /dev/null <<-EOF |
71 |
EOF |
72 |
- # test ( -v for more verbosity) |
73 |
- PATH="${WORKDIR}/test/bin:${PATH}" \ |
74 |
- PYTHONPATH="${WORKDIR}/test/lib/python" iptest || die "test failed" |
75 |
+ # Test (-v for more verbosity). |
76 |
+ PATH="${WORKDIR}/test-${PYTHON_ABI}/bin:${PATH}" PYTHONPATH="${WORKDIR}/test-${PYTHON_ABI}/lib/python" iptest |
77 |
+ popd > /dev/null || die |
78 |
+ } |
79 |
+ python_execute_function testing |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
DOCS="docs/source/changes.txt" |
84 |
distutils_src_install |
85 |
- if use emacs ; then |
86 |
+ if use emacs; then |
87 |
pushd docs/emacs |
88 |
elisp-install ${PN} ${PN}.el* || die "elisp-install failed" |
89 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
90 |
|
91 |
|
92 |
|
93 |
1.66 dev-python/ipython/ChangeLog |
94 |
|
95 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?rev=1.66&view=markup |
96 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?rev=1.66&content-type=text/plain |
97 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?r1=1.65&r2=1.66 |
98 |
|
99 |
Index: ChangeLog |
100 |
=================================================================== |
101 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v |
102 |
retrieving revision 1.65 |
103 |
retrieving revision 1.66 |
104 |
diff -u -r1.65 -r1.66 |
105 |
--- ChangeLog 18 Aug 2009 16:47:06 -0000 1.65 |
106 |
+++ ChangeLog 30 Aug 2009 00:08:20 -0000 1.66 |
107 |
@@ -1,6 +1,10 @@ |
108 |
# ChangeLog for dev-python/ipython |
109 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
110 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.65 2009/08/18 16:47:06 bicatali Exp $ |
111 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.66 2009/08/30 00:08:20 arfrever Exp $ |
112 |
+ |
113 |
+ 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
114 |
+ ipython-0.10.ebuild: |
115 |
+ Set SUPPORT_PYTHON_ABIS. |
116 |
|
117 |
18 Aug 2009; Sébastien Fabbro <bicatali@g.o> ipython-0.9.1.ebuild, |
118 |
ipython-0.10.ebuild: |