diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-02-04 14:02:39 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-02-04 14:02:39 +0000 |
commit | edecc7a66befec7ae6f9c41e37a0d051ce269fc5 (patch) | |
tree | b27784258210033e6edf115bd989d92253a8a0f8 /dev-python/pyside | |
parent | Call gawk as before since GNU awk is required and breaks with e.g. BSD awk. B... (diff) | |
download | historical-edecc7a66befec7ae6f9c41e37a0d051ce269fc5.tar.gz historical-edecc7a66befec7ae6f9c41e37a0d051ce269fc5.tar.bz2 historical-edecc7a66befec7ae6f9c41e37a0d051ce269fc5.zip |
Migrate to python-r1 (requested in bug #455378).
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python/pyside')
-rw-r--r-- | dev-python/pyside/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pyside/Manifest | 21 | ||||
-rw-r--r-- | dev-python/pyside/pyside-1.1.2-r1.ebuild | 129 |
3 files changed, 143 insertions, 16 deletions
diff --git a/dev-python/pyside/ChangeLog b/dev-python/pyside/ChangeLog index 66d4ff5f9cd3..4bf34fcd92d6 100644 --- a/dev-python/pyside/ChangeLog +++ b/dev-python/pyside/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pyside -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.47 2012/12/26 06:29:30 pesa Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.48 2013/02/04 14:02:36 mgorny Exp $ + +*pyside-1.1.2-r1 (04 Feb 2013) + + 04 Feb 2013; Michał Górny <mgorny@gentoo.org> +pyside-1.1.2-r1.ebuild: + Migrate to python-r1 (requested in bug #455378). 26 Dec 2012; Davide Pesavento <pesa@gentoo.org> pyside-1.1.2.ebuild: Cosmetics. diff --git a/dev-python/pyside/Manifest b/dev-python/pyside/Manifest index 3f1d3867cde8..a0f1e4298fb0 100644 --- a/dev-python/pyside/Manifest +++ b/dev-python/pyside/Manifest @@ -3,23 +3,16 @@ Hash: SHA256 AUX rpath.cmake 393 SHA256 b89f3698d321e30afef0f7c32be009d5d926f92ba310ad44b384cdbc1a6a104d SHA512 b9f2d3b34fd31a7e289e3aa1c96110f92bc66f45e5bfaf796f86d52eb832e960caca0e314b87248d0a41c13c95f04402607cbb5ad7d0b3238d5bab5580c3a65f WHIRLPOOL 79dbd32a58b6bf8a408f8fef3dd918c1946c89c32731b515984cb0ed8230c63cd724150db636523484d525c2ebad1f78217c7ccb6a294221aa8d2ca8dcce6a1d DIST pyside-qt4.8+1.1.2.tar.bz2 3758918 SHA256 e15efc67feeda6cfdd9574673fd30f769d9b6529dfd64d53efc80224aecb107a SHA512 16651b13f5ab096313fe4fc1ff9580f241c61ff98167018459720eca6faeed7af3dc6918c85913ee07c4cd27f0070c7c1c204d81a5538754ce7b9dc2b79c41b1 WHIRLPOOL a086b4dc09c1b1a376363c0f3858d8bccd39d083bbdd484ec8b833ddd21fc6502174c2382bd10cbfe99ec4cadee740e3e16ff745ccad30ed0b611275e54049b9 +EBUILD pyside-1.1.2-r1.ebuild 3354 SHA256 b416a08a3745e7dcd0af353673bb056148d01df91d26475ddbd6a8211ff08229 SHA512 9fde68404f57faee8a83392cee3ddbd19157db2bade652baa3ef8a109332e3b51a7c07db1e8461018f93b66bf4a6f717d4e19949b663a032bef08e13c9e16f91 WHIRLPOOL 398debe55552332d615f1eab49d236cb2656816dcfea001a58726e4317ff249b1024321b8f530210a1980f0c4fb81b038d3abb03957406cdc48343c23f72a540 EBUILD pyside-1.1.2.ebuild 3578 SHA256 2f22bd296ed4c040ecf67b21a0c546e2996cea4d8f9fb88760bbc44e400d6d9a SHA512 79b21c65f758838b129197427e5cb4e98995c4100ae58b337a410aa91912dfbfc1b457ce83c5a301a6e95683a0ea002f7f12b83809c3a727997c0eb32d51912b WHIRLPOOL 3b3111d54778de675e67ce31e998069fd7dedf64b2b789b0f0bad4c873e74e8dada2af7a48466c790c162a29e4d78c5164ca4f1dc981080dabe7118ae6fd6dca -MISC ChangeLog 6766 SHA256 7bd391edeae6f60e92ffde619b346fda9b87cf50be6e352d84a63f8ef1a6ace2 SHA512 47ed4641331e1492439adc75e7e2d8af44c87e12372cf3deab5186c684c29c19e89a25f86dc9e3e590a9d584ccff862ede004498728cadafb3a5b04031d38c20 WHIRLPOOL f6a9858ac55f9aa6868d9c2d13f4c3b070ca0090fa97ab523d88c8f42b4859c1de7b6a1bf1f010325a107f3ae1368a967f7b69179cc725946b60c8346ec9217f +MISC ChangeLog 6927 SHA256 629f53470a93f64806bc14a9c751bc7b707e35bf631ef037740104f73b23fe53 SHA512 2072bc28a46947b43e53374c9baefce3db1acebad212ca5a47ec5f195868da377c9b9099c9949a6b63392c0122e7b83cdc1de1bcfb59689ce4db2b0f4fa05e44 WHIRLPOOL 462ee3cdaee28b8346248bda112d245e3e951330dcc3f74fa2f97fd78b40278166c03d17367dfe37285230b7a909c88fc4d79ba69719149fd148e6b9b0e2b273 MISC metadata.xml 927 SHA256 cb5e2cd6880a6542aba84f9e6d428a0108854c30c535af9e97cd596cc4b8f20a SHA512 2c5a10757e5fc95448626a3cd5a70db32ed8524d70f0b525b1dca89b7cdc5ba5bdd1e2c3f78badde5824cf3136ba6f0ac9b882dea1241fe371186365a9206de6 WHIRLPOOL 3c56c90753a8e4c2e356170734dd0b9cb4d827a7a336f41f79845fb62923bd9605027d48ff1cfe0573d10192a99b7919000566579bc97f868844f120f95cbfca -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQ2plKAAoJENXLsxwXqFxybfgP/iZAXpouPeB8GE3TA6NUcAAN -yFdf5RAqImt907pWlmTaD2sw2AfCKY/fAByzrW3y+rM73SE/7weocW5VL0057eeJ -vJcmHqgmQzAKs0y6ypuZMNBktv64ceZAdeowfPlvF2mwRywFR4Dht7BcEH8kQoxh -VlMe3kmkkhkqLn6/Wlp0q9Qfvta8q50P2QV60zIx9esu/xRlkWPHFc13r42blG7T -I59Pp7THWVmLSdXnmvt4KFf38jn1nTO9W0w3HMP+9DSVN3HXSmGD9qun5p1J/vWI -wK5kAOfKDyByeBmZTwrtntmz7xzFEZTmgF4n67Ezb9GLhdujg3p3LGNeqgngeEqJ -VbtD6NnyvkWP6DmlyFUtK/wfU4xaobsc+yTkhfjD7CaScPUOAAmZvE2OQyPMDUcX -kxUr5Hmec/XlC4DQ7+2HLv8OleSTNRnKa0+02L5uWiHs7Q6VRQ6MJf2GtZWOgboy -vYOEWKI73OVqQntOfo1fH5pV8uVmE4h7RmjAOAibfYn5I8qE38Eeg7r7K12MpBIV -wQeeZKPLHcVvp/cLkwGZA9JulTYLKnmXjb9eb+iM5FEw9h+lqeXfzEPgPvRDPZze -ctBfmxM0b3c59q/0YtNGgW3cxaE+x+EXQv+UWtDIOomaaJnSjBqM/oHW6pnaul9B -qN3dxRayugDe4STOnUmj -=DwSh +iJwEAQEIAAYFAlEPv38ACgkQfXuS5UK5QB1HpgP8CY4mDA9cbZTLu9X9RGA37Gxu +DHPuaEf/tsidbLw+hrHdl0tSs3012IPYhlYLo4Kq9a7VWD7xWkdq5DjCgKyEsg3L +KHaF8bwGuefgaRPH8H390Rot876CbTUQEFZTJzk0vtZvYKGWSO0IlMkzishKKnwh +QcD61Nq7IU29CA/afco= +=lrCU -----END PGP SIGNATURE----- diff --git a/dev-python/pyside/pyside-1.1.2-r1.ebuild b/dev-python/pyside/pyside-1.1.2-r1.ebuild new file mode 100644 index 000000000000..e84db0a8f8a8 --- /dev/null +++ b/dev-python/pyside/pyside-1.1.2-r1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.2-r1.ebuild,v 1.1 2013/02/04 14:02:36 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2} ) + +inherit multilib cmake-utils python-r1 virtualx + +MY_P="${PN}-qt4.8+${PV}" + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="http://www.pyside.org/" +SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="X declarative help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns" + +REQUIRED_USE=" + declarative? ( X ) + help? ( X ) + multimedia? ( X ) + opengl? ( X ) + phonon? ( X ) + scripttools? ( X script ) + sql? ( X ) + svg? ( X ) + test? ( X ) + webkit? ( X ) +" + +# Minimal supported version of Qt. +QT_PV="4.7.0:4" + +RDEPEND=" + >=dev-python/shiboken-${PV}[${PYTHON_USEDEP}] + >=x11-libs/qt-core-${QT_PV} + X? ( + >=x11-libs/qt-gui-${QT_PV}[accessibility] + >=x11-libs/qt-test-${QT_PV} + ) + declarative? ( >=x11-libs/qt-declarative-${QT_PV} ) + help? ( >=x11-libs/qt-assistant-${QT_PV} ) + multimedia? ( >=x11-libs/qt-multimedia-${QT_PV} ) + opengl? ( >=x11-libs/qt-opengl-${QT_PV} ) + phonon? ( + kde? ( media-libs/phonon ) + !kde? ( || ( >=x11-libs/qt-phonon-${QT_PV} media-libs/phonon ) ) + ) + script? ( >=x11-libs/qt-script-${QT_PV} ) + sql? ( >=x11-libs/qt-sql-${QT_PV} ) + svg? ( >=x11-libs/qt-svg-${QT_PV}[accessibility] ) + webkit? ( >=x11-libs/qt-webkit-${QT_PV} ) + xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} ) +" +DEPEND="${RDEPEND} + >=x11-libs/qt-gui-${QT_PV} +" + +S=${WORKDIR}/${MY_P} + +DOCS=( ChangeLog ) + +src_prepare() { + # Fix generated pkgconfig file to require the shiboken + # library suffixed with the correct python version. + sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \ + libpyside/pyside.pc.in || die + + if use prefix; then + cp "${FILESDIR}"/rpath.cmake . + sed \ + -i '1iinclude(rpath.cmake)' \ + CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_build test TESTS) + $(cmake-utils_use_disable X QtGui) + $(cmake-utils_use_disable X QtDesigner) + $(cmake-utils_use_disable X QtTest) + $(cmake-utils_use_disable X QtUiTools) + $(cmake-utils_use_disable declarative QtDeclarative) + $(cmake-utils_use_disable help QtHelp) + $(cmake-utils_use_disable multimedia QtMultimedia) + $(cmake-utils_use_disable opengl QtOpenGL) + $(cmake-utils_use_disable phonon) + $(cmake-utils_use_disable script QtScript) + $(cmake-utils_use_disable scripttools QtScriptTools) + $(cmake-utils_use_disable sql QtSql) + $(cmake-utils_use_disable svg QtSvg) + $(cmake-utils_use_disable webkit QtWebKit) + $(cmake-utils_use_disable xmlpatterns QtXmlPatterns) + ) + + configuration() { + local mycmakeargs=( + -DPYTHON_SUFFIX="-${EPYTHON}" + "${mycmakeargs[@]}" + ) + cmake-utils_src_configure + } + python_foreach_impl configuration +} + +src_compile() { + python_foreach_impl cmake-utils_src_make +} + +src_test() { + local PYTHONDONTWRITEBYTECODE + export PYTHONDONTWRITEBYTECODE + + local VIRTUALX_COMMAND="cmake-utils_src_test" + python_foreach_impl virtualmake +} + +src_install() { + installation() { + cmake-utils_src_install + mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die + } + python_foreach_impl installation +} |