summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-10-25 22:04:37 +0000
committerMike Gilbert <floppym@gentoo.org>2012-10-25 22:04:37 +0000
commit30fa1d95ccea210048f205c7e5dc06180be69646 (patch)
tree1657e680359576d452185eaca3bd0e4ff751fa22 /dev-libs/boost
parentVersion bump. Ebuild by Arfrever. (diff)
downloadhistorical-30fa1d95ccea210048f205c7e5dc06180be69646.tar.gz
historical-30fa1d95ccea210048f205c7e5dc06180be69646.tar.bz2
historical-30fa1d95ccea210048f205c7e5dc06180be69646.zip
Byte-compile Python modules. Create mpi.py for Boost >=1.50. Backported from Progress Overlay. Patch by Arfrever.
Package-Manager: portage-2.2.0_alpha141/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-libs/boost')
-rw-r--r--dev-libs/boost/ChangeLog7
-rw-r--r--dev-libs/boost/Manifest14
-rw-r--r--dev-libs/boost/boost-1.48.0-r2.ebuild12
-rw-r--r--dev-libs/boost/boost-1.49.0-r1.ebuild12
-rw-r--r--dev-libs/boost/boost-1.50.0-r2.ebuild32
5 files changed, 64 insertions, 13 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog
index d9f768a18f68..275ba667383f 100644
--- a/dev-libs/boost/ChangeLog
+++ b/dev-libs/boost/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/boost
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.264 2012/10/21 09:08:50 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.265 2012/10/25 22:04:33 floppym Exp $
+
+ 25 Oct 2012; Mike Gilbert <floppym@gentoo.org> boost-1.48.0-r2.ebuild,
+ boost-1.49.0-r1.ebuild, boost-1.50.0-r2.ebuild:
+ Byte-compile Python modules. Create mpi.py for Boost >=1.50. Backported from
+ Progress Overlay. Patch by Arfrever.
21 Oct 2012; Markus Meier <maekke@gentoo.org> boost-1.49.0-r1.ebuild:
x86 stable, bug #425354
diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 136f67aac270..887d4751002f 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -63,16 +63,16 @@ EBUILD boost-1.45.0.ebuild 15793 SHA256 39b094accb2886d4c6a26b6db144c50ac2c5d1c7
EBUILD boost-1.46.1-r1.ebuild 16224 SHA256 9d7726f12645e301fcc9174880e45e44c9d1ae19d7a338da0503ce388e08138b SHA512 bef793e7689e32566139ebbfe5e3c9fe14896674543107e2c1edb1dc467e61f3f65483fb10fd67db3523eee3163c441fd0caea2f48f6bdd6ebcf72fbdc152273 WHIRLPOOL 1d232360ed7a515a9324f297017b71508619c8232543b92c3739d1463085598321016df10f4d2311e88da2b8edca19f9f03cb18a521ae1b9364d65e4ec2045dc
EBUILD boost-1.47.0-r1.ebuild 15910 SHA256 f29520bcbd74fa8d75acfc6a1cd7f30329b401cc35b1197e67fc6da39e14ac00 SHA512 def45bb3289e0e2676169edce1423840e310e0d6de5680099cbf3bfb6422b56e97bc57a04a730179b2d52b0ebf1a280ecc111b735851cb23d332f15ae2d1e83f WHIRLPOOL 58b926d3c34f116c252de63a6002ce29fa29c1ff58e0d86e3b25ad3900425841ffe23005a2ec092320acfd854831625a193f03bde675b72cc921b33c62a3efac
EBUILD boost-1.47.0.ebuild 15907 SHA256 e79d396d32d06b5e3353664d3c95de05448b935d5a36a6df83d32b01047b7c46 SHA512 4ddc6f2cbac138e5f4a12359a945da7c70536d8580a2cddd5f0271d5a8de69080843eb9bc547f6726ca5016e01b504a175e1de55854074ff7c4131f5138eda95 WHIRLPOOL 86c566793087c5a4e3ceaa94744715bd118126019212ad4a0d596ec0373e3354e449272d5902a44d8a824d2ef1f738c17038e17bd69a33b07719475da688bb10
-EBUILD boost-1.48.0-r2.ebuild 19807 SHA256 f9df74868d1fa5eafe831ce5ffa59fd6454a674a275cd99409630bdab6dbc8ac SHA512 ab41d728c1ae2512c7f173e07f61dc2cea7528ed2a115196f25b6fca07b220ba199aa1b3446f89c32c1aa35766bf97d56880f82231b612af4614e6829920055f WHIRLPOOL 7b23624b86bfd06f3a18385c54a0740a77b7da7070cd0312ae40fd5274f8c237749b0e84572f567b135fc2730ff5dc1ace43a1ae4085be1c18e4c08242aa9029
-EBUILD boost-1.49.0-r1.ebuild 19763 SHA256 649b49668abc16efba478ed25f75dac6a94747e8138d1a9f1c57a5f5bf32dcfd SHA512 45243d5d2daf78391adfe0b8f094fa7a704457f52ccaa99faf95adb3feab6c63eea7be1013aa25567fe83c2e4df9499015fd0c71070d18be1701c0afb0d24543 WHIRLPOOL 38fcdde180c2444637c235327b015444a6483273c1a67f4c0952730c6e31f20bad639c7f1c78553a97e75fe33d8d2d5d5d4a6088345ca4941cdb98ede1bf89e8
-EBUILD boost-1.50.0-r2.ebuild 19113 SHA256 d8a268006f46d44dd26c7bbd448cf97a2614637bf8b5f8b7469d101c903f8b85 SHA512 49a598f960b09f9c6e9c62b904a6485c9fd0797519b3d9904f0db04e74711c3f802514e0e2655ad226d829587b427d6c103825304f821e3b8fd560d6f1bf6fe3 WHIRLPOOL e5f9b44e0fccdcf53dc8058e478b392e0b2dabd1d7f3da8dd543b63137f0f0f15dccabefac89d9a8c4593ac58ad09039713d3caa0e8b6a926d9eeb8afe556a8e
+EBUILD boost-1.48.0-r2.ebuild 19954 SHA256 acccf121c23f5fb211ec55d08576b14d57240bfddceea8f6dfec7afdb63569f4 SHA512 8f72905cd49cb84f58bde9f886ca0a6de169212b6fff6b8848e37b48ed18c88eba791404027d2cb9336c05df782a418e6d7408a8eec9e1eb23ea919b8a33055b WHIRLPOOL dea9f598fb10574c50dffcc1060df7f34ba2f50381244a9c54091f39c261f43495e2dddfbac23c710b940d693305e49ec6c2b505dc3501e97544fa68a05fdd03
+EBUILD boost-1.49.0-r1.ebuild 19912 SHA256 a62787ab6416b8e567a8b3e0cdb74a1351cbe24531fdc417b8c407de50cae4fe SHA512 dbb92af96f5dac8bcfe586d326ceccc90d90c0c8a08eba30dfd1c8597b860177570a9c328d9e89ef4f126b8c6ef2e4a7071e9efbb1f23ac19838a229ff75d6cb WHIRLPOOL de1015b39beb31444f85a78304521c69cdf0316383a841cebd3e2c282ff392ff6031c53f8c45150b5379330e1acf2336df8729d4257be9661320a74ac726de0a
+EBUILD boost-1.50.0-r2.ebuild 19736 SHA256 83664e73a3bb8612fa724f3269dc082bc9ad8c6427a615ab0438b59c1ea7e4ca SHA512 78f5c28a58b0ac010a03a1083e655eb85f03e73f3bf0dff5de0d5570bd2e49c82d86ca46fcdf6f49d8b5ac41a110dd5971a3073726dd393836e72fe0e657833f WHIRLPOOL ff4d3d667bf4aebffd13fa3701dcdccf7a12dd69133764a945e8e05d6d097f392f123f87ae889fa994ac4f6eb45b105d7d3ca0cd0056b872d60591546fd4bc06
EBUILD boost-1.50.0.ebuild 19767 SHA256 485a0d40d3195c664c8bc6e294eb36c8ffe367541ac71bc424d9dfcc640ccfbc SHA512 8305b38a044bea58c7078fb19723363b00b78e7f8379ace6afc5cd5ce35e8788fb1694bae7e51470c8b2925369e5b7bc4d5d6e9bfa19992a5bc07a6399482248 WHIRLPOOL 4c60b0e2ccb05e89ec98dbc83ad31416ce6ca01a347c02fe9a4c99d4a402eb8ce5cf916580f6294796575cdcc7779b3ad31c539abb0f35bed19139cd78237186
-MISC ChangeLog 41954 SHA256 502018ff485d1dca8a60067ef5b3095f685cbc743c3f6b50ab1990524b1589d1 SHA512 a4dcf458f180a39e381cb9b922e3db7496c5d32c711a8977321535cd7e01dc891116503b25f8ff5f07468a7b82f34a98ade9827b91d273c454bf9a934f554b61 WHIRLPOOL b1e2c8af1787d98204e33ac9b293cf39a29a41e03c7d27009d984d9cc1763143f5ecd4c0dc22b550876656393d8e9790bca7c44467134b222b6dca031bb09feb
+MISC ChangeLog 42197 SHA256 927c6dc022746d122640cf521965d97635f7a6587fc9d5ca3c6ce52c93920181 SHA512 aafd6d9767aeaf280271200c2dc3d330df797cb0a9df34c938d02021d155003db6fd537f523cf18303d94c6e862e3382bd285a4f666f9de0a0469e70a1260a3a WHIRLPOOL b3962b1e571133a21c871c80bfdcea32c8084945a9b3cf1ea67a33a4048124ada4fb82f315b8b0d739ce642523c5fa28e49094a2a2c043a7048711b727c6f4b6
MISC metadata.xml 900 SHA256 145957b2e684c72aaa4fd6d2174e7ae66b2d8a36a49e144f6f99f3b9fa7fa811 SHA512 c3dec3e401bb1e27f37c81998079ed459adec357b6b044bcd08161d5a53ced18bf76d07d665c4f80bed1fe072b02ef84dc7a21316fee41f5c20ef893dfb93d09 WHIRLPOOL 05b7460e6f69943413caec2756b4e8054f9d884bf350027e5fbef56534279b25d6df937c94d8e96d5fb2ac01a109ef23d6d5359d48604f3f99fa7afdd83805e9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlCDvJEACgkQkKaRLQcq0GLYZQCfYJmDOsMnSxQqT8dkyyM2rfXl
-mZEAmgIoT8LiYKsLnhaqEd5YG382PR7c
-=M0tD
+iF4EAREIAAYFAlCJt3QACgkQC77qH+pIQ6Q3/gD9F3tIeOy9RhE2q3f0blUtuMkx
+f1z+8JKsMtntUQdiPDgBAL8oqyfLgR1MTBvGQcYbYbdNADkjxW1zxiwKGwwmF+8F
+=VMSf
-----END PGP SIGNATURE-----
diff --git a/dev-libs/boost/boost-1.48.0-r2.ebuild b/dev-libs/boost/boost-1.48.0-r2.ebuild
index 3e539f09e2a3..705d48b56dbe 100644
--- a/dev-libs/boost/boost-1.48.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.48.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r2.ebuild,v 1.8 2012/08/04 13:39:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r2.ebuild,v 1.9 2012/10/25 22:04:33 floppym Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@@ -612,4 +612,14 @@ pkg_postinst() {
elog "No active boost version found. Calling eselect to select one..."
eselect boost update || ewarn "eselect boost update failed."
fi
+
+ if use python; then
+ python_mod_optimize boost_${MAJOR_PV}
+ fi
+}
+
+pkg_postrm() {
+ if use python; then
+ python_mod_cleanup boost_${MAJOR_PV}
+ fi
}
diff --git a/dev-libs/boost/boost-1.49.0-r1.ebuild b/dev-libs/boost/boost-1.49.0-r1.ebuild
index 72211a563055..90a5c35de928 100644
--- a/dev-libs/boost/boost-1.49.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.49.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.8 2012/10/21 09:08:50 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.9 2012/10/25 22:04:33 floppym Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@@ -610,4 +610,14 @@ pkg_postinst() {
elog "No active boost version found. Calling eselect to select one..."
eselect boost update || ewarn "eselect boost update failed."
fi
+
+ if use python; then
+ python_mod_optimize boost_${MAJOR_PV}
+ fi
+}
+
+pkg_postrm() {
+ if use python; then
+ python_mod_cleanup boost_${MAJOR_PV}
+ fi
}
diff --git a/dev-libs/boost/boost-1.50.0-r2.ebuild b/dev-libs/boost/boost-1.50.0-r2.ebuild
index e936858e78e3..6f4d049d2439 100644
--- a/dev-libs/boost/boost-1.50.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.50.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.50.0-r2.ebuild,v 1.2 2012/08/27 08:11:30 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.50.0-r2.ebuild,v 1.3 2012/10/25 22:04:33 floppym Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@@ -569,7 +569,7 @@ pkg_postinst() {
popd 1>/dev/null
local python_module python_module_dir
- for python_module in mpi.py mpi_debug.py ; do
+ for python_module in mpi.py ; do
for python_module_dir in "${ROOT}"usr/$(get_libdir)/python*/site-packages ; do
if [[ -e "${python_module_dir}/${python_module}" ]] ; then
rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
@@ -577,7 +577,7 @@ pkg_postinst() {
done
done
- # Deprecated code for older versions of Boost.
+ # Deprecated code for Boost <1.48.
local mod="mpi.so"
for moddir in "${ROOT}"/usr/$(get_libdir)/python*/site-packages ; do
if [ -L "${moddir}/${mod}" ] ; then
@@ -592,4 +592,30 @@ pkg_postinst() {
else
[[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
fi
+
+ if use python; then
+ if use mpi; then
+ create_mpi.py() {
+ echo "from boost_${MAJOR_PV}.mpi import *" > "${EROOT}$(python_get_sitedir -b)/mpi.py"
+ }
+ python_execute_function -q create_mpi.py
+ fi
+
+ python_mod_optimize boost_${MAJOR_PV} $(use mpi && echo mpi.py)
+ fi
+}
+
+pkg_postrm() {
+ if use python; then
+ if use mpi; then
+ delete_mpi.py() {
+ if [[ "$(<"${EROOT}$(python_get_sitedir -b)/mpi.py")" == "from boost_${MAJOR_PV}.mpi import *" ]]; then
+ rm -f "${EROOT}$(python_get_sitedir -b)/mpi.py"
+ fi
+ }
+ python_execute_function -q delete_mpi.py
+ fi
+
+ python_mod_cleanup boost_${MAJOR_PV} $(use mpi && echo mpi.py)
+ fi
}