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 dev-python/ipy: ipy-0.70.ebuild
Date: Sun, 29 Nov 2009 17:46:21
Message-Id: E1NEnql-0007AW-Kc@stork.gentoo.org
1 arfrever 09/11/29 17:46:19
2
3 Modified: ipy-0.70.ebuild
4 Log:
5 Use PYTHON_MODNAME.
6 (Portage version: 14920-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-python/ipy/ipy-0.70.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipy/ipy-0.70.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipy/ipy-0.70.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipy/ipy-0.70.ebuild?r1=1.1&r2=1.2
14
15 Index: ipy-0.70.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/ipy/ipy-0.70.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ipy-0.70.ebuild 30 Oct 2009 20:19:31 -0000 1.1
22 +++ ipy-0.70.ebuild 29 Nov 2009 17:46:19 -0000 1.2
23 @@ -1,6 +1,6 @@
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/ipy/ipy-0.70.ebuild,v 1.1 2009/10/30 20:19:31 arfrever Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipy/ipy-0.70.ebuild,v 1.2 2009/11/29 17:46:19 arfrever Exp $
28
29 EAPI="2"
30 SUPPORT_PYTHON_ABIS="1"
31 @@ -25,17 +25,11 @@
32
33 S="${WORKDIR}/${MY_P}"
34
35 +PYTHON_MODNAME="IPy.py"
36 +
37 src_test() {
38 testing() {
39 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_IPy.py
40 }
41 python_execute_function testing
42 }
43 -
44 -pkg_postinst() {
45 - python_mod_optimize IPy.py
46 -}
47 -
48 -pkg_postrm() {
49 - python_mod_cleanup
50 -}