Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/boost-build/
Date: Tue, 18 Sep 2018 19:15:40
Message-Id: 1537298113.c797717121046c1e40c0e754093b516fffe28ef6.asturm@gentoo
1 commit: c797717121046c1e40c0e754093b516fffe28ef6
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 18 19:15:01 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 18 19:15:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7977171
7
8 dev-util/boost-build: Drop stray 1.62.0
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 dev-util/boost-build/Manifest | 1 -
13 dev-util/boost-build/boost-build-1.62.0-r1.ebuild | 140 ----------------------
14 2 files changed, 141 deletions(-)
15
16 diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
17 index 60ff3ef1389..19a425758e8 100644
18 --- a/dev-util/boost-build/Manifest
19 +++ b/dev-util/boost-build/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST boost_1_62_0.tar.bz2 84513338 BLAKE2B 00f2ddf93d254183709a5e607d5cec5d135bdcddebac15fc3b1522e37b9e58d8df84f1977fee5b085309db58634861f2014e72822e755dd7789e8489fef19f7c SHA512 5385ae3d5255a433a704169ad454d8dc2b0b5bcae3fb23defd6570df4ff7d845cf9fcbeebccdc1c5db0eec9f82ee3d90040de9507c8167467c635d3b215463be
22 DIST boost_1_63_0.tar.bz2 81984414 BLAKE2B 227c4432bd3ca0eb390048ec85047958fcb6ae289996501812cd8b13bf74bbe9b677d0110948265cab59a60deb36c4fc08440af74ac5a5219ea4eaea4fa6918f SHA512 c915c5f5778dee49b8e9d0a40f37f90f56fb1fdb1d8ce92d97bf48bc7bc462212487badfe4bbe30b06196d1149cfb221da12ac54e97499b0d4cb6466813bb4ad
23 DIST boost_1_65_0.tar.bz2 82597718 BLAKE2B 0080956d6ad2f14130ce4a4734b1bd1ce83d3651b226653689e02770baa83cf11811ef4e44948ff68a168d9ce5cbfaea4f758970df2b4e9faa2d410181885f5b SHA512 7142650fb8d61e3ef16ba066fc918e087f19e9bc2ad1d6a11fb10bf0d6b1b5ad05ab032f076a5233a1624b3669e952b2cc38b7dc074bbf53018e2970ee90fcdd
24 DIST boost_1_66_0.tar.bz2 85995778 BLAKE2B 9ab1fe396b10ab85d7e4084ec7abb8d785ecd892c8f51aea5a401cb565b111c256533364fe028da74ed376534889f43c5ccbdcd703cd236526ae66a064220765 SHA512 0f34075d35391d66876e5189a01a11880a79428e1b267456348ee148dba9dc3abdc74d568f1853be631d20b584b1c804b42443c266f7622164acfc10be3dab8b
25
26 diff --git a/dev-util/boost-build/boost-build-1.62.0-r1.ebuild b/dev-util/boost-build/boost-build-1.62.0-r1.ebuild
27 deleted file mode 100644
28 index 3d4aef3be4b..00000000000
29 --- a/dev-util/boost-build/boost-build-1.62.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,140 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -RESTRICT="test"
38 -
39 -PYTHON_COMPAT=( python2_7 )
40 -inherit eutils flag-o-matic python-single-r1 toolchain-funcs versionator
41 -
42 -MY_PV="$(replace_all_version_separators _)"
43 -
44 -DESCRIPTION="A system for large project software construction, simple to use and powerful"
45 -HOMEPAGE="https://boostorg.github.io/build/"
46 -SRC_URI="https://downloads.sourceforge.net/project/boost/boost/${PV}/boost_${MY_PV}.tar.bz2"
47 -
48 -LICENSE="Boost-1.0"
49 -SLOT="0"
50 -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"
51 -IUSE="examples python test"
52 -
53 -RDEPEND="python? ( ${PYTHON_DEPS} )
54 - !<dev-libs/boost-1.34.0
55 - !<=dev-util/boost-build-1.35.0-r1"
56 -DEPEND="${RDEPEND}
57 - test? ( sys-apps/diffutils
58 - ${PYTHON_DEPS} )"
59 -
60 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
61 - test? ( ${PYTHON_REQUIRED_USE} )"
62 -
63 -S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
64 -
65 -PATCHES=(
66 - "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch"
67 - "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch"
68 - "${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch"
69 - "${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch"
70 - "${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch"
71 - "${FILESDIR}/${PN}-1.55.0-ppc-aix.patch"
72 - "${FILESDIR}/${PN}-1.62.0-sparc-no-default-flags.patch"
73 -)
74 -
75 -pkg_setup() {
76 - if use python || use test; then
77 - python-single-r1_pkg_setup
78 - fi
79 -}
80 -
81 -src_unpack() {
82 - tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking tar failed"
83 -}
84 -
85 -src_prepare() {
86 - default
87 -
88 - pushd ../ >/dev/null || die
89 - eapply "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
90 - popd >/dev/null || die
91 -
92 - # Remove stripping option
93 - # Fix python components build on multilib systems, bug #496446
94 - cd "${S}/engine" || die
95 - sed -i \
96 - -e 's|-s\b||' \
97 - -e "/libpython/s/lib ]/$(get_libdir) ]/" \
98 - build.jam || die "sed failed"
99 -
100 - # Force regeneration
101 - rm jambase.c || die
102 -
103 - # This patch allows us to fully control optimization
104 - # and stripping flags when bjam is used as build-system
105 - # We simply extend the optimization and debug-symbols feature
106 - # with empty dummies called 'none'
107 - cd "${S}" || die
108 - sed -i \
109 - -e 's/\(off speed space\)/\1 none/' \
110 - -e 's/\(debug-symbols : on off\)/\1 none/' \
111 - tools/builtin.jam || die "sed failed"
112 -}
113 -
114 -src_configure() {
115 - if use python; then
116 - # replace versions by user-selected one (TODO: fix this when slot-op
117 - # deps are available to always match the best version available)
118 - sed -i \
119 - -e "s|27 26 25 24 23 22|${EPYTHON#python}|" \
120 - engine/build.jam || die "sed failed"
121 - fi
122 -}
123 -
124 -src_compile() {
125 - cd engine || die
126 -
127 - local toolset
128 -
129 - if [[ ${CHOST} == *-darwin* ]]; then
130 - toolset=darwin
131 - else
132 - # Using boost's generic toolset here, which respects CC and CFLAGS
133 - toolset=cc
134 - fi
135 -
136 - CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT%/}"/usr) || die "building bjam failed"
137 -}
138 -
139 -src_install() {
140 - dobin engine/bin.*/{bjam,b2}
141 -
142 - insinto /usr/share/boost-build
143 - doins -r "${FILESDIR}/site-config.jam" \
144 - ../boost-build.jam bootstrap.jam build-system.jam ../example/user-config.jam *.py \
145 - build kernel options tools util
146 -
147 - rm "${ED%/}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
148 - if ! use python; then
149 - find "${ED%/}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
150 - fi
151 -
152 - dodoc ../notes/{changes,hacking,release_procedure,build_dir_option,relative_source_paths}.txt
153 -
154 - if use examples; then
155 - dodoc -r ../example
156 - docompress -x "/usr/share/doc/${PF}/example"
157 - fi
158 -}
159 -
160 -src_test() {
161 - cd ../test || die
162 -
163 - export TMP="${T}"
164 -
165 - DO_DIFF="${PREFIX}/usr/bin/diff" ${PYTHON} test_all.py
166 -
167 - if [[ -s test_results.txt ]]; then
168 - eerror "At least one test failed: $(<test_results.txt)"
169 - die "tests failed"
170 - fi
171 -}