Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/boost: boost-1.49.0-r1.ebuild ChangeLog
Date: Wed, 31 Oct 2012 18:27:28
Message-Id: 20121031182701.0587921600@flycatcher.gentoo.org
1 flameeyes 12/10/31 18:27:00
2
3 Modified: boost-1.49.0-r1.ebuild ChangeLog
4 Log:
5 Remove test support from 1.49 as well, since it's not supposed to work and the check-reqs limits are bogus anyway.
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
8
9 Revision Changes Path
10 1.12 dev-libs/boost/boost-1.49.0-r1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild?r1=1.11&r2=1.12
15
16 Index: boost-1.49.0-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- boost-1.49.0-r1.ebuild 31 Oct 2012 16:32:25 -0000 1.11
23 +++ boost-1.49.0-r1.ebuild 31 Oct 2012 18:27:00 -0000 1.12
24 @@ -1,13 +1,13 @@
25 # Copyright 1999-2012 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.11 2012/10/31 16:32:25 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.12 2012/10/31 18:27:00 flameeyes Exp $
29
30 EAPI="4"
31 PYTHON_DEPEND="python? *"
32 SUPPORT_PYTHON_ABIS="1"
33 RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
34
35 -inherit check-reqs flag-o-matic multilib python toolchain-funcs versionator
36 +inherit flag-o-matic multilib python toolchain-funcs versionator
37
38 MY_P=${PN}_$(replace_all_version_separators _)
39
40 @@ -19,7 +19,7 @@
41 SLOT=0
42 MAJOR_V="$(get_version_component_range 1-2)"
43 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
44 -IUSE="debug doc +eselect icu mpi python static-libs test tools"
45 +IUSE="debug doc +eselect icu mpi python static-libs tools"
46
47 RDEPEND="icu? ( >=dev-libs/icu-3.3 )
48 mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
49 @@ -88,20 +88,6 @@
50 __EOF__
51 }
52
53 -pkg_pretend() {
54 - if use test; then
55 - CHECKREQS_DISK_BUILD="15G" check-reqs_pkg_pretend
56 -
57 - ewarn "The tests may take several hours on a recent machine"
58 - ewarn "but they will not fail (unless something weird happens ;-)"
59 - ewarn "This is because the tests depend on the used compiler version"
60 - ewarn "and the platform and upstream says that this is normal."
61 - ewarn "If you are interested in the results, please take a look at the"
62 - ewarn "generated results page:"
63 - ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
64 - fi
65 -}
66 -
67 pkg_setup() {
68 if use python; then
69 python_pkg_setup
70 @@ -525,82 +511,12 @@
71 fi
72 }
73
74 -src_test() {
75 - testing() {
76 - if use python; then
77 - local dir
78 - for dir in ${PYTHON_DIRS}; do
79 - cp -pr ${dir}-${PYTHON_ABI} ${dir} || die "Copying of '${dir}-${PYTHON_ABI}' to '${dir}' failed"
80 - done
81 -
82 - if use mpi; then
83 - cp -p stage/lib/mpi.so-${PYTHON_ABI} "${MPI_PYTHON_MODULE}" || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to '${MPI_PYTHON_MODULE}' failed"
84 - cp -p stage/lib/mpi.so-${PYTHON_ABI} stage/lib/mpi.so || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to 'stage/lib/mpi.so' failed"
85 - fi
86 - fi
87 -
88 - pushd tools/regression/build > /dev/null || die
89 - einfo "Using the following command to build test helpers:"
90 - einfo "${BJAM} -q -d+2 gentoorelease --user-config=../../../user-config.jam ${OPTIONS} process_jam_log compiler_status"
91 -
92 - ${BJAM} -q -d+2 \
93 - gentoorelease \
94 - --user-config=../../../user-config.jam \
95 - ${OPTIONS} \
96 - process_jam_log compiler_status \
97 - || die "Building of regression test helpers failed"
98 -
99 - popd > /dev/null || die
100 - pushd status > /dev/null || die
101 -
102 - # Some of the test-checks seem to rely on regexps
103 - export LC_ALL="C"
104 -
105 - # The following is largely taken from tools/regression/run_tests.sh,
106 - # but adapted to our needs.
107 -
108 - # Run the tests & write them into a file for postprocessing
109 - einfo "Using the following command to test:"
110 - einfo "${BJAM} --user-config=../user-config.jam ${OPTIONS} --dump-tests"
111 -
112 - ${BJAM} \
113 - --user-config=../user-config.jam \
114 - ${OPTIONS} \
115 - --dump-tests 2>&1 | tee regress.log || die
116 -
117 - # Postprocessing
118 - cat regress.log | "$(find ../tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease -name process_jam_log)" --v2
119 - if test $? != 0; then
120 - die "Postprocessing the build log failed"
121 - fi
122 -
123 - cat > comment.html <<- __EOF__
124 - <p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
125 -__EOF__
126 -
127 - # Generate the build log html summary page
128 - "$(find ../tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease -name compiler_status)" --v2 \
129 - --comment comment.html "${S}" \
130 - cs-$(uname).html cs-$(uname)-links.html
131 - if test $? != 0; then
132 - die "Generating the build log html summary page failed"
133 - fi
134 -
135 - # And do some cosmetic fixes :)
136 - sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die
137 -
138 - popd > /dev/null || die
139 -
140 - if use python; then
141 - rm -r ${PYTHON_DIRS} || die
142 - fi
143 - }
144 - if use python; then
145 - python_execute_function -f -q testing
146 - else
147 - testing
148 - fi
149 -}
150 +# the tests will never fail because these are not intended as sanity
151 +# tests at all. They are more a way for upstream to check their own code
152 +# on new compilers. Since they would either be completely unreliable
153 +# (failing for no good reason) or completely useless (never failing)
154 +# there is no point in having them in the ebuild to begin with.
155 +src_test() { :; }
156
157 pkg_postinst() {
158 if use eselect; then
159
160
161
162 1.270 dev-libs/boost/ChangeLog
163
164 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?rev=1.270&view=markup
165 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?rev=1.270&content-type=text/plain
166 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?r1=1.269&r2=1.270
167
168 Index: ChangeLog
169 ===================================================================
170 RCS file: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v
171 retrieving revision 1.269
172 retrieving revision 1.270
173 diff -u -r1.269 -r1.270
174 --- ChangeLog 31 Oct 2012 16:32:25 -0000 1.269
175 +++ ChangeLog 31 Oct 2012 18:27:00 -0000 1.270
176 @@ -1,6 +1,10 @@
177 # ChangeLog for dev-libs/boost
178 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
179 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.269 2012/10/31 16:32:25 flameeyes Exp $
180 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.270 2012/10/31 18:27:00 flameeyes Exp $
181 +
182 + 31 Oct 2012; Diego E. Pettenò <flameeyes@g.o> boost-1.49.0-r1.ebuild:
183 + Remove test support from 1.49 as well, since it's not supposed to work and the
184 + check-reqs limits are bogus anyway.
185
186 *boost-1.51.0-r1 (31 Oct 2012)