diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-09-08 21:49:52 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-09-08 21:49:52 +0000 |
commit | bc8cf02ed3ba00ffe20ce16e3adcf1d1581db265 (patch) | |
tree | f6c12dc41dc9563c9a274c1303c2deb146cc32af /dev-python | |
parent | fix various compilation issues thanks to Arfrever (diff) | |
download | historical-bc8cf02ed3ba00ffe20ce16e3adcf1d1581db265.tar.gz historical-bc8cf02ed3ba00ffe20ce16e3adcf1d1581db265.tar.bz2 historical-bc8cf02ed3ba00ffe20ce16e3adcf1d1581db265.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha124/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/shiboken/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/shiboken/Manifest | 24 | ||||
-rw-r--r-- | dev-python/shiboken/shiboken-1.1.2.ebuild | 94 |
3 files changed, 123 insertions, 3 deletions
diff --git a/dev-python/shiboken/ChangeLog b/dev-python/shiboken/ChangeLog index 370b31d52a4c..04c2a012d26a 100644 --- a/dev-python/shiboken/ChangeLog +++ b/dev-python/shiboken/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/shiboken # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.31 2012/07/27 21:31:46 steev Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.32 2012/09/08 21:49:52 pesa Exp $ + +*shiboken-1.1.2 (08 Sep 2012) + + 08 Sep 2012; Davide Pesavento <pesa@gentoo.org> +shiboken-1.1.2.ebuild: + Version bump. 27 Jul 2012; Steev Klimaszewski <steev@gentoo.org> shiboken-1.1.1.ebuild: Add ~arm keyword. Tested on i.MX6 (armv7) @@ -150,4 +155,3 @@ +metadata.xml: Initial ebuild for shiboken. Replaces dev-python/boostpythongenerator for >=pyside-0.3.2 - diff --git a/dev-python/shiboken/Manifest b/dev-python/shiboken/Manifest index 3254d2bf27af..be360b6c9ea1 100644 --- a/dev-python/shiboken/Manifest +++ b/dev-python/shiboken/Manifest @@ -1,5 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX rpath.cmake 393 SHA256 b89f3698d321e30afef0f7c32be009d5d926f92ba310ad44b384cdbc1a6a104d SHA512 b9f2d3b34fd31a7e289e3aa1c96110f92bc66f45e5bfaf796f86d52eb832e960caca0e314b87248d0a41c13c95f04402607cbb5ad7d0b3238d5bab5580c3a65f WHIRLPOOL 79dbd32a58b6bf8a408f8fef3dd918c1946c89c32731b515984cb0ed8230c63cd724150db636523484d525c2ebad1f78217c7ccb6a294221aa8d2ca8dcce6a1d DIST shiboken-1.1.1.tar.bz2 1065920 SHA256 1cedad65d5d12e1b81a487b6aa7a1cb0a494934cb39c34f3cffcbc6c645d7e3f SHA512 0bf76f82ae22a1ee42329ea08b4c4386cd949363e053e5e8575033ddd01e4a1277911c55f84bb6689caafc9dd5d1eb57a2806164b39522d9e62c19b2906e3147 WHIRLPOOL 68e6c233d576607a5446b98dc1e405963167b32031b1d500f9034b6b45d97aef176172cab48db780601752b03ab696c7f127b5f1f72b117106499edf2fcf5991 +DIST shiboken-1.1.2.tar.bz2 1067457 SHA256 8f9e8fbe7b3667aafdf6bc88663d28f43999d7ccbfdc3e63aa791db1a554a9dd SHA512 520818743497d82ca2e111a617176068d9daf47b96e8a545949ca644f000d2281dac4d0bd1c12af7822a4895b4019a6e1a76eca47121e792669be0f5ba6f6bd6 WHIRLPOOL b85747663a969c8bac711d55ca4b20de03715777289ef453d6c88354e1ede39f1a3f9c1286ddbcb130570cd49bbfd4f299b46aca822b6f6edcf23e039db9c126 EBUILD shiboken-1.1.1.ebuild 2284 SHA256 54c51454448fcb79f34a1d59beb334224f325acdb8c81840979c8e1cbb9abad1 SHA512 0f755cbd14b42ebbab8ac1a6af49615b1fc86c2d258a0b45f4536bd9ca2352c8c6a2290a745f97dd0f3554454ec37697374a4a59a53880c44925cfc314f1755c WHIRLPOOL 309e9ca426d53d8912ce273542e0eb0efeb9e85eeea4c1860e1a97a27100d33e9276f8e994b6867387b17e1ba7a7b106941ffc47017fd644d37998397a52f9ac -MISC ChangeLog 5288 SHA256 4620aee8936659415c9936d7e9d7f6dd1eb0b95fdfb0fd410cb9818d9560a31b SHA512 41fa6d03b44bc9ab0da1273be71c9657b9b9f182854ea0a3fe7111e0b9593054a083f08e1a36cf6e931d317b1abb1eaeddb94851b84b53ee91f7c35b4ffd0a93 WHIRLPOOL 92e10f5e518c635707761901887e19db2085a32d10c0a0da6248604e95f4b8493e85a4251e1f3de3a318a432f00561e82b9dfd4d898875daa33908d9c06699ab +EBUILD shiboken-1.1.2.ebuild 2336 SHA256 72bdefb732a1b7d385d99ea70c6110c6fd035ed8b312ac5afc791ca10d12a9d5 SHA512 05b46907ad5623046b4814b4a96e0f9de1296f32729ab20260a82797881e8d21e282427f8ac701e02760b2cd8576668f1186451eaeb2a20df8ad9eb13b026b9d WHIRLPOOL 7a3682e8d763175be92740a54e970ae995dc679c72298a5b88bcfa19259534fff1ce0606aedb147a99f6172389ae427f9762319cce0880235c33f7f1b7d31734 +MISC ChangeLog 5408 SHA256 919e99c2593d9d12eb7d5f87d804b864df1df312b27af45afe508bdd37e52d7d SHA512 73e68fe586976007f36f1a5dc3ef190480cb54537a98e74ae7531ed58a88def47f89634446bc97434cce21d32f2c92c1734ad233a8fcfe779750ec00809ad1f7 WHIRLPOOL 94149d04e97b46b3b01e3fb34b5d56f788a8f30aeea25135643e23c922ab4a78828934a6d38c21b3fbc3441ed39195aa58a4fa10b5dcb1d6790552a43fa2e785 MISC metadata.xml 155 SHA256 94ed5876ef16dbc191744ff6b8939a0f428fcb8add316d898880e1c4c880b9e7 SHA512 f05c8982778167c3667c9246b9730ba49fec2967731ed2c615e31a7fddc220fcea8c0843caa70a14957c8c4910892c512b6f2e00a9724d65e6032e1289f4562a WHIRLPOOL 25ccd49f04da07c8525fe18b21229764bb4104938abefc6c953bf9caa533dd5c10ae7b3f80a1251182e6c1520c09383d9f1d0ac1dc74832a99299c9be27406c4 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJQS72FAAoJENXLsxwXqFxyl/kQAKHxn1lYjpJNhqVTxb2CBAzN +gparZlmLZTKnNCKPvSumUH+VAXfQZm/qUd/uFGU46z9mXykrCBEcb7gF4jhEqHt9 +iBT+vNW4PYiykM+GtoDg6jq74+6bfj8atQgR739dy810SQF1E318DVuACKZ7Kh02 +oKzNH/TBWdE7BSW8DFrZBrAwXbo96x0UTTGILRkJyaDhIWCWUlMgpQszEf8k5Uj8 +DZe5O3qE55uJVXy6QJXrha/16sIvguvAyQV+9ZVdOl8MZAFrAvVxcYXmYcfGiDdi +bFkMYvVG+HW8QEBThUJwHwtNRIpyyacYYpLtjdGodvTuR8fNaTCYgnADyPO0jELg +eMyowcNdydR2pqcVGeKleRT2JEUWtlY9I/Z+I5LpHte224n0fV5je85Hbo6WEDmT +V6NZPOpanJ/upSYhNUa3V6ZtaWpvOM8WuoIedcLba7DynMx4u24astzka+FeBPtH +a8Y7SOXgq0gdIUwTatqyqR+P0x6YgLDy24xZSjrRR5j4sQlf7JtJmgbOJZuw1mIR +sxrLv7IYWEtKlNqoBvQomHk3o4MqZaFYBkDJcExhlF6RE6z5WBwPDmC3H82+bepR +VZFRSh1IMjidr3iqNCULGYJH6I8oGdpwgX/ElrLfv3hhDXr/x32rJHlI/TOeNjCe +SYCbPDcm+L5SZTIoxMu6 +=EqMW +-----END PGP SIGNATURE----- diff --git a/dev-python/shiboken/shiboken-1.1.2.ebuild b/dev-python/shiboken/shiboken-1.1.2.ebuild new file mode 100644 index 000000000000..b6089f1c4361 --- /dev/null +++ b/dev-python/shiboken/shiboken-1.1.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.1.2.ebuild,v 1.1 2012/09/08 21:49:51 pesa Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.6 3:3.2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*" + +inherit multilib cmake-utils python + +DESCRIPTION="A tool for creating Python bindings for C++ libraries" +HOMEPAGE="http://www.pyside.org/" +SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-libs/libxml2-2.6.32 + >=dev-libs/libxslt-1.1.19 + >=x11-libs/qt-core-4.7.0:4 + >=x11-libs/qt-xmlpatterns-4.7.0:4 + !dev-python/apiextractor + !dev-python/generatorrunner +" +DEPEND="${RDEPEND} + test? ( + >=x11-libs/qt-gui-4.7.0:4 + >=x11-libs/qt-test-4.7.0:4 + )" + +DOCS=( AUTHORS ChangeLog ) + +src_prepare() { + # Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake, + # caused by the usage of a different version suffix with python >= 3.2 + sed -i -e "/get_config_var('SOABI')/d" \ + cmake/Modules/FindPython3InterpWithDebug.cmake || die + + if use prefix; then + cp "${FILESDIR}"/rpath.cmake . + sed \ + -i '1iinclude(rpath.cmake)' \ + CMakeLists.txt || die + fi +} + +src_configure() { + configuration() { + local mycmakeargs=( + -DPYTHON_EXECUTABLE="$(PYTHON -a)" + -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" + -DPYTHON_SUFFIX="-python${PYTHON_ABI}" + $(cmake-utils_use_build test TESTS) + ) + + if [[ $(python_get_version -l --major) == 3 ]]; then + mycmakeargs+=( + -DUSE_PYTHON3=ON + -DPYTHON3_INCLUDE_DIR="$(python_get_includedir)" + -DPYTHON3_LIBRARY="$(python_get_library)" + ) + fi + + CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure + } + python_execute_function configuration +} + +src_compile() { + compilation() { + CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make + } + python_execute_function compilation +} + +src_test() { + testing() { + CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_test + } + python_execute_function testing +} + +src_install() { + installation() { + CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install + mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die + } + python_execute_function installation +} |