diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-02 19:55:54 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-02 19:55:54 +0000 |
commit | 539b93c0a3ee6059cacfea8a1e641211bba96583 (patch) | |
tree | c2102951c12615f733d2e729e2b5a7f01a04e6dc /dev-python | |
parent | Fix dependencies. (diff) | |
download | historical-539b93c0a3ee6059cacfea8a1e641211bba96583.tar.gz historical-539b93c0a3ee6059cacfea8a1e641211bba96583.tar.bz2 historical-539b93c0a3ee6059cacfea8a1e641211bba96583.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha30_p35/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/PyQt4/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/PyQt4/Manifest | 32 | ||||
-rw-r--r-- | dev-python/PyQt4/PyQt4-4.8.4.ebuild | 174 |
3 files changed, 198 insertions, 16 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog index 0fd98237d2e4..0346680239eb 100644 --- a/dev-python/PyQt4/ChangeLog +++ b/dev-python/PyQt4/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/PyQt4 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.150 2011/03/26 16:38:02 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.151 2011/05/02 19:55:54 arfrever Exp $ + +*PyQt4-4.8.4 (02 May 2011) + + 02 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +PyQt4-4.8.4.ebuild: + Version bump. 26 Mar 2011; Andreas K. Huettel <dilfridge@gentoo.org> PyQt4-4.7.3.ebuild, PyQt4-4.7.7-r1.ebuild, PyQt4-4.8.1.ebuild, PyQt4-4.8.1-r1.ebuild, diff --git a/dev-python/PyQt4/Manifest b/dev-python/PyQt4/Manifest index efc5e9a385e9..175f1e9bb99b 100644 --- a/dev-python/PyQt4/Manifest +++ b/dev-python/PyQt4/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 AUX PyQt4-4.6.1-configure-multilib.patch 883 RMD160 4ce96cdf4d53773c245544737c894c2494e9de29 SHA1 d0c9b214172b47537873e3fc1bd5fb34e815220c SHA256 6b33666a0b773122330d33a1b88ddd3b18d2d3b2c265e3fd4edc253f1bdfab1a AUX PyQt4-4.7.2-configure.py.patch 933 RMD160 1c9525855d47bcdbf0c88618294be44274ce653b SHA1 4b27ab9173692a9d74598dc7c7fc88c3531e09b5 SHA256 1a87c58ccb14441f77c7c764b6e6c40d1bdd64c5b35581f3deda54019a3461be @@ -11,28 +11,30 @@ DIST PyQt-x11-gpl-4.7.7.tar.gz 7831682 RMD160 1d4b6f6dce48df968cfc4d85d49178abbe DIST PyQt-x11-gpl-4.8.1.tar.gz 9409175 RMD160 e5ba0d98359ce315432f479a5f44b2c1ae69b77a SHA1 e064ed38817bafde72f2a57679d80d40c7015afb SHA256 1feab80dc82dcd451233edeb1cde9cc75fa38b6e8f47780ec6dc317ebe0cf370 DIST PyQt-x11-gpl-4.8.2.tar.gz 9605005 RMD160 ba9948dcd05964c6f27d24b0f2d224a3d6109258 SHA1 fd26aed89a6032c85a553bfd5228280ac982b85c SHA256 ea9f4643d090a4416daa745ecf527c04429b89614d4fde8143a2155f64300fe4 DIST PyQt-x11-gpl-4.8.3.tar.gz 9770929 RMD160 b871a5937c5d1a1e4deded5e7c62c33e9c692fbf SHA1 b634467f803704fffa2ff94ad84311796c36d6b8 SHA256 8a59fe9dbb4d7f441dfa2e9405ebbf016aa3da838aa7ccfd429a429457c3d664 +DIST PyQt-x11-gpl-4.8.4.tar.gz 9799081 RMD160 100d16e9005e3b83f0030e498a16d99636c9034c SHA1 747236d5dd103687cac54746af0a24a1adbc067c SHA256 fcfa3ecc0b4fad6d93227751b36a6f81ea104ee19dd26905f52de59f060b3e98 EBUILD PyQt4-4.7.3.ebuild 4671 RMD160 486ca36240c077f2e85c7d162e2928600fe6d174 SHA1 ab425b75e06169e4f1b95108e991f8a0c37ed27b SHA256 ec822408faea454f405a4d62cce24b1b933c365435e02a17a5ed59bee9400acf EBUILD PyQt4-4.7.7-r1.ebuild 4645 RMD160 f5ec224cc9705a24bf2c131234d25360a6f20390 SHA1 b9cda1ecb400dd15ddc11996dfd00722b3457f86 SHA256 0bfb387b8e99aaaa5678fa002b34370517714732a325975722f26fd4bc4ca88c EBUILD PyQt4-4.8.1-r1.ebuild 4923 RMD160 6c99c7da1dfd99a5dab21510d6fb0840c43341ba SHA1 8079e0d0c2403e586558450808b4091e6b34a686 SHA256 15bd628ed8049e05b8bf182a95d1d92e394944642eee025ecfe1609852e88215 EBUILD PyQt4-4.8.1.ebuild 4797 RMD160 421e76d1ffd040195e9792e0b44feb6d1eaef08a SHA1 7a290189c67a3b5d5ce425db4b2121ca1aa3df01 SHA256 567076cd2bd83c02ae863ff77a96138c1fbbf7305dcbdb57182875804a5d9662 EBUILD PyQt4-4.8.2.ebuild 4918 RMD160 5a0feedede8c46f0c263b9af7ef9993c1afed338 SHA1 c97586783414cde972dcb1e31c60dcd285561929 SHA256 f7054dc6acdf5209545cae873b60b6b9990f178a78e2c7aeec25515f29006f48 EBUILD PyQt4-4.8.3.ebuild 5033 RMD160 e072ce2ec5fa16872d4b3a0e0e654cbcb3007133 SHA1 c86c528bfab7cefe38e73141b5a27ad3fd4e17a4 SHA256 172dc22ec406f7d4b899117deb5ade1efe0af2c04c037ce5aebdc08f70b3b8b3 -MISC ChangeLog 20829 RMD160 301b3e9b6f4ca486fd8d48b8d984396b0945a995 SHA1 72d85e4cffacdd8111a86cb7cc3a58f3dccb7e74 SHA256 6904de26f3675355bdc4c0cfb39cb0bf14675416ce4547a5a5007f9b9181dede +EBUILD PyQt4-4.8.4.ebuild 4980 RMD160 239377250dd7a8748ac1cc5b4999b16e035060c3 SHA1 480f2d7b326185e171aed3687c9fb1249ebb1ab9 SHA256 514a8930aad3d5804101c7746e01dcf7dc93e325a71ad116bf8f47beaae3eb1e +MISC ChangeLog 20969 RMD160 54ed403c3ef10377ea5e4c85ae0b5f884c6e58d9 SHA1 009460df186649b857a72aa83d53f3979297d640 SHA256 e93b224663f9a0966892244afcfff5e50081034e3f97cbabf0cbd7b27f8c10aa MISC metadata.xml 878 RMD160 cdc42fae8ad9f67bbe0dcc949f7822cc72d0acf9 SHA1 f1907739ab33d27cd8276c57b4d062a3b44ae402 SHA256 89c99beeac252dc158fb953793675d0133b2daa91b22f4c5a016262348323afe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBCgAGBQJNjhZ6AAoJENwGBM22xffeRR4P/RoYm1Hqlp/la+tdVEu/L2aE -OyWmFoU7xcFYH374KvK7xbhtLlIFMUWJeiafBxzIP289FnAz38Kvc77pGexmcWgr -mtexGxsXhi7VHYW7Q9+7cBUp05KIzX0ZLLJYtBIaw2hYkrF2deommFUMmfkeUeUy -uZHKiBOnFPoXHNYgTO5CJRGwXc9idHmpeLCTJqJxewtePx1cmYZJbtfp3jjjUdEf -98L2k/LQ1UkAeME+W5mN0lLzit8HWgwUXEDhKusCScUpA+vZcxUNxeFfWzWQ//Bt -6VOUvplDcx27VUNKAbFqTmSATZ5sYTyqTL6i2oc5czZUs/hGhrOSEOXfo5s/69Yf -RUsvZebdGvVzUzZVrH3WfzKEQZZsmx7t25dO5MaST9b7SfH1P3F+OtK/5DpYdrpL -ALuqxyYiY4PCqDUjFNTz1JWRgQqXxyVitmngQfgavIog6JFhNgTdaK7KW68JnGDo -PlhE06rNhIq+P82Jn0WNZYmUdQKlQRR0soecAAd7OnFMvnZfPZoVcgKzclY/cdRO -/Xy2hbIGizw3DSGXXvcBYUsdp5Wh6pIRe2jYwtpIhmCkET0y/M18RWgH3SF47qox -kaVcDvvNNAjn6Rp+dBsG54Ns950mSqfkrOqbvXawQNgXA1WtfCMPHExnil5PDfhZ -5QpSYgCGLf/EIqKTFStQ -=Dnjf +iQIcBAEBAgAGBQJNvwxWAAoJENgZr6v6gHY0R2sP/1o1ytM77XIC+Glp4iJgTBjW +815wc+Viv9QpZRQLD9wUax78ATcp5iJBCLqTzGzPmXM8rpsN7KBAMyzpvpVjnn1z +7p5xNjdPP/cKV21Z35/9XEzEEGXv//642BG/d1EJXUr/j3DUmINys+W/Y92TU4G9 +xwQ+lhWFbT/3AQo8252bTncgqqbiLTuU1S7uMkLLBo1mNvc+PW5PCHeRt21RTfsA +HnxI7hS0w/J54Z3bLoIE3aLTjk5wGSatuEBfmu8QT33h8OoLvAjzpM9QwiGw6x1V +fTXbEMaMZyz9nBMJBWPvtHlNfYg831Z14S9UceDBuadDGreHR8wxMoee16wsVT4Y +lY9biaweQVMbGe1vXzyePTUQDiSQ8hGe8Mv+4MAek0z5muAxZUgGS5y4HbWRLs/n +/Aym4VFLOpFpsohVWG+WxLthLzTID4YRMH10Ww3mh8j2SL1E74IRs49tG67x0w6B +3AsQAivbtA1BtuYpN9pUEO0GYi9t9EyOiIFpVlH7qgLhScCbASGXkqDXJcGOIMuv +OcBMSKlUo/klW5UC56hh7kjhu+TZ4CyHIpmubJTnCAb/f4WhgfglyPdOhzS5j0ke +3a+1CttYVgFm+MF9cmsYC0J6od1a0zJW/MX54MrV+cCPZnBFN6Oj2M5+7kusnnSf +aCv79l2Of0KepbBLb2m9 +=fjlH -----END PGP SIGNATURE----- diff --git a/dev-python/PyQt4/PyQt4-4.8.4.ebuild b/dev-python/PyQt4/PyQt4-4.8.4.ebuild new file mode 100644 index 000000000000..a45af85aa3ab --- /dev/null +++ b/dev-python/PyQt4/PyQt4-4.8.4.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.8.4.ebuild,v 1.1 2011/05/02 19:55:54 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="*" +PYTHON_EXPORT_PHASE_FUNCTIONS="1" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython" + +inherit python qt4-r2 toolchain-funcs + +MY_P="PyQt-x11-gpl-${PV/_pre/-snapshot-}" + +# Minimal supported version of Qt. +QT_VER="4.6.2" + +DESCRIPTION="Python bindings for the Qt toolkit" +HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt" +SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="X assistant +dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns" + +DEPEND=">=dev-python/sip-4.12.2 + >=x11-libs/qt-core-${QT_VER}:4 + >=x11-libs/qt-script-${QT_VER}:4 + >=x11-libs/qt-test-${QT_VER}:4 + X? ( >=x11-libs/qt-gui-${QT_VER}:4[dbus?] ) + assistant? ( >=x11-libs/qt-assistant-${QT_VER}:4 ) + dbus? ( + >=dev-python/dbus-python-0.80 + >=x11-libs/qt-dbus-${QT_VER}:4 + ) + declarative? ( >=x11-libs/qt-declarative-${QT_VER}:4 ) + multimedia? ( >=x11-libs/qt-multimedia-${QT_VER}:4 ) + opengl? ( >=x11-libs/qt-opengl-${QT_VER}:4 || ( >=x11-libs/qt-opengl-4.7.0:4[-egl] <x11-libs/qt-opengl-4.7.0:4 ) ) + phonon? ( + !kde? ( || ( >=x11-libs/qt-phonon-${QT_VER}:4 media-libs/phonon ) ) + kde? ( media-libs/phonon ) + ) + sql? ( >=x11-libs/qt-sql-${QT_VER}:4 ) + svg? ( >=x11-libs/qt-svg-${QT_VER}:4 ) + webkit? ( >=x11-libs/qt-webkit-${QT_VER}:4 ) + xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_VER}:4 )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${PN}-4.7.2-configure.py.patch" +) + +src_prepare() { + if ! use dbus; then + sed -e "s/^\([[:blank:]]\+\)check_dbus()/\1pass/" -i configure.py || die "sed configure.py failed" + fi + + # Support qreal for arm architecture (bug #322349). + use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch" + + qt4-r2_src_prepare + + # Use proper include directory. + sed -e "s:/usr/include:${EPREFIX}/usr/include:g" -i configure.py || die "sed configure.py failed" + + python_copy_sources + + preparation() { + if [[ "$(python_get_version --major)" == "3" ]]; then + rm -fr pyuic/uic/port_v2 + else + rm -fr pyuic/uic/port_v3 + fi + } + python_execute_function -s preparation +} + +pyqt4_use_enable() { + use $1 && echo "--enable=${2:-$1}" +} + +src_configure() { + configuration() { + local myconf=("$(PYTHON)" + configure.py + --confirm-license + --bindir="${EPREFIX}/usr/bin" + --destdir="${EPREFIX}$(python_get_sitedir)" + --sipdir="${EPREFIX}/usr/share/sip" + --qsci-api + $(use debug && echo --debug) + --enable=QtCore + --enable=QtNetwork + --enable=QtScript + --enable=QtTest + --enable=QtXml + $(pyqt4_use_enable X QtDesigner) + $(pyqt4_use_enable X QtGui) + $(pyqt4_use_enable X QtScriptTools) + # QtAssistant module is not available with Qt >=4.7.0. + $(pyqt4_use_enable assistant QtAssistant) + $(pyqt4_use_enable assistant QtHelp) + $(pyqt4_use_enable declarative QtDeclarative) + $(pyqt4_use_enable multimedia QtMultimedia) + $(pyqt4_use_enable opengl QtOpenGL) + $(pyqt4_use_enable phonon) + $(pyqt4_use_enable sql QtSql) + $(pyqt4_use_enable svg QtSvg) + $(pyqt4_use_enable webkit QtWebKit) + $(pyqt4_use_enable xmlpatterns QtXmlPatterns) + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + LINK="$(tc-getCXX)" + LINK_SHLIB="$(tc-getCXX)" + CFLAGS="${CFLAGS}" + CXXFLAGS="${CXXFLAGS}" + LFLAGS="${LDFLAGS}") + echo "${myconf[@]}" + "${myconf[@]}" || return 1 + + local mod + for mod in QtCore $(use X && echo QtDesigner QtGui) $(use declarative && echo QtDeclarative); do + # Run eqmake4 inside the qpy subdirectories to respect CC, CXX, CFLAGS, CXXFLAGS and LDFLAGS and avoid stripping. + pushd qpy/${mod} > /dev/null || return 1 + eqmake4 $(ls w_qpy*.pro) + popd > /dev/null || return 1 + + # Fix insecure runpaths. + sed -e "/^LFLAGS[[:space:]]*=/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" -i ${mod}/Makefile || die "Fixing of runpaths failed" + done + + # Avoid stripping of libpythonplugin.so. + if use X; then + pushd designer > /dev/null || return 1 + eqmake4 python.pro + popd > /dev/null || return 1 + fi + } + python_execute_function -s configuration +} + +src_compile() { + python_src_compile +} + +src_install() { + installation() { + # INSTALL_ROOT is needed for the QtDesigner module, other Makefiles use DESTDIR. + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install + } + python_execute_function -s installation + + dodoc NEWS THANKS || die "dodoc failed" + + if use doc; then + dohtml -r doc/html/* || die "dohtml failed" + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die "doins failed" + fi +} + +pkg_postinst() { + python_mod_optimize PyQt4 +} + +pkg_postrm() { + python_mod_cleanup PyQt4 +} |