1 |
pinkbyte 13/08/27 08:46:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: boost-build-1.54.0.ebuild |
5 |
Log: |
6 |
Version bump, wrt bug #475712 |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) |
9 |
|
10 |
Revision Changes Path |
11 |
1.115 dev-util/boost-build/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/ChangeLog?rev=1.115&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/ChangeLog?rev=1.115&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/ChangeLog?r1=1.114&r2=1.115 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v |
20 |
retrieving revision 1.114 |
21 |
retrieving revision 1.115 |
22 |
diff -u -r1.114 -r1.115 |
23 |
--- ChangeLog 25 Aug 2013 12:19:00 -0000 1.114 |
24 |
+++ ChangeLog 27 Aug 2013 08:46:00 -0000 1.115 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-util/boost-build |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.114 2013/08/25 12:19:00 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.115 2013/08/27 08:46:00 pinkbyte Exp $ |
30 |
+ |
31 |
+*boost-build-1.54.0 (27 Aug 2013) |
32 |
+ |
33 |
+ 27 Aug 2013; Sergey Popov <pinkbyte@g.o> +boost-build-1.54.0.ebuild, |
34 |
+ +files/boost-build-1.54.0-fix-test.patch, |
35 |
+ +files/boost-build-1.54.0-support_dots_in_python-buildid.patch: |
36 |
+ Version bump, wrt bug #475712 |
37 |
|
38 |
25 Aug 2013; Jeroen Roovers <jer@g.o> boost-build-1.52.0-r1.ebuild: |
39 |
Stable for HPPA (bug #455464). |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-util/boost-build/boost-build-1.54.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/boost-build-1.54.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/boost-build-1.54.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: boost-build-1.54.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.54.0.ebuild,v 1.1 2013/08/27 08:46:00 pinkbyte Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
PYTHON_DEPEND="python? 2" |
56 |
|
57 |
inherit eutils flag-o-matic python toolchain-funcs versionator |
58 |
|
59 |
MY_PV=$(replace_all_version_separators _) |
60 |
|
61 |
DESCRIPTION="A system for large project software construction, which is simple to use and powerful." |
62 |
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" |
63 |
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" |
64 |
|
65 |
LICENSE="Boost-1.0" |
66 |
SLOT=0 |
67 |
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" |
68 |
IUSE="examples python test" |
69 |
|
70 |
REQUIRED_USE="test? ( python )" |
71 |
|
72 |
RDEPEND="!<dev-libs/boost-1.34.0 |
73 |
!<=dev-util/boost-build-1.35.0-r1" |
74 |
DEPEND="${RDEPEND} |
75 |
test? ( sys-apps/diffutils )" |
76 |
|
77 |
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2" |
78 |
|
79 |
pkg_setup() { |
80 |
if use python; then |
81 |
python_set_active_version 2 |
82 |
python_pkg_setup |
83 |
fi |
84 |
} |
85 |
|
86 |
src_unpack() { |
87 |
tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed" |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
epatch \ |
92 |
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \ |
93 |
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \ |
94 |
"${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \ |
95 |
"${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \ |
96 |
"${FILESDIR}/${PN}-1.54.0-fix-test.patch" \ |
97 |
"${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch" |
98 |
|
99 |
# Remove stripping option |
100 |
cd "${S}/engine" |
101 |
sed -i -e 's|-s\b||' \ |
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}" |
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 |
|
118 |
src_configure() { |
119 |
if use python; then |
120 |
# replace versions by user-selected one (TODO: fix this when slot-op |
121 |
# deps are available to always match the best version available) |
122 |
sed -i \ |
123 |
-e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \ |
124 |
engine/build.jam || die "sed failed" |
125 |
fi |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
cd engine |
130 |
|
131 |
local toolset |
132 |
|
133 |
if [[ ${CHOST} == *-darwin* ]]; then |
134 |
toolset=darwin |
135 |
else |
136 |
# Using boost's generic toolset here, which respects CC and CFLAGS |
137 |
toolset=cc |
138 |
fi |
139 |
|
140 |
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed" |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
dobin engine/bin.*/{bjam,b2} |
145 |
|
146 |
insinto /usr/share/boost-build |
147 |
doins -r "${FILESDIR}/site-config.jam" \ |
148 |
boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \ |
149 |
build kernel options tools util |
150 |
|
151 |
rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed" |
152 |
if ! use python; then |
153 |
find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed" |
154 |
fi |
155 |
|
156 |
dodoc changes.txt hacking.txt release_procedure.txt \ |
157 |
notes/build_dir_option.txt notes/relative_source_paths.txt |
158 |
|
159 |
if use examples; then |
160 |
insinto /usr/share/doc/${PF} |
161 |
doins -r example |
162 |
fi |
163 |
} |
164 |
|
165 |
src_test() { |
166 |
cd test |
167 |
|
168 |
export TMP="${T}" |
169 |
|
170 |
DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py |
171 |
|
172 |
if [[ -s test_results.txt ]]; then |
173 |
eerror "At least one test failed: $(<test_results.txt)" |
174 |
die "tests failed" |
175 |
fi |
176 |
} |
177 |
|
178 |
pkg_postinst() { |
179 |
use python && python_mod_optimize /usr/share/boost-build |
180 |
} |
181 |
|
182 |
pkg_postrm() { |
183 |
use python && python_mod_cleanup /usr/share/boost-build |
184 |
} |