1 |
commit: 80513ffdf94f733b72f917abd7ae7a15cd1d0677 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 06:19:04 2016 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 06:19:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80513ffd |
7 |
|
8 |
dev-util/boost-build: drop old masked versions |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-util/boost-build/Manifest | 3 - |
13 |
dev-util/boost-build/boost-build-1.52.0-r1.ebuild | 137 -------------------- |
14 |
dev-util/boost-build/boost-build-1.53.0.ebuild | 140 --------------------- |
15 |
dev-util/boost-build/boost-build-1.54.0.ebuild | 140 --------------------- |
16 |
...ild-1.48.0-support_dots_in_python-buildid.patch | 19 --- |
17 |
.../files/boost-build-1.50.0-fix-test.patch | 11 -- |
18 |
6 files changed, 450 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest |
21 |
index bc223f6..fb6648e 100644 |
22 |
--- a/dev-util/boost-build/Manifest |
23 |
+++ b/dev-util/boost-build/Manifest |
24 |
@@ -1,6 +1,3 @@ |
25 |
-DIST boost_1_52_0.tar.bz2 54421709 SHA256 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d WHIRLPOOL 73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d |
26 |
-DIST boost_1_53_0.tar.bz2 55765258 SHA256 f88a041b01882b0c9c5c05b39603ec8383fb881f772f6f9e6e6fd0e0cddb9196 SHA512 8cd7806653cb6ea4a1c6862796ef698de5ae0bdbda96954fedbe090c59e3e6cb8f8d385df35183e9063ac4e2c2fccf10744516c47a994cde5f1d1cba1b07e522 WHIRLPOOL e8c5ed6b34dd5f68dc7e102a9e22b302616a65077d3f4af370ece6352b02a866e04294a4fc76bbd5555b6a4131f590e6455e6a74b5f12c4ffc2dd15af0bc8746 |
27 |
-DIST boost_1_54_0.tar.bz2 57873778 SHA256 047e927de336af106a24bceba30069980c191529fd76b8dff8eb9a328b48ae1d SHA512 3467a2bb9b4797cadfc52150cb036939ef35263f421870897dbe9492d1504a714805668a193b0811fdaf39a3527ee693ff70da5b942d7ab11b307e2e693e1760 WHIRLPOOL dbe3cbecaccf86ca184cf73cff75c17d6307b680bab098e38a9efd24d17776481e597017fc9f8fc8f488495f315c6d2b14b9212c51cf98529c302482bf67e92a |
28 |
DIST boost_1_55_0.tar.bz2 58146647 SHA256 fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52 SHA512 dc606477f4c303e8f40de2586c16394b6d758e198b35bf3a7d3e576a2f49171aadc4f95e8d685fa731bc4e61e19869d5a24e1e816febfca9de078d66e096e041 WHIRLPOOL 6ae111d6a956651bd91914432b743faffeb466703191b05193db47f02fd3528a14ce200f26c1ab77bf2c68994eb5b135b0176f66a746964d334b4793ba113ad5 |
29 |
DIST boost_1_56_0.tar.bz2 94777674 SHA256 134732acaf3a6e7eba85988118d943f0fa6b7f0850f65131fff89823ad30ff1d SHA512 1ce9871c3a2519682538a5f1331938b948123432d99aea0ce026958cbebd25d84019a3a28c452724b9693df98a8d1264bb2d93d2fee508453f8b42836e67481e WHIRLPOOL e9e9bb965816b687141d55bc026e378a56ed577a2bf0bdad61a1736e7f11d1797e0cac0185a1fa25b6c4b9fe1f75cbb0bb73a5ea05e84d59385bb3b17a90fd12 |
30 |
DIST boost_1_57_0.tar.bz2 60821561 SHA256 910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967 SHA512 61881440fd89644c43c6e3bc6292e9fed75a6d3a76f98654b189d0ed4e1087d77b585884e882270c08bf9f7132b173bfc1fde05848e06aa78ba7f1008d10714d WHIRLPOOL ff092af332434082a774645a5eb42829cdbdac805ef86dccce8988542062901524bd4d5fc890e3a9c01f0a721047501e5d8b13d50ffa5368066c3438dcf719d6 |
31 |
|
32 |
diff --git a/dev-util/boost-build/boost-build-1.52.0-r1.ebuild b/dev-util/boost-build/boost-build-1.52.0-r1.ebuild |
33 |
deleted file mode 100644 |
34 |
index 484b2e2..0000000 |
35 |
--- a/dev-util/boost-build/boost-build-1.52.0-r1.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,137 +0,0 @@ |
38 |
-# Copyright 1999-2015 Gentoo Foundation |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
-# $Id$ |
41 |
- |
42 |
-EAPI="5" |
43 |
-PYTHON_DEPEND="python? 2" |
44 |
- |
45 |
-RESTRICT="test" |
46 |
- |
47 |
-inherit eutils flag-o-matic python toolchain-funcs versionator |
48 |
- |
49 |
-MY_PV=$(replace_all_version_separators _) |
50 |
- |
51 |
-DESCRIPTION="A system for large project software construction, simple to use and powerful" |
52 |
-HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" |
53 |
-SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" |
54 |
- |
55 |
-LICENSE="Boost-1.0" |
56 |
-SLOT=0 |
57 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
58 |
-IUSE="examples python test" |
59 |
- |
60 |
-REQUIRED_USE="test? ( python )" |
61 |
- |
62 |
-RDEPEND="!<dev-libs/boost-1.34.0 |
63 |
- !<=dev-util/boost-build-1.35.0-r1" |
64 |
-DEPEND="${RDEPEND} |
65 |
- test? ( sys-apps/diffutils )" |
66 |
- |
67 |
-S="${WORKDIR}/boost_${MY_PV}/tools/build/v2" |
68 |
- |
69 |
-pkg_setup() { |
70 |
- if use python; then |
71 |
- python_set_active_version 2 |
72 |
- python_pkg_setup |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_unpack() { |
77 |
- tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed" |
78 |
-} |
79 |
- |
80 |
-src_prepare() { |
81 |
- epatch \ |
82 |
- "${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \ |
83 |
- "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \ |
84 |
- "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \ |
85 |
- "${FILESDIR}/${PN}-1.50.0-fix-test.patch" \ |
86 |
- "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \ |
87 |
- "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" |
88 |
- |
89 |
- # Remove stripping option |
90 |
- cd "${S}/engine" |
91 |
- sed -i -e 's|-s\b||' \ |
92 |
- build.jam || die "sed failed" |
93 |
- |
94 |
- # Force regeneration |
95 |
- rm jambase.c || die |
96 |
- |
97 |
- # This patch allows us to fully control optimization |
98 |
- # and stripping flags when bjam is used as build-system |
99 |
- # We simply extend the optimization and debug-symbols feature |
100 |
- # with empty dummies called 'none' |
101 |
- cd "${S}" |
102 |
- sed -i \ |
103 |
- -e 's/\(off speed space\)/\1 none/' \ |
104 |
- -e 's/\(debug-symbols : on off\)/\1 none/' \ |
105 |
- tools/builtin.jam || die "sed failed" |
106 |
-} |
107 |
- |
108 |
-src_configure() { |
109 |
- if use python; then |
110 |
- # replace versions by user-selected one (TODO: fix this when slot-op |
111 |
- # deps are available to always match the best version available) |
112 |
- sed -i \ |
113 |
- -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \ |
114 |
- engine/build.jam || die "sed failed" |
115 |
- fi |
116 |
-} |
117 |
- |
118 |
-src_compile() { |
119 |
- cd engine |
120 |
- |
121 |
- local toolset |
122 |
- |
123 |
- if [[ ${CHOST} == *-darwin* ]]; then |
124 |
- toolset=darwin |
125 |
- else |
126 |
- # Using boost's generic toolset here, which respects CC and CFLAGS |
127 |
- toolset=cc |
128 |
- fi |
129 |
- |
130 |
- CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed" |
131 |
-} |
132 |
- |
133 |
-src_install() { |
134 |
- dobin engine/bin.*/{bjam,b2} |
135 |
- |
136 |
- insinto /usr/share/boost-build |
137 |
- doins -r "${FILESDIR}/site-config.jam" \ |
138 |
- boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \ |
139 |
- build kernel options tools util |
140 |
- |
141 |
- rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed" |
142 |
- if ! use python; then |
143 |
- find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed" |
144 |
- fi |
145 |
- |
146 |
- dodoc changes.txt hacking.txt release_procedure.txt \ |
147 |
- notes/build_dir_option.txt notes/relative_source_paths.txt |
148 |
- |
149 |
- if use examples; then |
150 |
- insinto /usr/share/doc/${PF} |
151 |
- doins -r example |
152 |
- fi |
153 |
-} |
154 |
- |
155 |
-src_test() { |
156 |
- cd test |
157 |
- |
158 |
- export TMP="${T}" |
159 |
- |
160 |
- DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py |
161 |
- |
162 |
- if [[ -s test_results.txt ]]; then |
163 |
- eerror "At least one test failed: $(<test_results.txt)" |
164 |
- die "tests failed" |
165 |
- fi |
166 |
-} |
167 |
- |
168 |
-pkg_postinst() { |
169 |
- use python && python_mod_optimize /usr/share/boost-build |
170 |
-} |
171 |
- |
172 |
-pkg_postrm() { |
173 |
- use python && python_mod_cleanup /usr/share/boost-build |
174 |
-} |
175 |
|
176 |
diff --git a/dev-util/boost-build/boost-build-1.53.0.ebuild b/dev-util/boost-build/boost-build-1.53.0.ebuild |
177 |
deleted file mode 100644 |
178 |
index 34a3f9f..0000000 |
179 |
--- a/dev-util/boost-build/boost-build-1.53.0.ebuild |
180 |
+++ /dev/null |
181 |
@@ -1,140 +0,0 @@ |
182 |
-# Copyright 1999-2015 Gentoo Foundation |
183 |
-# Distributed under the terms of the GNU General Public License v2 |
184 |
-# $Id$ |
185 |
- |
186 |
-EAPI="5" |
187 |
-PYTHON_DEPEND="python? 2" |
188 |
- |
189 |
-RESTRICT="test" |
190 |
- |
191 |
-inherit eutils flag-o-matic multilib python toolchain-funcs versionator |
192 |
- |
193 |
-MY_PV=$(replace_all_version_separators _) |
194 |
- |
195 |
-DESCRIPTION="A system for large project software construction, simple to use and powerful" |
196 |
-HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" |
197 |
-SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" |
198 |
- |
199 |
-LICENSE="Boost-1.0" |
200 |
-SLOT=0 |
201 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
202 |
-IUSE="examples python test" |
203 |
- |
204 |
-REQUIRED_USE="test? ( python )" |
205 |
- |
206 |
-RDEPEND="!<dev-libs/boost-1.34.0 |
207 |
- !<=dev-util/boost-build-1.35.0-r1" |
208 |
-DEPEND="${RDEPEND} |
209 |
- test? ( sys-apps/diffutils )" |
210 |
- |
211 |
-S="${WORKDIR}/boost_${MY_PV}/tools/build/v2" |
212 |
- |
213 |
-pkg_setup() { |
214 |
- if use python; then |
215 |
- python_set_active_version 2 |
216 |
- python_pkg_setup |
217 |
- fi |
218 |
-} |
219 |
- |
220 |
-src_unpack() { |
221 |
- tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed" |
222 |
-} |
223 |
- |
224 |
-src_prepare() { |
225 |
- epatch \ |
226 |
- "${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \ |
227 |
- "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \ |
228 |
- "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \ |
229 |
- "${FILESDIR}/${PN}-1.50.0-fix-test.patch" \ |
230 |
- "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \ |
231 |
- "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" |
232 |
- |
233 |
- # Remove stripping option |
234 |
- # Fix python components build on multilib systems, bug #496446 |
235 |
- cd "${S}/engine" |
236 |
- sed -i \ |
237 |
- -e 's|-s\b||' \ |
238 |
- -e "/libpython/s/lib ]/$(get_libdir) ]/" \ |
239 |
- build.jam || die "sed failed" |
240 |
- |
241 |
- # Force regeneration |
242 |
- rm jambase.c || die |
243 |
- |
244 |
- # This patch allows us to fully control optimization |
245 |
- # and stripping flags when bjam is used as build-system |
246 |
- # We simply extend the optimization and debug-symbols feature |
247 |
- # with empty dummies called 'none' |
248 |
- cd "${S}" |
249 |
- sed -i \ |
250 |
- -e 's/\(off speed space\)/\1 none/' \ |
251 |
- -e 's/\(debug-symbols : on off\)/\1 none/' \ |
252 |
- tools/builtin.jam || die "sed failed" |
253 |
-} |
254 |
- |
255 |
-src_configure() { |
256 |
- if use python; then |
257 |
- # replace versions by user-selected one (TODO: fix this when slot-op |
258 |
- # deps are available to always match the best version available) |
259 |
- sed -i \ |
260 |
- -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \ |
261 |
- engine/build.jam || die "sed failed" |
262 |
- fi |
263 |
-} |
264 |
- |
265 |
-src_compile() { |
266 |
- cd engine |
267 |
- |
268 |
- local toolset |
269 |
- |
270 |
- if [[ ${CHOST} == *-darwin* ]]; then |
271 |
- toolset=darwin |
272 |
- else |
273 |
- # Using boost's generic toolset here, which respects CC and CFLAGS |
274 |
- toolset=cc |
275 |
- fi |
276 |
- |
277 |
- CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed" |
278 |
-} |
279 |
- |
280 |
-src_install() { |
281 |
- dobin engine/bin.*/{bjam,b2} |
282 |
- |
283 |
- insinto /usr/share/boost-build |
284 |
- doins -r "${FILESDIR}/site-config.jam" \ |
285 |
- boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \ |
286 |
- build kernel options tools util |
287 |
- |
288 |
- rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed" |
289 |
- if ! use python; then |
290 |
- find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed" |
291 |
- fi |
292 |
- |
293 |
- dodoc changes.txt hacking.txt release_procedure.txt \ |
294 |
- notes/build_dir_option.txt notes/relative_source_paths.txt |
295 |
- |
296 |
- if use examples; then |
297 |
- insinto /usr/share/doc/${PF} |
298 |
- doins -r example |
299 |
- fi |
300 |
-} |
301 |
- |
302 |
-src_test() { |
303 |
- cd test |
304 |
- |
305 |
- export TMP="${T}" |
306 |
- |
307 |
- DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py |
308 |
- |
309 |
- if [[ -s test_results.txt ]]; then |
310 |
- eerror "At least one test failed: $(<test_results.txt)" |
311 |
- die "tests failed" |
312 |
- fi |
313 |
-} |
314 |
- |
315 |
-pkg_postinst() { |
316 |
- use python && python_mod_optimize /usr/share/boost-build |
317 |
-} |
318 |
- |
319 |
-pkg_postrm() { |
320 |
- use python && python_mod_cleanup /usr/share/boost-build |
321 |
-} |
322 |
|
323 |
diff --git a/dev-util/boost-build/boost-build-1.54.0.ebuild b/dev-util/boost-build/boost-build-1.54.0.ebuild |
324 |
deleted file mode 100644 |
325 |
index 24c42de..0000000 |
326 |
--- a/dev-util/boost-build/boost-build-1.54.0.ebuild |
327 |
+++ /dev/null |
328 |
@@ -1,140 +0,0 @@ |
329 |
-# Copyright 1999-2015 Gentoo Foundation |
330 |
-# Distributed under the terms of the GNU General Public License v2 |
331 |
-# $Id$ |
332 |
- |
333 |
-EAPI="5" |
334 |
-PYTHON_DEPEND="python? 2" |
335 |
- |
336 |
-RESTRICT="test" |
337 |
- |
338 |
-inherit eutils flag-o-matic multilib python toolchain-funcs versionator |
339 |
- |
340 |
-MY_PV=$(replace_all_version_separators _) |
341 |
- |
342 |
-DESCRIPTION="A system for large project software construction, simple to use and powerful" |
343 |
-HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" |
344 |
-SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" |
345 |
- |
346 |
-LICENSE="Boost-1.0" |
347 |
-SLOT=0 |
348 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
349 |
-IUSE="examples python test" |
350 |
- |
351 |
-REQUIRED_USE="test? ( python )" |
352 |
- |
353 |
-RDEPEND="!<dev-libs/boost-1.34.0 |
354 |
- !<=dev-util/boost-build-1.35.0-r1" |
355 |
-DEPEND="${RDEPEND} |
356 |
- test? ( sys-apps/diffutils )" |
357 |
- |
358 |
-S="${WORKDIR}/boost_${MY_PV}/tools/build/v2" |
359 |
- |
360 |
-pkg_setup() { |
361 |
- if use python; then |
362 |
- python_set_active_version 2 |
363 |
- python_pkg_setup |
364 |
- fi |
365 |
-} |
366 |
- |
367 |
-src_unpack() { |
368 |
- tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed" |
369 |
-} |
370 |
- |
371 |
-src_prepare() { |
372 |
- epatch \ |
373 |
- "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \ |
374 |
- "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \ |
375 |
- "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \ |
376 |
- "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \ |
377 |
- "${FILESDIR}/${PN}-1.54.0-fix-test.patch" \ |
378 |
- "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch" |
379 |
- |
380 |
- # Remove stripping option |
381 |
- # Fix python components build on multilib systems, bug #496446 |
382 |
- cd "${S}/engine" |
383 |
- sed -i \ |
384 |
- -e 's|-s\b||' \ |
385 |
- -e "/libpython/s/lib ]/$(get_libdir) ]/" \ |
386 |
- build.jam || die "sed failed" |
387 |
- |
388 |
- # Force regeneration |
389 |
- rm jambase.c || die |
390 |
- |
391 |
- # This patch allows us to fully control optimization |
392 |
- # and stripping flags when bjam is used as build-system |
393 |
- # We simply extend the optimization and debug-symbols feature |
394 |
- # with empty dummies called 'none' |
395 |
- cd "${S}" |
396 |
- sed -i \ |
397 |
- -e 's/\(off speed space\)/\1 none/' \ |
398 |
- -e 's/\(debug-symbols : on off\)/\1 none/' \ |
399 |
- tools/builtin.jam || die "sed failed" |
400 |
-} |
401 |
- |
402 |
-src_configure() { |
403 |
- if use python; then |
404 |
- # replace versions by user-selected one (TODO: fix this when slot-op |
405 |
- # deps are available to always match the best version available) |
406 |
- sed -i \ |
407 |
- -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \ |
408 |
- engine/build.jam || die "sed failed" |
409 |
- fi |
410 |
-} |
411 |
- |
412 |
-src_compile() { |
413 |
- cd engine |
414 |
- |
415 |
- local toolset |
416 |
- |
417 |
- if [[ ${CHOST} == *-darwin* ]]; then |
418 |
- toolset=darwin |
419 |
- else |
420 |
- # Using boost's generic toolset here, which respects CC and CFLAGS |
421 |
- toolset=cc |
422 |
- fi |
423 |
- |
424 |
- CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed" |
425 |
-} |
426 |
- |
427 |
-src_install() { |
428 |
- dobin engine/bin.*/{bjam,b2} |
429 |
- |
430 |
- insinto /usr/share/boost-build |
431 |
- doins -r "${FILESDIR}/site-config.jam" \ |
432 |
- boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \ |
433 |
- build kernel options tools util |
434 |
- |
435 |
- rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed" |
436 |
- if ! use python; then |
437 |
- find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed" |
438 |
- fi |
439 |
- |
440 |
- dodoc changes.txt hacking.txt release_procedure.txt \ |
441 |
- notes/build_dir_option.txt notes/relative_source_paths.txt |
442 |
- |
443 |
- if use examples; then |
444 |
- insinto /usr/share/doc/${PF} |
445 |
- doins -r example |
446 |
- fi |
447 |
-} |
448 |
- |
449 |
-src_test() { |
450 |
- cd test |
451 |
- |
452 |
- export TMP="${T}" |
453 |
- |
454 |
- DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py |
455 |
- |
456 |
- if [[ -s test_results.txt ]]; then |
457 |
- eerror "At least one test failed: $(<test_results.txt)" |
458 |
- die "tests failed" |
459 |
- fi |
460 |
-} |
461 |
- |
462 |
-pkg_postinst() { |
463 |
- use python && python_mod_optimize /usr/share/boost-build |
464 |
-} |
465 |
- |
466 |
-pkg_postrm() { |
467 |
- use python && python_mod_cleanup /usr/share/boost-build |
468 |
-} |
469 |
|
470 |
diff --git a/dev-util/boost-build/files/boost-build-1.48.0-support_dots_in_python-buildid.patch b/dev-util/boost-build/files/boost-build-1.48.0-support_dots_in_python-buildid.patch |
471 |
deleted file mode 100644 |
472 |
index b3bee03..0000000 |
473 |
--- a/dev-util/boost-build/files/boost-build-1.48.0-support_dots_in_python-buildid.patch |
474 |
+++ /dev/null |
475 |
@@ -1,19 +0,0 @@ |
476 |
---- tools/common.jam |
477 |
-+++ tools/common.jam |
478 |
-@@ -759,7 +759,15 @@ |
479 |
- switch $(f:G) |
480 |
- { |
481 |
- case <base> : |
482 |
-- result += $(name:B) ; |
483 |
-+ local matched = [ MATCH "^(boost.*python)-.*" : $(name) ] ; |
484 |
-+ if $(matched) = boost_python || $(matched) = boost_mpi_python |
485 |
-+ { |
486 |
-+ result += $(name) ; |
487 |
-+ } |
488 |
-+ else |
489 |
-+ { |
490 |
-+ result += $(name:B) ; |
491 |
-+ } |
492 |
- |
493 |
- case <toolset> : |
494 |
- result += [ join-tag $(f:G=) : [ toolset-tag $(name) : $(type) : |
495 |
|
496 |
diff --git a/dev-util/boost-build/files/boost-build-1.50.0-fix-test.patch b/dev-util/boost-build/files/boost-build-1.50.0-fix-test.patch |
497 |
deleted file mode 100644 |
498 |
index 31f8db2..0000000 |
499 |
--- a/dev-util/boost-build/files/boost-build-1.50.0-fix-test.patch |
500 |
+++ /dev/null |
501 |
@@ -1,11 +0,0 @@ |
502 |
---- test/startup_v2.py.orig 2012-08-19 11:48:12.020600368 +0200 |
503 |
-+++ test/startup_v2.py 2012-08-19 11:48:28.564516623 +0200 |
504 |
-@@ -14,7 +14,7 @@ |
505 |
- return re.match(expected,actual,re.DOTALL) != None |
506 |
- |
507 |
- # Test the v1 startup behavior. |
508 |
--t = BoostBuild.Tester(match=match_re, boost_build_path='', pass_toolset=0) |
509 |
-+t = BoostBuild.Tester(match=match_re, boost_build_path='/invalid/location', pass_toolset=0) |
510 |
- |
511 |
- t.set_tree('startup') |
512 |
- |