Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/boost-build/
Date: Tue, 04 Apr 2017 17:54:38
Message-Id: 1491328464.abc5c3d3b5a854114070bf6ed2a9e6ad2f04d6e8.soap@gentoo
1 commit: abc5c3d3b5a854114070bf6ed2a9e6ad2f04d6e8
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 4 17:33:14 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 4 17:54:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc5c3d3
7
8 dev-util/boost-build: Remove old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/4352
12
13 dev-util/boost-build/Manifest | 5 -
14 dev-util/boost-build/boost-build-1.56.0.ebuild | 138 ------------------------
15 dev-util/boost-build/boost-build-1.58.0.ebuild | 138 ------------------------
16 dev-util/boost-build/boost-build-1.59.0.ebuild | 138 ------------------------
17 dev-util/boost-build/boost-build-1.60.0.ebuild | 138 ------------------------
18 dev-util/boost-build/boost-build-1.61.0.ebuild | 139 -------------------------
19 6 files changed, 696 deletions(-)
20
21 diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
22 index c464b7788c7..2bed45d4d28 100644
23 --- a/dev-util/boost-build/Manifest
24 +++ b/dev-util/boost-build/Manifest
25 @@ -1,7 +1,2 @@
26 -DIST boost_1_56_0.tar.bz2 94777674 SHA256 134732acaf3a6e7eba85988118d943f0fa6b7f0850f65131fff89823ad30ff1d SHA512 1ce9871c3a2519682538a5f1331938b948123432d99aea0ce026958cbebd25d84019a3a28c452724b9693df98a8d1264bb2d93d2fee508453f8b42836e67481e WHIRLPOOL e9e9bb965816b687141d55bc026e378a56ed577a2bf0bdad61a1736e7f11d1797e0cac0185a1fa25b6c4b9fe1f75cbb0bb73a5ea05e84d59385bb3b17a90fd12
27 -DIST boost_1_58_0.tar.bz2 70394057 SHA256 fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5 SHA512 7480ec713b0aa13f0ec990603e87e3b5c8d53f4411329b10fae37fc963b90aad12dbd9290a33c3669ae801e9012a68683eadff057591e9ca2ebcd22b1a67b5d1 WHIRLPOOL 0ed66f7de8b2ac28eda89e2fcadfc5533e6a3887ef7a929610804efa3ca66b850fecafeb61c986d37cb704ec844744e47d08f87e08ea25c779f57cffd26a1be2
28 -DIST boost_1_59_0.tar.bz2 70389425 SHA256 727a932322d94287b62abb1bd2d41723eec4356a7728909e38adb65ca25241ca SHA512 8139e1ae997a86974071c5714ad3307e3d8fd15ef702b81a953410dd4d424b932135f53a0ef4891d9b9b747a38e539e66d6a803388fe0cc98e5166be872d682a WHIRLPOOL ab26f6b770c32320e71806d7f7856b3841917dcc59e0c5ee588fc77d77f11855dda66bfb808dbe0f3f89859b958211439c271401a5b1ad2ea98aa5d377934510
29 -DIST boost_1_60_0.tar.bz2 76553944 SHA256 686affff989ac2488f79a97b9479efb9f2abae035b5ed4d8226de6857933fd3b SHA512 7c851b3fc2b322ff05d642d9cf03e7c30c5f04d5cf0579c99046b1ec708901c58a3d349031dfe24591f5b88c1e664b6a0d40abea6cce89abb52080c02eb725df WHIRLPOOL 828b0797a8b62150ecef5ee13f0e8b8d6b6a0e7365511ec9782d2d8f3a26ac38a98f10876c40d05ea46697c013b1f96f22b3a24c449372520c84bb725059fe48
30 -DIST boost_1_61_0.tar.bz2 85202254 SHA256 a547bd06c2fd9a71ba1d169d9cf0339da7ebf4753849a8f7d6fdb8feee99b640 SHA512 a1c7338e2d2dbac8552ede7c554640d22cbb2fda7fbc325dc3cdcb51e769713626695426ffc158cbe0e1729dd9a7b5ad18af4800d74e24539e8d8564268c2b9d WHIRLPOOL 59b47e7ae9ae8443ecaab29b1104cfe3ebfa607d22afcc3fad4a87bdfd575939eba8130a80fd509da178eb3227a26cb74db51852716dc5df068d36fc4839372b
31 DIST boost_1_62_0.tar.bz2 84513338 SHA256 36c96b0f6155c98404091d8ceb48319a28279ca0333fba1ad8611eb90afb2ca0 SHA512 5385ae3d5255a433a704169ad454d8dc2b0b5bcae3fb23defd6570df4ff7d845cf9fcbeebccdc1c5db0eec9f82ee3d90040de9507c8167467c635d3b215463be WHIRLPOOL 49c4558d5e6d72084f083a76217e3d97b504f112d7e4d228eded72dc49fa7e675ba943a9fc52a3c27d296ee689aee27d4566796c6eae71cf647430285777c0fb
32 DIST boost_1_63_0.tar.bz2 81984414 SHA256 beae2529f759f6b3bf3f4969a19c2e9d6f0c503edcb2de4a61d1428519fcb3b0 SHA512 c915c5f5778dee49b8e9d0a40f37f90f56fb1fdb1d8ce92d97bf48bc7bc462212487badfe4bbe30b06196d1149cfb221da12ac54e97499b0d4cb6466813bb4ad WHIRLPOOL 28c241785097272a1e0952e529eef082444e4ef35a8d738161e4a491a986d75359d3afe888b2ea91a4a81b6ec7a5772ebea337c9d09377b43f6eed66cac90378
33
34 diff --git a/dev-util/boost-build/boost-build-1.56.0.ebuild b/dev-util/boost-build/boost-build-1.56.0.ebuild
35 deleted file mode 100644
36 index 72b917152b6..00000000000
37 --- a/dev-util/boost-build/boost-build-1.56.0.ebuild
38 +++ /dev/null
39 @@ -1,138 +0,0 @@
40 -# Copyright 1999-2017 Gentoo Foundation
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI="5"
44 -
45 -RESTRICT="test"
46 -
47 -PYTHON_COMPAT=( python2_7 )
48 -inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs versionator
49 -
50 -MY_PV="$(replace_all_version_separators _)"
51 -
52 -DESCRIPTION="A system for large project software construction, simple to use and powerful"
53 -HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
54 -SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
55 -
56 -LICENSE="Boost-1.0"
57 -SLOT="0"
58 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
59 -IUSE="examples python test"
60 -
61 -RDEPEND="python? ( ${PYTHON_DEPS} )
62 - !<dev-libs/boost-1.34.0
63 - !<=dev-util/boost-build-1.35.0-r1"
64 -DEPEND="${RDEPEND}
65 - test? ( sys-apps/diffutils
66 - ${PYTHON_DEPS} )"
67 -
68 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
69 - test? ( ${PYTHON_REQUIRED_USE} )"
70 -
71 -S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
72 -
73 -pkg_setup() {
74 - if use python || use test; then
75 - python-single-r1_pkg_setup
76 - fi
77 -}
78 -
79 -src_unpack() {
80 - tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
81 -}
82 -
83 -src_prepare() {
84 - epatch \
85 - "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
86 - "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
87 - "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
88 - "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \
89 - "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch" \
90 - "${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
91 -
92 - pushd ../ &>/dev/null || die
93 - epatch "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
94 - popd &>/dev/null || die
95 -
96 - # Remove stripping option
97 - # Fix python components build on multilib systems, bug #496446
98 - cd "${S}/engine" || die
99 - sed -i \
100 - -e 's|-s\b||' \
101 - -e "/libpython/s/lib ]/$(get_libdir) ]/" \
102 - build.jam || die "sed failed"
103 -
104 - # Force regeneration
105 - rm jambase.c || die
106 -
107 - # This patch allows us to fully control optimization
108 - # and stripping flags when bjam is used as build-system
109 - # We simply extend the optimization and debug-symbols feature
110 - # with empty dummies called 'none'
111 - cd "${S}" || die
112 - sed -i \
113 - -e 's/\(off speed space\)/\1 none/' \
114 - -e 's/\(debug-symbols : on off\)/\1 none/' \
115 - tools/builtin.jam || die "sed failed"
116 -
117 - epatch_user
118 -}
119 -
120 -src_configure() {
121 - if use python; then
122 - # replace versions by user-selected one (TODO: fix this when slot-op
123 - # deps are available to always match the best version available)
124 - sed -i \
125 - -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${EPYTHON#python}|" \
126 - engine/build.jam || die "sed failed"
127 - fi
128 -}
129 -
130 -src_compile() {
131 - cd engine || die
132 -
133 - local toolset
134 -
135 - if [[ ${CHOST} == *-darwin* ]]; then
136 - toolset=darwin
137 - else
138 - # Using boost's generic toolset here, which respects CC and CFLAGS
139 - toolset=cc
140 - fi
141 -
142 - CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
143 -}
144 -
145 -src_install() {
146 - dobin engine/bin.*/{bjam,b2}
147 -
148 - insinto /usr/share/boost-build
149 - doins -r "${FILESDIR}/site-config.jam" \
150 - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
151 - build kernel options tools util
152 -
153 - rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
154 - if ! use python; then
155 - find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
156 - fi
157 -
158 - dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
159 -
160 - if use examples; then
161 - dodoc -r ../example
162 - docompress -x "/usr/share/doc/${PF}/example"
163 - fi
164 -}
165 -
166 -src_test() {
167 - cd ../test || die
168 -
169 - export TMP="${T}"
170 -
171 - DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
172 -
173 - if [[ -s test_results.txt ]]; then
174 - eerror "At least one test failed: $(<test_results.txt)"
175 - die "tests failed"
176 - fi
177 -}
178
179 diff --git a/dev-util/boost-build/boost-build-1.58.0.ebuild b/dev-util/boost-build/boost-build-1.58.0.ebuild
180 deleted file mode 100644
181 index dc8b4e32dbf..00000000000
182 --- a/dev-util/boost-build/boost-build-1.58.0.ebuild
183 +++ /dev/null
184 @@ -1,138 +0,0 @@
185 -# Copyright 1999-2017 Gentoo Foundation
186 -# Distributed under the terms of the GNU General Public License v2
187 -
188 -EAPI="5"
189 -
190 -RESTRICT="test"
191 -
192 -PYTHON_COMPAT=( python2_7 )
193 -inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs versionator
194 -
195 -MY_PV="$(replace_all_version_separators _)"
196 -
197 -DESCRIPTION="A system for large project software construction, simple to use and powerful"
198 -HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
199 -SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
200 -
201 -LICENSE="Boost-1.0"
202 -SLOT="0"
203 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
204 -IUSE="examples python test"
205 -
206 -RDEPEND="python? ( ${PYTHON_DEPS} )
207 - !<dev-libs/boost-1.34.0
208 - !<=dev-util/boost-build-1.35.0-r1"
209 -DEPEND="${RDEPEND}
210 - test? ( sys-apps/diffutils
211 - ${PYTHON_DEPS} )"
212 -
213 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
214 - test? ( ${PYTHON_REQUIRED_USE} )"
215 -
216 -S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
217 -
218 -pkg_setup() {
219 - if use python || use test; then
220 - python-single-r1_pkg_setup
221 - fi
222 -}
223 -
224 -src_unpack() {
225 - tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
226 -}
227 -
228 -src_prepare() {
229 - epatch \
230 - "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
231 - "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
232 - "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
233 - "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \
234 - "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch" \
235 - "${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
236 -
237 - pushd ../ &>/dev/null || die
238 - epatch "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
239 - popd &>/dev/null || die
240 -
241 - # Remove stripping option
242 - # Fix python components build on multilib systems, bug #496446
243 - cd "${S}/engine" || die
244 - sed -i \
245 - -e 's|-s\b||' \
246 - -e "/libpython/s/lib ]/$(get_libdir) ]/" \
247 - build.jam || die "sed failed"
248 -
249 - # Force regeneration
250 - rm jambase.c || die
251 -
252 - # This patch allows us to fully control optimization
253 - # and stripping flags when bjam is used as build-system
254 - # We simply extend the optimization and debug-symbols feature
255 - # with empty dummies called 'none'
256 - cd "${S}" || die
257 - sed -i \
258 - -e 's/\(off speed space\)/\1 none/' \
259 - -e 's/\(debug-symbols : on off\)/\1 none/' \
260 - tools/builtin.jam || die "sed failed"
261 -
262 - epatch_user
263 -}
264 -
265 -src_configure() {
266 - if use python; then
267 - # replace versions by user-selected one (TODO: fix this when slot-op
268 - # deps are available to always match the best version available)
269 - sed -i \
270 - -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${EPYTHON#python}|" \
271 - engine/build.jam || die "sed failed"
272 - fi
273 -}
274 -
275 -src_compile() {
276 - cd engine || die
277 -
278 - local toolset
279 -
280 - if [[ ${CHOST} == *-darwin* ]]; then
281 - toolset=darwin
282 - else
283 - # Using boost's generic toolset here, which respects CC and CFLAGS
284 - toolset=cc
285 - fi
286 -
287 - CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
288 -}
289 -
290 -src_install() {
291 - dobin engine/bin.*/{bjam,b2}
292 -
293 - insinto /usr/share/boost-build
294 - doins -r "${FILESDIR}/site-config.jam" \
295 - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
296 - build kernel options tools util
297 -
298 - rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
299 - if ! use python; then
300 - find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
301 - fi
302 -
303 - dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
304 -
305 - if use examples; then
306 - dodoc -r ../example
307 - docompress -x "/usr/share/doc/${PF}/example"
308 - fi
309 -}
310 -
311 -src_test() {
312 - cd ../test || die
313 -
314 - export TMP="${T}"
315 -
316 - DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
317 -
318 - if [[ -s test_results.txt ]]; then
319 - eerror "At least one test failed: $(<test_results.txt)"
320 - die "tests failed"
321 - fi
322 -}
323
324 diff --git a/dev-util/boost-build/boost-build-1.59.0.ebuild b/dev-util/boost-build/boost-build-1.59.0.ebuild
325 deleted file mode 100644
326 index 01fd3eec911..00000000000
327 --- a/dev-util/boost-build/boost-build-1.59.0.ebuild
328 +++ /dev/null
329 @@ -1,138 +0,0 @@
330 -# Copyright 1999-2017 Gentoo Foundation
331 -# Distributed under the terms of the GNU General Public License v2
332 -
333 -EAPI="6"
334 -
335 -RESTRICT="test"
336 -
337 -PYTHON_COMPAT=( python2_7 )
338 -inherit eutils flag-o-matic python-single-r1 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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~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 -RDEPEND="python? ( ${PYTHON_DEPS} )
352 - !<dev-libs/boost-1.34.0
353 - !<=dev-util/boost-build-1.35.0-r1"
354 -DEPEND="${RDEPEND}
355 - test? ( sys-apps/diffutils
356 - ${PYTHON_DEPS} )"
357 -
358 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
359 - test? ( ${PYTHON_REQUIRED_USE} )"
360 -
361 -S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
362 -
363 -pkg_setup() {
364 - if use python || use test; then
365 - python-single-r1_pkg_setup
366 - fi
367 -}
368 -
369 -src_unpack() {
370 - tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
371 -}
372 -
373 -src_prepare() {
374 - epatch \
375 - "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
376 - "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
377 - "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
378 - "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \
379 - "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch" \
380 - "${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
381 -
382 - pushd ../ &>/dev/null || die
383 - epatch "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
384 - popd &>/dev/null || die
385 -
386 - # Remove stripping option
387 - # Fix python components build on multilib systems, bug #496446
388 - cd "${S}/engine" || die
389 - sed -i \
390 - -e 's|-s\b||' \
391 - -e "/libpython/s/lib ]/$(get_libdir) ]/" \
392 - build.jam || die "sed failed"
393 -
394 - # Force regeneration
395 - rm jambase.c || die
396 -
397 - # This patch allows us to fully control optimization
398 - # and stripping flags when bjam is used as build-system
399 - # We simply extend the optimization and debug-symbols feature
400 - # with empty dummies called 'none'
401 - cd "${S}" || die
402 - sed -i \
403 - -e 's/\(off speed space\)/\1 none/' \
404 - -e 's/\(debug-symbols : on off\)/\1 none/' \
405 - tools/builtin.jam || die "sed failed"
406 -
407 - eapply_user
408 -}
409 -
410 -src_configure() {
411 - if use python; then
412 - # replace versions by user-selected one (TODO: fix this when slot-op
413 - # deps are available to always match the best version available)
414 - sed -i \
415 - -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${EPYTHON#python}|" \
416 - engine/build.jam || die "sed failed"
417 - fi
418 -}
419 -
420 -src_compile() {
421 - cd engine || die
422 -
423 - local toolset
424 -
425 - if [[ ${CHOST} == *-darwin* ]]; then
426 - toolset=darwin
427 - else
428 - # Using boost's generic toolset here, which respects CC and CFLAGS
429 - toolset=cc
430 - fi
431 -
432 - CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
433 -}
434 -
435 -src_install() {
436 - dobin engine/bin.*/{bjam,b2}
437 -
438 - insinto /usr/share/boost-build
439 - doins -r "${FILESDIR}/site-config.jam" \
440 - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
441 - build kernel options tools util
442 -
443 - rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
444 - if ! use python; then
445 - find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
446 - fi
447 -
448 - dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
449 -
450 - if use examples; then
451 - dodoc -r ../example
452 - docompress -x "/usr/share/doc/${PF}/example"
453 - fi
454 -}
455 -
456 -src_test() {
457 - cd ../test || die
458 -
459 - export TMP="${T}"
460 -
461 - DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
462 -
463 - if [[ -s test_results.txt ]]; then
464 - eerror "At least one test failed: $(<test_results.txt)"
465 - die "tests failed"
466 - fi
467 -}
468
469 diff --git a/dev-util/boost-build/boost-build-1.60.0.ebuild b/dev-util/boost-build/boost-build-1.60.0.ebuild
470 deleted file mode 100644
471 index 01fd3eec911..00000000000
472 --- a/dev-util/boost-build/boost-build-1.60.0.ebuild
473 +++ /dev/null
474 @@ -1,138 +0,0 @@
475 -# Copyright 1999-2017 Gentoo Foundation
476 -# Distributed under the terms of the GNU General Public License v2
477 -
478 -EAPI="6"
479 -
480 -RESTRICT="test"
481 -
482 -PYTHON_COMPAT=( python2_7 )
483 -inherit eutils flag-o-matic python-single-r1 toolchain-funcs versionator
484 -
485 -MY_PV="$(replace_all_version_separators _)"
486 -
487 -DESCRIPTION="A system for large project software construction, simple to use and powerful"
488 -HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
489 -SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
490 -
491 -LICENSE="Boost-1.0"
492 -SLOT="0"
493 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
494 -IUSE="examples python test"
495 -
496 -RDEPEND="python? ( ${PYTHON_DEPS} )
497 - !<dev-libs/boost-1.34.0
498 - !<=dev-util/boost-build-1.35.0-r1"
499 -DEPEND="${RDEPEND}
500 - test? ( sys-apps/diffutils
501 - ${PYTHON_DEPS} )"
502 -
503 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
504 - test? ( ${PYTHON_REQUIRED_USE} )"
505 -
506 -S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
507 -
508 -pkg_setup() {
509 - if use python || use test; then
510 - python-single-r1_pkg_setup
511 - fi
512 -}
513 -
514 -src_unpack() {
515 - tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
516 -}
517 -
518 -src_prepare() {
519 - epatch \
520 - "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
521 - "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
522 - "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
523 - "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \
524 - "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch" \
525 - "${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
526 -
527 - pushd ../ &>/dev/null || die
528 - epatch "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
529 - popd &>/dev/null || die
530 -
531 - # Remove stripping option
532 - # Fix python components build on multilib systems, bug #496446
533 - cd "${S}/engine" || die
534 - sed -i \
535 - -e 's|-s\b||' \
536 - -e "/libpython/s/lib ]/$(get_libdir) ]/" \
537 - build.jam || die "sed failed"
538 -
539 - # Force regeneration
540 - rm jambase.c || die
541 -
542 - # This patch allows us to fully control optimization
543 - # and stripping flags when bjam is used as build-system
544 - # We simply extend the optimization and debug-symbols feature
545 - # with empty dummies called 'none'
546 - cd "${S}" || die
547 - sed -i \
548 - -e 's/\(off speed space\)/\1 none/' \
549 - -e 's/\(debug-symbols : on off\)/\1 none/' \
550 - tools/builtin.jam || die "sed failed"
551 -
552 - eapply_user
553 -}
554 -
555 -src_configure() {
556 - if use python; then
557 - # replace versions by user-selected one (TODO: fix this when slot-op
558 - # deps are available to always match the best version available)
559 - sed -i \
560 - -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${EPYTHON#python}|" \
561 - engine/build.jam || die "sed failed"
562 - fi
563 -}
564 -
565 -src_compile() {
566 - cd engine || die
567 -
568 - local toolset
569 -
570 - if [[ ${CHOST} == *-darwin* ]]; then
571 - toolset=darwin
572 - else
573 - # Using boost's generic toolset here, which respects CC and CFLAGS
574 - toolset=cc
575 - fi
576 -
577 - CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
578 -}
579 -
580 -src_install() {
581 - dobin engine/bin.*/{bjam,b2}
582 -
583 - insinto /usr/share/boost-build
584 - doins -r "${FILESDIR}/site-config.jam" \
585 - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
586 - build kernel options tools util
587 -
588 - rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
589 - if ! use python; then
590 - find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
591 - fi
592 -
593 - dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
594 -
595 - if use examples; then
596 - dodoc -r ../example
597 - docompress -x "/usr/share/doc/${PF}/example"
598 - fi
599 -}
600 -
601 -src_test() {
602 - cd ../test || die
603 -
604 - export TMP="${T}"
605 -
606 - DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
607 -
608 - if [[ -s test_results.txt ]]; then
609 - eerror "At least one test failed: $(<test_results.txt)"
610 - die "tests failed"
611 - fi
612 -}
613
614 diff --git a/dev-util/boost-build/boost-build-1.61.0.ebuild b/dev-util/boost-build/boost-build-1.61.0.ebuild
615 deleted file mode 100644
616 index 488e0c46308..00000000000
617 --- a/dev-util/boost-build/boost-build-1.61.0.ebuild
618 +++ /dev/null
619 @@ -1,139 +0,0 @@
620 -# Copyright 1999-2017 Gentoo Foundation
621 -# Distributed under the terms of the GNU General Public License v2
622 -
623 -EAPI="6"
624 -
625 -RESTRICT="test"
626 -
627 -PYTHON_COMPAT=( python2_7 )
628 -inherit eutils flag-o-matic python-single-r1 toolchain-funcs versionator
629 -
630 -MY_PV="$(replace_all_version_separators _)"
631 -
632 -DESCRIPTION="A system for large project software construction, simple to use and powerful"
633 -HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
634 -SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
635 -
636 -LICENSE="Boost-1.0"
637 -SLOT="0"
638 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
639 -IUSE="examples python test"
640 -
641 -RDEPEND="python? ( ${PYTHON_DEPS} )
642 - !<dev-libs/boost-1.34.0
643 - !<=dev-util/boost-build-1.35.0-r1"
644 -DEPEND="${RDEPEND}
645 - test? ( sys-apps/diffutils
646 - ${PYTHON_DEPS} )"
647 -
648 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
649 - test? ( ${PYTHON_REQUIRED_USE} )"
650 -
651 -S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
652 -
653 -PATCHES=(
654 - "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch"
655 - "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch"
656 - "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch"
657 - "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch"
658 - "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch"
659 - "${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
660 -)
661 -
662 -pkg_setup() {
663 - if use python || use test; then
664 - python-single-r1_pkg_setup
665 - fi
666 -}
667 -
668 -src_unpack() {
669 - tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
670 -}
671 -
672 -src_prepare() {
673 - default
674 -
675 - pushd ../ &>/dev/null || die
676 - eapply "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
677 - popd &>/dev/null || die
678 -
679 - # Remove stripping option
680 - # Fix python components build on multilib systems, bug #496446
681 - cd "${S}/engine" || die
682 - sed -i \
683 - -e 's|-s\b||' \
684 - -e "/libpython/s/lib ]/$(get_libdir) ]/" \
685 - build.jam || die "sed failed"
686 -
687 - # Force regeneration
688 - rm jambase.c || die
689 -
690 - # This patch allows us to fully control optimization
691 - # and stripping flags when bjam is used as build-system
692 - # We simply extend the optimization and debug-symbols feature
693 - # with empty dummies called 'none'
694 - cd "${S}" || die
695 - sed -i \
696 - -e 's/\(off speed space\)/\1 none/' \
697 - -e 's/\(debug-symbols : on off\)/\1 none/' \
698 - tools/builtin.jam || die "sed failed"
699 -}
700 -
701 -src_configure() {
702 - if use python; then
703 - # replace versions by user-selected one (TODO: fix this when slot-op
704 - # deps are available to always match the best version available)
705 - sed -i \
706 - -e "s|27 26 25 24 23 22|${EPYTHON#python}|" \
707 - engine/build.jam || die "sed failed"
708 - fi
709 -}
710 -
711 -src_compile() {
712 - cd engine || die
713 -
714 - local toolset
715 -
716 - if [[ ${CHOST} == *-darwin* ]]; then
717 - toolset=darwin
718 - else
719 - # Using boost's generic toolset here, which respects CC and CFLAGS
720 - toolset=cc
721 - fi
722 -
723 - CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
724 -}
725 -
726 -src_install() {
727 - dobin engine/bin.*/{bjam,b2}
728 -
729 - insinto /usr/share/boost-build
730 - doins -r "${FILESDIR}/site-config.jam" \
731 - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
732 - build kernel options tools util
733 -
734 - rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
735 - if ! use python; then
736 - find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
737 - fi
738 -
739 - dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
740 -
741 - if use examples; then
742 - dodoc -r ../example
743 - docompress -x "/usr/share/doc/${PF}/example"
744 - fi
745 -}
746 -
747 -src_test() {
748 - cd ../test || die
749 -
750 - export TMP="${T}"
751 -
752 - DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
753 -
754 - if [[ -s test_results.txt ]]; then
755 - eerror "At least one test failed: $(<test_results.txt)"
756 - die "tests failed"
757 - fi
758 -}