From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/enable: ChangeLog enable-3.4.0.ebuild |
Date: | Sun, 30 Jan 2011 17:02:35 |
Message-Id: | 20110130170225.DFDB720054@flycatcher.gentoo.org |
1 | arfrever 11/01/30 17:02:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: enable-3.4.0.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha19_p24/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.10 dev-python/enable/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enable/ChangeLog?rev=1.10&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enable/ChangeLog?rev=1.10&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enable/ChangeLog?r1=1.9&r2=1.10 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v |
20 | retrieving revision 1.9 |
21 | retrieving revision 1.10 |
22 | diff -u -r1.9 -r1.10 |
23 | --- ChangeLog 18 Oct 2010 14:16:23 -0000 1.9 |
24 | +++ ChangeLog 30 Jan 2011 17:02:25 -0000 1.10 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for dev-python/enable |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.9 2010/10/18 14:16:23 arfrever Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.10 2011/01/30 17:02:25 arfrever Exp $ |
31 | + |
32 | +*enable-3.4.0 (30 Jan 2011) |
33 | + |
34 | + 30 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
35 | + -files/enable-3.0.2-nofreetype.patch, -enable-3.3.2.ebuild, |
36 | + +enable-3.4.0.ebuild: |
37 | + Version bump. |
38 | |
39 | *enable-3.3.2 (18 Oct 2010) |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 dev-python/enable/enable-3.4.0.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enable/enable-3.4.0.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enable/enable-3.4.0.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: enable-3.4.0.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2011 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-3.4.0.ebuild,v 1.1 2011/01/30 17:02:25 arfrever Exp $ |
54 | |
55 | EAPI="3" |
56 | PYTHON_DEPEND="2" |
57 | SUPPORT_PYTHON_ABIS="1" |
58 | RESTRICT_PYTHON_ABIS="3.* *-jython" |
59 | DISTUTILS_SRC_TEST="setup.py" |
60 | |
61 | inherit distutils eutils virtualx |
62 | |
63 | MY_PN="Enable" |
64 | MY_P="${MY_PN}-${PV}" |
65 | |
66 | DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages" |
67 | HOMEPAGE="http://code.enthought.com/projects/enable/ http://pypi.python.org/pypi/Enable" |
68 | SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" |
69 | |
70 | LICENSE="BSD" |
71 | SLOT="0" |
72 | KEYWORDS="~amd64 ~x86" |
73 | IUSE="doc examples test" |
74 | |
75 | RDEPEND=">=dev-python/enthoughtbase-3.1.0 |
76 | dev-python/numpy |
77 | dev-python/reportlab |
78 | >=dev-python/traitsgui-3.6.0[wxwidgets] |
79 | >=media-libs/freetype-2 |
80 | virtual/opengl |
81 | x11-libs/libX11" |
82 | DEPEND="${RDEPEND} |
83 | dev-lang/swig |
84 | dev-python/cython |
85 | dev-python/setuptools |
86 | doc? ( dev-python/sphinx ) |
87 | test? ( |
88 | dev-python/coverage |
89 | dev-python/nose |
90 | media-fonts/font-cursor-misc |
91 | media-fonts/font-misc-misc |
92 | x11-apps/xhost |
93 | )" |
94 | |
95 | S="${WORKDIR}/${MY_P}" |
96 | |
97 | PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
98 | |
99 | DOCS="docs/*.txt" |
100 | PYTHON_MODNAME="enthought" |
101 | |
102 | src_prepare() { |
103 | distutils_src_prepare |
104 | |
105 | # "${S}/enthought/enable2/tests" does not exist. |
106 | sed -e "s:,enthought/enable2/tests::" -i setup.cfg || die "sed setup.cfg failed" |
107 | |
108 | epatch "${FILESDIR}/${PN}-3.3.0-nofreetype.patch" |
109 | } |
110 | |
111 | src_compile() { |
112 | distutils_src_compile |
113 | |
114 | if use doc; then |
115 | einfo "Generation of documentation" |
116 | pushd docs > /dev/null |
117 | emake html || die "Generation of documentation failed" |
118 | popd > /dev/null |
119 | fi |
120 | } |
121 | |
122 | src_test() { |
123 | maketype="distutils_src_test" virtualmake |
124 | } |
125 | |
126 | src_install() { |
127 | find -name "*LICENSE.txt" -delete |
128 | distutils_src_install |
129 | |
130 | if use doc; then |
131 | pushd docs/build/html > /dev/null |
132 | insinto /usr/share/doc/${PF}/html |
133 | doins -r [a-z]* _static || die "Installation of documentation failed" |
134 | popd > /dev/null |
135 | fi |
136 | |
137 | if use examples; then |
138 | insinto /usr/share/doc/${PF}/examples |
139 | doins -r examples/* || die "Installation of examples failed" |
140 | fi |
141 | } |