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/chaco: ChangeLog chaco-3.2.0.ebuild
Date: Sat, 05 Sep 2009 23:23:16
Message-Id: E1Mk4bA-0000Zf-Jy@stork.gentoo.org
1 arfrever 09/09/05 23:23:12
2
3 Modified: ChangeLog
4 Added: chaco-3.2.0.ebuild
5 Log:
6 Version bump. Set SUPPORT_PYTHON_ABIS.
7 (Portage version: 14204-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 dev-python/chaco/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 24 Apr 2009 15:01:54 -0000 1.3
23 +++ ChangeLog 5 Sep 2009 23:23:12 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/chaco
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.3 2009/04/24 15:01:54 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.4 2009/09/05 23:23:12 arfrever Exp $
29 +
30 +*chaco-3.2.0 (05 Sep 2009)
31 +
32 + 05 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +chaco-3.2.0.ebuild:
34 + Version bump. Set SUPPORT_PYTHON_ABIS.
35
36 24 Apr 2009; Patrick Lauer <patrick@g.o> -chaco-3.0.1.ebuild:
37 Remove old
38
39
40
41 1.1 dev-python/chaco/chaco-3.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/chaco-3.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/chaco-3.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: chaco-3.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-3.2.0.ebuild,v 1.1 2009/09/05 23:23:12 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
54
55 inherit distutils
56
57 MY_PN="Chaco"
58 MY_P="${MY_PN}-${PV}"
59 DESCRIPTION="Interactive plotting toolkit"
60 HOMEPAGE="http://code.enthought.com/projects/chaco"
61 SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
62
63 IUSE="doc examples test"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 LICENSE="BSD"
67
68 RDEPEND=">=dev-python/enable-3.2.0"
69 DEPEND="dev-python/setuptools
70 >=dev-python/numpy-1.1
71 doc? ( app-arch/unzip )"
72 # docs building and tests need an X display
73 # doc? ( dev-python/setupdocs )
74 # test? ( >=dev-python/nose-0.10.3
75 # dev-python/coverage
76 # >=dev-python/enable-3.2.0
77 # >=dev-python/enthoughtbase-3.0.3 )"
78 RESTRICT_PYTHON_ABIS="3.*"
79 #RESTRICT="test"
80
81 S="${WORKDIR}/${MY_P}"
82
83 PYTHON_MODNAME="enthought"
84
85 src_prepare() {
86 sed -i -e "s/self.run_command('build_docs')/pass/" setup.py || die
87 }
88
89 src_compile() {
90 find "${S}" -name \*LICENSE.txt -delete
91 distutils_src_compile
92 #if use doc; then
93 # ${python} setup.py build_docs --formats=html,pdf \
94 # || die "doc building failed"
95 #fi
96 }
97
98 src_test() {
99 testing() {
100 PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
101 }
102 python_execute_function testing
103 }
104
105 src_install() {
106 find "${S}" -name \*LICENSE.txt -delete
107 distutils_src_install
108 dodoc docs/*.txt
109 insinto /usr/share/doc/${PF}
110 if use doc; then
111 #doins -r build/docs/html build/docs/latex/*.pdf || die
112 doins docs/*.pdf || die
113 unzip docs/html.zip
114 insinto /usr/share/doc/${PF}
115 doins -r html || die
116 fi
117 if use examples; then
118 doins -r examples || die
119 fi
120 }