1 |
hwoarang 12/01/06 21:24:15 |
2 |
|
3 |
Modified: pyfltk-1.3.0.ebuild ChangeLog |
4 |
Log: |
5 |
Fix dependencies. Restrict PyPy ABIs. Add doc USE flag. Call distutils_src_prepare(). Don't install tests. Patch by Arfrever. |
6 |
|
7 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-python/pyfltk/pyfltk-1.3.0.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfltk/pyfltk-1.3.0.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfltk/pyfltk-1.3.0.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfltk/pyfltk-1.3.0.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: pyfltk-1.3.0.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.3.0.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- pyfltk-1.3.0.ebuild 5 Jan 2012 17:19:56 -0000 1.2 |
23 |
+++ pyfltk-1.3.0.ebuild 6 Jan 2012 21:24:15 -0000 1.3 |
24 |
@@ -1,18 +1,17 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.3.0.ebuild,v 1.2 2012/01/05 17:19:56 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.3.0.ebuild,v 1.3 2012/01/06 21:24:15 hwoarang Exp $ |
29 |
|
30 |
# FIXME: MakeSwig.py execution should be made work from pyfltk-1.1.5.ebuild |
31 |
|
32 |
-EAPI=4 |
33 |
- |
34 |
-PYTHON_DEPEND="2:2.7" |
35 |
+EAPI="4" |
36 |
+PYTHON_DEPEND="2" |
37 |
SUPPORT_PYTHON_ABIS="1" |
38 |
-RESTRICT_PYTHON_ABIS="3.* *-jython" |
39 |
+RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" |
40 |
|
41 |
inherit distutils eutils |
42 |
|
43 |
-MY_P=pyFltk-${PV} |
44 |
+MY_P="pyFltk-${PV}" |
45 |
|
46 |
DESCRIPTION="Python interface to Fltk library" |
47 |
HOMEPAGE="http://pyfltk.sourceforge.net/" |
48 |
@@ -21,27 +20,31 @@ |
49 |
LICENSE="LGPL-2" |
50 |
SLOT="0" |
51 |
KEYWORDS="amd64 ~ppc ~ppc64 x86" |
52 |
-IUSE="" |
53 |
+IUSE="doc" |
54 |
|
55 |
-RDEPEND=">=x11-libs/fltk-1.3.0:1[opengl]" |
56 |
-DEPEND="${RDEPEND} |
57 |
- >=dev-lang/swig-2.0.4" |
58 |
+DEPEND=">=x11-libs/fltk-1.3.0:1[opengl]" |
59 |
+RDEPEND="${DEPEND}" |
60 |
|
61 |
PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing") |
62 |
-PYTHON_MODNAME="fltk" |
63 |
+ |
64 |
DOCS="CHANGES README TODO" |
65 |
+PYTHON_MODNAME="fltk" |
66 |
|
67 |
-S=${WORKDIR}/${MY_P} |
68 |
+S="${WORKDIR}/${MY_P}" |
69 |
|
70 |
src_prepare() { |
71 |
- epatch "${FILESDIR}"/${P}-linux-3.x-detection.patch |
72 |
+ distutils_src_prepare |
73 |
+ epatch "${FILESDIR}/${P}-linux-3.x-detection.patch" |
74 |
+ |
75 |
+ # Disable installation of documentation and tests. |
76 |
+ sed -e "/package_data=/d" -i setup.py || die "sed failed" |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
distutils_src_install |
81 |
|
82 |
- # FIXME: Install documentation ourself. Would some argument to distutils_src_install |
83 |
- # instead help? |
84 |
- rm -rf "${ED}"/usr/lib*/python*/site-packages/fltk/docs |
85 |
- dohtml fltk/docs/* |
86 |
+ if use doc; then |
87 |
+ dohtml fltk/docs/* |
88 |
+ fi |
89 |
+ |
90 |
} |
91 |
|
92 |
|
93 |
|
94 |
1.30 dev-python/pyfltk/ChangeLog |
95 |
|
96 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfltk/ChangeLog?rev=1.30&view=markup |
97 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfltk/ChangeLog?rev=1.30&content-type=text/plain |
98 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfltk/ChangeLog?r1=1.29&r2=1.30 |
99 |
|
100 |
Index: ChangeLog |
101 |
=================================================================== |
102 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v |
103 |
retrieving revision 1.29 |
104 |
retrieving revision 1.30 |
105 |
diff -u -r1.29 -r1.30 |
106 |
--- ChangeLog 5 Jan 2012 17:19:56 -0000 1.29 |
107 |
+++ ChangeLog 6 Jan 2012 21:24:15 -0000 1.30 |
108 |
@@ -1,6 +1,10 @@ |
109 |
# ChangeLog for dev-python/pyfltk |
110 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
111 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.29 2012/01/05 17:19:56 ssuominen Exp $ |
112 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.30 2012/01/06 21:24:15 hwoarang Exp $ |
113 |
+ |
114 |
+ 06 Jan 2012; Markos Chandras <hwoarang@g.o> pyfltk-1.3.0.ebuild: |
115 |
+ Fix dependencies. Restrict PyPy ABIs. Add doc USE flag. Call |
116 |
+ distutils_src_prepare(). Don't install tests. Patch by Arfrever. |
117 |
|
118 |
05 Jan 2012; Samuli Suominen <ssuominen@g.o> pyfltk-1.3.0.ebuild: |
119 |
amd64/x86 stable wrt #395739 |