1 |
floppym 12/01/28 19:58:09 |
2 |
|
3 |
Modified: visual-5.72.ebuild visual-5.4.ebuild ChangeLog |
4 |
Added: visual-5.72-r1.ebuild |
5 |
Log: |
6 |
Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch by Arfrever. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-python/visual/visual-5.72.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.72.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.72.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.72.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: visual-5.72.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.72.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- visual-5.72.ebuild 5 Jan 2012 17:37:14 -0000 1.1 |
24 |
+++ visual-5.72.ebuild 28 Jan 2012 19:58:09 -0000 1.2 |
25 |
@@ -1,10 +1,10 @@ |
26 |
# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.72.ebuild,v 1.1 2012/01/05 17:37:14 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.72.ebuild,v 1.2 2012/01/28 19:58:09 floppym Exp $ |
30 |
|
31 |
EAPI="3" |
32 |
-PYTHON_DEPEND="2" |
33 |
SUPPORT_PYTHON_ABIS="1" |
34 |
+RESTRICT_PYTHON_ABIS="*-jython *-pypy-*" |
35 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
36 |
|
37 |
inherit flag-o-matic python versionator |
38 |
@@ -20,7 +20,7 @@ |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
LICENSE="visual" |
41 |
|
42 |
-RDEPEND=">=dev-libs/boost-1.41.0[python] |
43 |
+RDEPEND="<dev-libs/boost-1.48[python] |
44 |
dev-cpp/libglademm |
45 |
>=dev-cpp/gtkglextmm-1.2 |
46 |
dev-python/numpy |
47 |
|
48 |
|
49 |
|
50 |
1.5 dev-python/visual/visual-5.4.ebuild |
51 |
|
52 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.4.ebuild?rev=1.5&view=markup |
53 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.4.ebuild?rev=1.5&content-type=text/plain |
54 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.4.ebuild?r1=1.4&r2=1.5 |
55 |
|
56 |
Index: visual-5.4.ebuild |
57 |
=================================================================== |
58 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.4.ebuild,v |
59 |
retrieving revision 1.4 |
60 |
retrieving revision 1.5 |
61 |
diff -u -r1.4 -r1.5 |
62 |
--- visual-5.4.ebuild 15 Jan 2011 15:41:39 -0000 1.4 |
63 |
+++ visual-5.4.ebuild 28 Jan 2012 19:58:09 -0000 1.5 |
64 |
@@ -1,11 +1,11 @@ |
65 |
-# Copyright 1999-2011 Gentoo Foundation |
66 |
+# Copyright 1999-2012 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.4.ebuild,v 1.4 2011/01/15 15:41:39 maekke Exp $ |
69 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.4.ebuild,v 1.5 2012/01/28 19:58:09 floppym Exp $ |
70 |
|
71 |
EAPI="3" |
72 |
PYTHON_DEPEND="2" |
73 |
SUPPORT_PYTHON_ABIS="1" |
74 |
-RESTRICT_PYTHON_ABIS="3.* *-jython" |
75 |
+RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" |
76 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
77 |
|
78 |
inherit flag-o-matic python versionator |
79 |
@@ -21,7 +21,7 @@ |
80 |
KEYWORDS="amd64 ppc x86" |
81 |
LICENSE="visual" |
82 |
|
83 |
-RDEPEND=">=dev-libs/boost-1.41.0[python] |
84 |
+RDEPEND="<dev-libs/boost-1.48[python] |
85 |
dev-cpp/libglademm |
86 |
>=dev-cpp/gtkglextmm-1.2 |
87 |
dev-python/numpy" |
88 |
|
89 |
|
90 |
|
91 |
1.50 dev-python/visual/ChangeLog |
92 |
|
93 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/ChangeLog?rev=1.50&view=markup |
94 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/ChangeLog?rev=1.50&content-type=text/plain |
95 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/ChangeLog?r1=1.49&r2=1.50 |
96 |
|
97 |
Index: ChangeLog |
98 |
=================================================================== |
99 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v |
100 |
retrieving revision 1.49 |
101 |
retrieving revision 1.50 |
102 |
diff -u -r1.49 -r1.50 |
103 |
--- ChangeLog 5 Jan 2012 17:37:14 -0000 1.49 |
104 |
+++ ChangeLog 28 Jan 2012 19:58:09 -0000 1.50 |
105 |
@@ -1,6 +1,13 @@ |
106 |
# ChangeLog for dev-python/visual |
107 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
108 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.49 2012/01/05 17:37:14 bicatali Exp $ |
109 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/ChangeLog,v 1.50 2012/01/28 19:58:09 floppym Exp $ |
110 |
+ |
111 |
+*visual-5.72-r1 (28 Jan 2012) |
112 |
+ |
113 |
+ 28 Jan 2012; Mike Gilbert <floppym@g.o> +visual-5.72-r1.ebuild, |
114 |
+ visual-5.4.ebuild, visual-5.72.ebuild: |
115 |
+ Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch |
116 |
+ by Arfrever. |
117 |
|
118 |
*visual-5.72 (05 Jan 2012) |
119 |
|
120 |
|
121 |
|
122 |
|
123 |
1.1 dev-python/visual/visual-5.72-r1.ebuild |
124 |
|
125 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.72-r1.ebuild?rev=1.1&view=markup |
126 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/visual/visual-5.72-r1.ebuild?rev=1.1&content-type=text/plain |
127 |
|
128 |
Index: visual-5.72-r1.ebuild |
129 |
=================================================================== |
130 |
# Copyright 1999-2012 Gentoo Foundation |
131 |
# Distributed under the terms of the GNU General Public License v2 |
132 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.72-r1.ebuild,v 1.1 2012/01/28 19:58:09 floppym Exp $ |
133 |
|
134 |
EAPI="4" |
135 |
SUPPORT_PYTHON_ABIS="1" |
136 |
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*" |
137 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
138 |
|
139 |
inherit flag-o-matic python versionator |
140 |
|
141 |
MY_P="${PN}-$(delete_version_separator 2)_release" |
142 |
|
143 |
DESCRIPTION="Real-time 3D graphics library for Python" |
144 |
HOMEPAGE="http://www.vpython.org/" |
145 |
SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2" |
146 |
|
147 |
LICENSE="visual" |
148 |
SLOT="0" |
149 |
KEYWORDS="~amd64 ~x86" |
150 |
IUSE="doc examples" |
151 |
|
152 |
RDEPEND=">=dev-cpp/gtkglextmm-1.2 |
153 |
dev-cpp/libglademm |
154 |
>=dev-libs/boost-1.48[python] |
155 |
dev-python/numpy |
156 |
dev-python/polygon |
157 |
dev-python/ttfquery" |
158 |
DEPEND="${RDEPEND} |
159 |
dev-util/pkgconfig" |
160 |
|
161 |
S="${WORKDIR}/${MY_P}" |
162 |
|
163 |
src_prepare() { |
164 |
# Delete redundant file, which causes compilation failure. |
165 |
rm -f src/gtk2/random_device.cpp |
166 |
sed -e "s/ random_device.l\?o//" -i src/Makefile.in src/gtk2/makefile || die "sed failed" |
167 |
|
168 |
# Verbose build. |
169 |
sed -e 's/2\?>>[[:space:]]*\$(LOGFILE).*//' -i src/Makefile.in || die "sed failed" |
170 |
|
171 |
python_clean_py-compile_files |
172 |
python_src_prepare |
173 |
|
174 |
preparation() { |
175 |
sed \ |
176 |
-e "s/-lboost_python/-lboost_python-${PYTHON_ABI}/" \ |
177 |
-e "s/libboost_python/libboost_python-${PYTHON_ABI}/" \ |
178 |
-i src/Makefile.in src/gtk2/makefile |
179 |
} |
180 |
python_execute_function -s preparation |
181 |
} |
182 |
|
183 |
src_configure() { |
184 |
BOOST_PKG="$(best_version ">=dev-libs/boost-1.48")" |
185 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
186 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
187 |
BOOST_INC="${EPREFIX}/usr/include/boost-${BOOST_VER}" |
188 |
BOOST_LIB="${EPREFIX}/usr/$(get_libdir)/boost-${BOOST_VER}" |
189 |
|
190 |
# Specify the include and lib directory for Boost. |
191 |
append-cxxflags -I${BOOST_INC} |
192 |
append-ldflags -L${BOOST_LIB} |
193 |
|
194 |
python_src_configure \ |
195 |
--with-example-dir="${EPREFIX}/usr/share/doc/${PF}/examples" \ |
196 |
--with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" \ |
197 |
$(use_enable doc docs) \ |
198 |
$(use_enable examples) |
199 |
} |
200 |
|
201 |
src_install() { |
202 |
python_src_install |
203 |
python_clean_installation_image |
204 |
|
205 |
dodoc authors.txt HACKING.txt NEWS.txt |
206 |
|
207 |
# Don't install useless vpython script. |
208 |
rm -fr "${ED}usr/bin" |
209 |
} |
210 |
|
211 |
pkg_postinst() { |
212 |
python_mod_optimize vis visual |
213 |
} |
214 |
|
215 |
pkg_postrm() { |
216 |
python_mod_cleanup vis visual |
217 |
} |