diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-11-05 18:25:00 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-11-05 18:25:00 +0000 |
commit | 008935245566c56d67feb383643d391fc8143a73 (patch) | |
tree | a43624a392eaae475e5b7fcfb12d5e61ccd74d32 /dev-util | |
parent | Version bump (thanks euscan), drop old. (diff) | |
download | historical-008935245566c56d67feb383643d391fc8143a73.tar.gz historical-008935245566c56d67feb383643d391fc8143a73.tar.bz2 historical-008935245566c56d67feb383643d391fc8143a73.zip |
Bump for the new boost version.
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0x1CD13C8AD4301342
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/boost-build/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/boost-build/Manifest | 14 | ||||
-rw-r--r-- | dev-util/boost-build/boost-build-1.52.0.ebuild | 140 |
3 files changed, 157 insertions, 5 deletions
diff --git a/dev-util/boost-build/ChangeLog b/dev-util/boost-build/ChangeLog index 874c26a29abc..3305e2d288dc 100644 --- a/dev-util/boost-build/ChangeLog +++ b/dev-util/boost-build/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/boost-build # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.107 2012/11/02 11:42:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.108 2012/11/05 18:23:38 flameeyes Exp $ + +*boost-build-1.52.0 (05 Nov 2012) + + 05 Nov 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +boost-build-1.52.0.ebuild: + Bump for the new boost version. 02 Nov 2012; Raúl Porcel <armin76@gentoo.org> boost-build-1.49.0.ebuild: alpha/ia64/s390/sh/sparc stable wrt #425354 diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest index 64a512c8005c..416d5ed9be56 100644 --- a/dev-util/boost-build/Manifest +++ b/dev-util/boost-build/Manifest @@ -10,15 +10,21 @@ AUX site-config.jam 688 SHA256 795b0719536a934a1c65cfd4abf09ad4f30ad7d90ad4d55b0 DIST boost_1_46_1.tar.bz2 42001335 SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883 SHA512 e7cc4383bb960cb59eecd29ef66e2c53466fe5f126bde58f50ba104ee8ab220771db5f7b35e4b9856e9f257d1def5a9b7ea48e1d2757976a89c5a2e3f1fdc327 WHIRLPOOL 4d8d94821c996475ec2bab962b92ec061b890a318897cab695e66daef3f9c8687990450fb26fd783fd0c5be35ccb71616994ef0c8e41c555312ae5383e3649cf DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828 +DIST boost_1_52_0.tar.bz2 54421709 SHA256 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d WHIRLPOOL 73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d EBUILD boost-build-1.46.1.ebuild 3275 SHA256 75a659bc6f3c58d00596fbc8e5507a3e54c99e6b6093c45ef2c20e4877382f8a SHA512 c1885d403dae63dff6338988b9843eb24e755613b7c920bd5247779fcbda4c63848737dd79e2eaf964320c29d84ce0dd72bb52e032b77775857d4883cdc3a5d0 WHIRLPOOL 9145e6ed21de86cb93cf064e3a3cc363bb978eebc4c2365b280ea74ea655dcc74a87098089e26553d04dc346e1fcd8a4c9e0e0a1170292055e17a3fe8d3da917 EBUILD boost-build-1.49.0.ebuild 3409 SHA256 255344ee046ebdb39073ec68058629fc1c13f6b396f7e8b38b7d56f10de5cd21 SHA512 8b0cad7b8af43843d0a004494cdfb396cfafe26fd78095fcc8dabccb89cca0250868c7f1e76955fab1829869eae5741739cf848128c304c57251ba35d4dd1ac3 WHIRLPOOL df250e18c580f16decae85b73d6121a2e28042b34eebfd6b8589fdb568ce55a3a62b3c23a1ffaca83b2f1a5576128678f476449087a46216504f6c025273f3e9 EBUILD boost-build-1.51.0.ebuild 3869 SHA256 64d0e2710615e1c6721e00f667b6b06a4a12978a8ac23e43a6ca34e20225d833 SHA512 4daaf709b8e0dcbaaca4cf8cc4d5e35d245f2a070055ab2a32bba34129695ed375ec6ace9d28ae6cd70a8e9c7456b6df0e9fcfec65a5fc5a14e08d10faf4308a WHIRLPOOL 805b892ff901208381f1d593526feed36a0d224f2bfa67e43a09e70370a5ef945fc7c038f44c6652e2bbb0dfe8178d7fb2dfe3589b5d170c8b50ef4278e7b1da -MISC ChangeLog 15621 SHA256 2a827b9b3d7a392adf88221b3e498c83cef358bbe832abc39d4d625798c5f3fb SHA512 63c89960347f1f37cdb504a0a42ebc219f0080df8d376d02ba7c4da8e85ccf782d6a4b210ab48e4824030053c72c3fd0414e19058ec231d29487b7902684ef9b WHIRLPOOL 18b5864eae55131201e0a9b8827f5c79e77943609cafc2269e67fc148ed522ec8c32b916bbc3870b7cda815992c79b7f84485c2fcad289a76d8027899f1e1746 +EBUILD boost-build-1.52.0.ebuild 3867 SHA256 f3a57eced832e97f3146747481b027d4f65a9488a7b3f44565345f97f2d747cc SHA512 5ef0c87de29beda78e7a6c022029948ca8985f547ae9fd7053a7c36beeec39410bcc42ba9b17cce8d3b6092e5adaa397ad5016a646361b678b186f4cd720797f WHIRLPOOL e4268babf3c92aee35f49b6320a2066d62016153c9f7c15fd3a2ea7b94f4de915b55ca2fd6cf8cab987d4f82812b8f217ee3c880be2896bc8d31d2e10df4ec84 +MISC ChangeLog 15779 SHA256 f578837c265fad8939102b7af5cf77615dfcc43fb7d0d6fbc3597ebaed496fe1 SHA512 ffb791cd0a0fb1142f47d08331b74c8fcf83caaa97328c1ca1982d47ed1906eb356656aacaa8351110dc56f893dc8e5088f0e47506a75db81999e80ddcfe8060 WHIRLPOOL ddc385b972767b713198eb532d4ec50c9e79baa683cf92e00694aeac760ff9f9bc2b0c5d616db1e1a763f6df8c76c3554c31bc7aff1a23235e503ec6360f1c68 MISC metadata.xml 158 SHA256 b52dff4a9d9f4eab0428972c9ee5a96df08f39325e4b491c39493da499fedf51 SHA512 5300260c2c2bad38b7a27b5c1d609b48b105034c63807958425e8f8fbcccc02a408bb5565480bb3ee3c87d368ed16859c48b447241adf15896e7508c6c442e65 WHIRLPOOL 17880f728fdb3dbd6ca582547c3c546ffe798d89d37ac717bc0be4e4764b60b867979c996ca89f4fdeedee021c419b964405b5fb674a220e582a436f653b8f30 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlCTsYsACgkQuQc30/atMkAJMgCfYYzCIo19tBwPzpp5gBjBqKk9 -hSEAoKvqmzMVU66bj+b0Qlc0Hl9zwq0c -=PmG0 +iQEcBAEBCAAGBQJQmAR6AAoJEBzRPIrUMBNCHsAIAJRe11yIXCS0XB0+wAD/uf4Z +ERvKIHXm9C7VrbhE7Fari2zGwyXQie+kkR6L5WKnaEz7aFdCgoIydFhANZ80ORL2 +4iIb03d+eDTpaNC/TGs5LxzmsycF1yT6fhJwCCdcIcRf9MRV+zwVhbV05rXzXJy1 +MVO3KnKs8CeI/UBqKAKzyjimWJZi0+M2LSUlwKz9C88uNh5LHC3gP6HoT6XnL239 +GG8t+/KsPatQZPZaEqGJfEc4myUcY2RDCX4Zz/v6t6qAt68MhmxTsvDw/HGhz58Z +lCDi4CtXmwNXmYhwhoOGHmbYPLIi33jMvvJuqZcgW8Jrri0/BygpseGqPzO914o= +=baqk -----END PGP SIGNATURE----- diff --git a/dev-util/boost-build/boost-build-1.52.0.ebuild b/dev-util/boost-build/boost-build-1.52.0.ebuild new file mode 100644 index 000000000000..3f2145a6e1cd --- /dev/null +++ b/dev-util/boost-build/boost-build-1.52.0.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.52.0.ebuild,v 1.1 2012/11/05 18:23:38 flameeyes Exp $ + +EAPI="5" +PYTHON_DEPEND="python? 2" + +inherit eutils flag-o-matic python toolchain-funcs versionator + +MY_PV=$(replace_all_version_separators _) +MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))" + +DESCRIPTION="A system for large project software construction, which is simple to use and powerful." +HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" +SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT=0 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="examples python test" + +REQUIRED_USE="test? ( python )" + +RDEPEND="!<dev-libs/boost-1.34.0 + !<=dev-util/boost-build-1.35.0-r1" +DEPEND="${RDEPEND} + test? ( sys-apps/diffutils )" + +S="${WORKDIR}/boost_${MY_PV}/tools/build/v2" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_unpack() { + tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed" +} + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \ + "${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \ + "${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \ + "${FILESDIR}/${PN}-1.50.0-fix-test.patch" + + # Remove stripping option + cd "${S}/engine" + sed -i -e 's|-s\b||' \ + build.jam || die "sed failed" + + # Force regeneration + rm jambase.c || die + + # This patch allows us to fully control optimization + # and stripping flags when bjam is used as build-system + # We simply extend the optimization and debug-symbols feature + # with empty dummies called 'none' + cd "${S}" + sed -i \ + -e 's/\(off speed space\)/\1 none/' \ + -e 's/\(debug-symbols : on off\)/\1 none/' \ + tools/builtin.jam || die "sed failed" +} + +src_configure() { + # For slotting + sed -i \ + -e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \ + engine/Jambase || die "sed failed" + + if use python; then + # replace versions by user-selected one (TODO: fix this when slot-op + # deps are available to always match the best version available) + sed -i \ + -e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \ + engine/build.jam || die "sed failed" + fi +} + +src_compile() { + cd engine + + local toolset + + if [[ ${CHOST} == *-darwin* ]]; then + toolset=darwin + else + # Using boost's generic toolset here, which respects CC and CFLAGS + toolset=cc + fi + + CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python /usr) || die "building bjam failed" +} + +src_install() { + newbin engine/bin.*/bjam bjam-${MAJOR_PV} + newbin engine/bin.*/b2 b2-${MAJOR_PV} + + insinto /usr/share/boost-build-${MAJOR_PV} + doins -r "${FILESDIR}/site-config.jam" \ + boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \ + build kernel options tools util + + rm "${D}/usr/share/boost-build-${MAJOR_PV}/build/project.ann.py" || die "removing faulty python file failed" + if ! use python; then + find "${D}/usr/share/boost-build-${MAJOR_PV}" -iname "*.py" -delete || die "removing experimental python files failed" + fi + + dodoc changes.txt hacking.txt release_procedure.txt \ + notes/build_dir_option.txt notes/relative_source_paths.txt + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r example + fi +} + +src_test() { + cd test + + export TMP="${T}" + + DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py + + if [[ -s test_results.txt ]]; then + eerror "At least one test failed: $(<test_results.txt)" + die "tests failed" + fi +} + +pkg_postinst() { + use python && python_mod_optimize /usr/share/boost-build-${MAJOR_PV} +} + +pkg_postrm() { + use python && python_mod_cleanup /usr/share/boost-build-${MAJOR_PV} +} |