diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-10-25 21:55:38 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-10-25 21:55:38 +0000 |
commit | 9c1786df43db3c0b943199f6ea3bf28f328478ba (patch) | |
tree | df16447b98745921c8bcb544552b8ad70103636a /dev-util/boost-build | |
parent | Update boost mask for 1.51. (diff) | |
download | historical-9c1786df43db3c0b943199f6ea3bf28f328478ba.tar.gz historical-9c1786df43db3c0b943199f6ea3bf28f328478ba.tar.bz2 historical-9c1786df43db3c0b943199f6ea3bf28f328478ba.zip |
Version bump. Ebuild by Arfrever.
Package-Manager: portage-2.2.0_alpha141/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-util/boost-build')
-rw-r--r-- | dev-util/boost-build/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/boost-build/Manifest | 10 | ||||
-rw-r--r-- | dev-util/boost-build/boost-build-1.51.0.ebuild | 139 |
3 files changed, 151 insertions, 5 deletions
diff --git a/dev-util/boost-build/ChangeLog b/dev-util/boost-build/ChangeLog index e531653753b1..10d8d93cc991 100644 --- a/dev-util/boost-build/ChangeLog +++ b/dev-util/boost-build/ChangeLog @@ -1,6 +1,11 @@ # 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.104 2012/10/21 09:07:19 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.105 2012/10/25 21:55:36 floppym Exp $ + +*boost-build-1.51.0 (25 Oct 2012) + + 25 Oct 2012; Mike Gilbert <floppym@gentoo.org> +boost-build-1.51.0.ebuild: + Version bump. Ebuild by Arfrever. 21 Oct 2012; Markus Meier <maekke@gentoo.org> boost-build-1.49.0.ebuild: x86 stable, bug #425354 diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest index f4236f7da7ff..d088211a4586 100644 --- a/dev-util/boost-build/Manifest +++ b/dev-util/boost-build/Manifest @@ -23,6 +23,7 @@ DIST boost_1_47_0.tar.bz2 45952657 SHA256 815a5d9faac4dbd523fbcf3fe1065e443c0bbf DIST boost_1_48_0.tar.bz2 48236989 SHA256 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada SHA512 f8188d65a47f1f6b34d154eb84ec3afb4ce8730fac0adc2bce629db4eb6994bb1192330b8e18a4d3509ff533a6f2bd91f59f4cb5d5c82b0453a99b2289c754e1 WHIRLPOOL a74ecca3fb611ebe7b3627aefe6a651ba2da8a8095ee1fa6e49b57fe6510cd947d81e5aea7ebb7523667a33aa9aa2783e182e39fc5f79f2bddc5faec80cff0e2 DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba DIST boost_1_50_0.tar.bz2 50786885 SHA256 c9ace2b8c81fa6703d1d17c7e478de3bc51101c5adbdeb3f6cb72cf3045a8529 SHA512 5909a2eca520a28af31de6a36c51f57b11fddcc0a51493a1e500ade00d9c4e78175c4892c04857ee385f3874f96e561b74b6427e1a155102e926421067d889fe WHIRLPOOL f5f5d9bc2e321da270dbaab04e0ec898240010720e77b362fac7266896a67b1eaa2e71a1d0e948057f55578dca5998e4faf8dc300e2c92608ee06316092bd08c +DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828 EBUILD boost-build-1.34.1.ebuild 2438 SHA256 180c3f1a1b55f775e6cf4e391b084c42a88f78710b8725dbb8e3c58b388f1329 SHA512 ec9e6eaf6325d390d6a7941c28ebd4d9d280ba17fb917f6a9e544f8c8d864fd81120e22973acfd80c46b4b1d13f5154e5479e571bc8475876b8cfc0ed3b87ec6 WHIRLPOOL 9b2ced8713299ce54c90981ddcc477d2dce5b7ee8036c9935f2e42dfd2cf39a6de92d64ca829bd01b63c529bf3ed2929b912305df65e230f44bd8de005e1f0d7 EBUILD boost-build-1.35.0-r1.ebuild 2778 SHA256 a7575ec71fb7725da383005340f632500f411b3dd590a4838240b9a7a2bc8223 SHA512 1ed00180f14921169650c0cf992d11167e8821749fa036210b95be47ac618d6456910444a46233a9beff22ef577970796e8622f225db8af55ec082655d4e2051 WHIRLPOOL d9344651553461de1731a655cd3478c0db56c63d517e770f0e8be46cf1a9728bca99478070fd924467a6392df8232f797a59cc2f7210ab2a9c44bd8fbcce8a61 EBUILD boost-build-1.35.0-r2.ebuild 3123 SHA256 0cee00b504fa06759aad4175abc9a63a10965760974a4bba1e2bb29c997cccfe SHA512 d878346986347c31398cf0a23065aaed800c909f62b6b0b2515f4cf739205de142d748bfdc53af05177da641d566d98ca1ead05716bfff11f4685a47d1828d4e WHIRLPOOL 2bf3407ddc8dcd9cd959a4f339633fb747591fba79f9bf777f1ac25cf70657cbe352f21c99465e2adc0f5f321c6d573a39b6edd31a5200e7f0af11e9712ab6ed @@ -38,12 +39,13 @@ EBUILD boost-build-1.48.0-r1.ebuild 3435 SHA256 91582e119ca3574374f9c745c3187135 EBUILD boost-build-1.49.0.ebuild 3447 SHA256 c7487cd7e71e3e107df3fa4b6a7cd3a46d3f5446771501c4df5e6fa606832bd6 SHA512 914e768b6d785068dc859e43424793c669d119c43eb1d36266b30598fd36c3c1ec36c93381efe34c4622cbade152d0c71533d08a4de4d697cf10c349d4cf5345 WHIRLPOOL 52a0cdaefd029f4c7b657fc60fc72c71abacdef85d78c1fc9bcbdad0a29f3b6b45b9534de80e0ad3c8376f8b3c27b527513bd2c0dfa5e1baa1bd4768a6685327 EBUILD boost-build-1.50.0-r3.ebuild 3881 SHA256 0e3eb362b19befc06dbceda3ca4033e4f37dfb1adb3c683458bce418582d1b2e SHA512 ede9e6d72c27761a0565845e9975c3da31fff56f29eee0938e747f873d14b3916040223e07c8cdbc932bed67470a623fe0ae72b48a72dd0d523394ff40c43b0b WHIRLPOOL 03175ec466ddf2927cda6c632d90c46c5331bb60470b37c03318e32f346cbbcfb5fa891c2adb34f488a4cbec8377b43e3eca23b2c9541390dbd748b318a34640 EBUILD boost-build-1.50.0.ebuild 3454 SHA256 2df90a34e3f76ccafddeb63682c0d19295c6a4ab458bc0ae5dd28baf62ab471d SHA512 3099c5c11a147db7e3cb9da8fcd7d154e5dd72457c0cccb1040e947ed6a42baa9830dc93d42aa2560549a215de7a8c95611b54f9ca6f4582f6e1528373faad0d WHIRLPOOL 09840e898b04b8c6f18f6960ebdca285b6df68c7a67ca93260e18282ff99c23403002b6fc06c4d7853c910fc5b1c7b1797ef3256757e0465c51164e9083f68bd -MISC ChangeLog 14510 SHA256 444251df656477da9efca53215f969f1635d2c86eec3519f015732d351cc43af SHA512 3501753c8bd98c4bf201b4778f01d8a3cd8933625866b0e54d69717bfb4e1c7de6870b953332c129127dce00fec051d83380c9f90a591209313e229d07251487 WHIRLPOOL 145c119ccdf38fc8822d9a55d8fc9754b6d7049d6310b393b9dbed99cf583f76b093ae9e5f4d3b99284e3b8ddce236a0c890afc072f1ef9d5000e1483c22f89d +EBUILD boost-build-1.51.0.ebuild 3891 SHA256 e51278a6184870a5e8b283381f1f7d3d461443fca0da70d6568db3564d3dab44 SHA512 08168bafc60bd58c1352e68434cfd7d9bdd01907fcf215e00c9454a6350819a32b456f4b368f5cae78586ad584fd63991b710786ad918ad1355ff0ecf4895371 WHIRLPOOL 11ddf1866a66867c3739ed0e986af9367d39126092dda75a794bbd0c29947f209a60433808b6315b445e72a380e368082f4b87306880793b4a0cf4af73ed3a1c +MISC ChangeLog 14660 SHA256 f63b0aaa40c2d56e15f5ed3b2e0aef2add25e09c20ef26900f81403dc1914314 SHA512 13eb7d206dc988c6458ceb8c9bbe79afa4eb368277d24ac44cddb8a7a575192cb5f26517db9859c6e04a3e2df25b136382ff2c1e4b7068444e20e4b7ca59240d WHIRLPOOL de74ab421fce4291ea5394e2410737896bcb436007f9446380f58dba5dee1b596decef1b9f14c154dc6482057887048ee09339337bbe578587189e155daae6b2 MISC metadata.xml 494 SHA256 83776167c8d3c2e0b104ffc763928867c1f3402796a2042d17c2f2328c0fb202 SHA512 7e18d2a1d8a3f47a6d3c58f4f99023619d214e9bf1d798147a6e9ca5491978e5715b806a787e4952a3f89ec641daef18d125ec7f105a6e07e440f7cafcfe98b7 WHIRLPOOL 84dcd95a0f6ff4edbc8cfca598c2c72e030c495a03c8a73d7e8a079373eaa339bb05863f67589f4ab4479f22a233b42e791a1e801241cd0893774925e97001ed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlCDvDYACgkQkKaRLQcq0GKjswCfcWSxUiz8j+qxsnbws4IP0m3+ -ETsAnjtZTGYKb7PUYm66x5Jk8nP8hvqV -=gecl +iF4EAREIAAYFAlCJtVkACgkQC77qH+pIQ6TGCAEAqOx7RVEWsKFCINz+99tv15NR +GG2PfRfR6x3LuL7K1lwA/RNmYW8grAmqKAbSUfisjQMMfdAgCEabRuDOR/h4WnFg +=QekD -----END PGP SIGNATURE----- diff --git a/dev-util/boost-build/boost-build-1.51.0.ebuild b/dev-util/boost-build/boost-build-1.51.0.ebuild new file mode 100644 index 000000000000..261dbd374404 --- /dev/null +++ b/dev-util/boost-build/boost-build-1.51.0.ebuild @@ -0,0 +1,139 @@ +# 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.51.0.ebuild,v 1.1 2012/10/25 21:55:36 floppym 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="$(get_version_component_range 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="examples python test" + +RDEPEND="!<dev-libs/boost-1.34.0 + !<=dev-util/boost-build-1.35.0-r1" +DEPEND="${RDEPEND} + test? ( =dev-lang/python-2* + 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} +} |