From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/traitsgui: ChangeLog traitsgui-3.6.0-r1.ebuild traitsgui-3.6.0.ebuild |
Date: | Sun, 03 Apr 2011 12:31:22 |
Message-Id: | 20110403123112.8820C20057@flycatcher.gentoo.org |
1 | arfrever 11/04/03 12:31:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: traitsgui-3.6.0-r1.ebuild |
5 | Removed: traitsgui-3.6.0.ebuild |
6 | Log: |
7 | Don't install some files to avoid file collisions with dev-python/namespaces-enthought. |
8 | |
9 | (Portage version: 2.2.0_alpha29_p5/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.19 dev-python/traitsgui/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traitsgui/ChangeLog?rev=1.19&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traitsgui/ChangeLog?rev=1.19&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traitsgui/ChangeLog?r1=1.18&r2=1.19 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v |
21 | retrieving revision 1.18 |
22 | retrieving revision 1.19 |
23 | diff -u -r1.18 -r1.19 |
24 | --- ChangeLog 1 Apr 2011 16:32:16 -0000 1.18 |
25 | +++ ChangeLog 3 Apr 2011 12:31:12 -0000 1.19 |
26 | @@ -1,6 +1,14 @@ |
27 | # ChangeLog for dev-python/traitsgui |
28 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.18 2011/04/01 16:32:16 xarthisius Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.19 2011/04/03 12:31:12 arfrever Exp $ |
31 | + |
32 | +*traitsgui-3.6.0-r1 (03 Apr 2011) |
33 | + |
34 | + 03 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
35 | + -traitsgui-3.6.0.ebuild, +traitsgui-3.6.0-r1.ebuild, |
36 | + +files/traitsgui-3.6.0-namespaces.patch: |
37 | + Don't install some files to avoid file collisions with |
38 | + dev-python/namespaces-enthought. |
39 | |
40 | 01 Apr 2011; Kacper Kowalik <xarthisius@g.o> traitsgui-3.6.0.ebuild: |
41 | Marked ~ppc64 wrt #342297 |
42 | |
43 | |
44 | |
45 | 1.1 dev-python/traitsgui/traitsgui-3.6.0-r1.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traitsgui/traitsgui-3.6.0-r1.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/traitsgui/traitsgui-3.6.0-r1.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: traitsgui-3.6.0-r1.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2011 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.6.0-r1.ebuild,v 1.1 2011/04/03 12:31:12 arfrever Exp $ |
55 | |
56 | EAPI="3" |
57 | PYTHON_DEPEND="2" |
58 | SUPPORT_PYTHON_ABIS="1" |
59 | RESTRICT_PYTHON_ABIS="3.* *-jython" |
60 | |
61 | inherit distutils eutils |
62 | |
63 | MY_PN="TraitsGUI" |
64 | MY_P="${MY_PN}-${PV}" |
65 | |
66 | DESCRIPTION="Traits-capable windowing framework" |
67 | HOMEPAGE="http://code.enthought.com/projects/traits_gui/ http://pypi.python.org/pypi/TraitsGUI" |
68 | SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" |
69 | |
70 | LICENSE="BSD" |
71 | SLOT="0" |
72 | KEYWORDS="amd64 ppc ~ppc64 x86" |
73 | IUSE="doc examples qt4 wxwidgets" |
74 | |
75 | DEPEND=">=dev-python/enthoughtbase-3.1.0 |
76 | dev-python/setuptools |
77 | >=dev-python/traits-${PV} |
78 | qt4? ( >=dev-python/traitsbackendqt-${PV} ) |
79 | wxwidgets? ( >=dev-python/traitsbackendwx-${PV} ) |
80 | !wxwidgets? ( !qt4? ( >=dev-python/traitsbackendwx-${PV} ) )" |
81 | RDEPEND="${DEPEND}" |
82 | |
83 | S="${WORKDIR}/${MY_P}" |
84 | |
85 | DOCS="docs/*.txt" |
86 | PYTHON_MODNAME="enthought" |
87 | |
88 | src_prepare() { |
89 | distutils_src_prepare |
90 | epatch "${FILESDIR}/${P}-namespaces.patch" |
91 | } |
92 | |
93 | src_compile() { |
94 | distutils_src_compile |
95 | |
96 | if use doc; then |
97 | einfo "Generation of documentation" |
98 | pushd docs > /dev/null |
99 | PYTHONPATH=".." emake html || die "Generation of documentation failed" |
100 | popd > /dev/null |
101 | fi |
102 | } |
103 | |
104 | src_install() { |
105 | find -name "*LICENSE.txt" -delete |
106 | distutils_src_install |
107 | |
108 | if use doc; then |
109 | dodoc docs/*.pdf || die "Installation of PDF documentation failed" |
110 | pushd docs/build/html > /dev/null |
111 | insinto /usr/share/doc/${PF}/html |
112 | doins -r [a-z]* _static || die "Installation of documentation failed" |
113 | popd > /dev/null |
114 | fi |
115 | |
116 | if use examples; then |
117 | insinto /usr/share/doc/${PF}/examples |
118 | doins -r examples/* || die "Installation of examples failed" |
119 | fi |
120 | } |