diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-24 16:44:52 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-24 16:44:52 +0000 |
commit | 2a62b57ee2c8d88ef3252080338c917a2bed2371 (patch) | |
tree | a1c15b26541cda851ad42e90d2a767f5de51ddd4 /dev-python/PyQt4 | |
parent | Stable for HPPA (bug #348505). (diff) | |
download | historical-2a62b57ee2c8d88ef3252080338c917a2bed2371.tar.gz historical-2a62b57ee2c8d88ef3252080338c917a2bed2371.tar.bz2 historical-2a62b57ee2c8d88ef3252080338c917a2bed2371.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha10_p5/cvs/Linux x86_64
Diffstat (limited to 'dev-python/PyQt4')
-rw-r--r-- | dev-python/PyQt4/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/PyQt4/Manifest | 4 | ||||
-rw-r--r-- | dev-python/PyQt4/PyQt4-4.8.2.ebuild | 174 |
3 files changed, 184 insertions, 2 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog index adb93270781a..492d7a320673 100644 --- a/dev-python/PyQt4/ChangeLog +++ b/dev-python/PyQt4/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/PyQt4 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.137 2010/12/19 18:54:31 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.138 2010/12/24 16:44:52 arfrever Exp $ + +*PyQt4-4.8.2 (24 Dec 2010) + + 24 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +PyQt4-4.8.2.ebuild: + Version bump. 19 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> PyQt4-4.7.3.ebuild, PyQt4-4.7.7-r1.ebuild, PyQt4-4.8.1.ebuild: diff --git a/dev-python/PyQt4/Manifest b/dev-python/PyQt4/Manifest index 6408b1892b75..a4cd90d17008 100644 --- a/dev-python/PyQt4/Manifest +++ b/dev-python/PyQt4/Manifest @@ -5,8 +5,10 @@ AUX PyQt4-4.7.7-fix-scpk-and-flag-issue.diff 1490 RMD160 0bfb92059ebf3518980ce5a DIST PyQt-x11-gpl-4.7.3.tar.gz 7803557 RMD160 fb86bb4abc665e67620d6a77dcd37ad6c6f038c4 SHA1 7ad7ed37509f13b4975c50f5fbf557bd58815558 SHA256 574ad672b4171272028c49d5867087db04287c4dc7be8af17d71542db3a8225c DIST PyQt-x11-gpl-4.7.7.tar.gz 7831682 RMD160 1d4b6f6dce48df968cfc4d85d49178abbea10b1b SHA1 8d710ec274f855a5f47fcf7d5d17c16ad11af3f8 SHA256 7b10b330a55c8e20d9a65ee315e662407f4133c7ce287180bfef03ac76b698d1 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 EBUILD PyQt4-4.7.3.ebuild 4672 RMD160 157969a93dfb7f4dbc8bb9baa60a112f9fe61d0e SHA1 522a3ba34963cd0a539babb333112580721998d5 SHA256 021e4f0b244ea19e60c030d6d38ffb67294c9856a3f127dcfc1dbf78b1df0583 EBUILD PyQt4-4.7.7-r1.ebuild 4646 RMD160 4d638a8e96fdc64335a8cdc27caa4f7e5d35c1a3 SHA1 22f8061422deab563300cc765ed43c9d3aa8c50a SHA256 c27219498de969cfd4a039f413c76cbf5d3f4d8f2aff2cf463db5d3e3b0cc286 EBUILD PyQt4-4.8.1.ebuild 4851 RMD160 f095bb906f977de030bed3ee9557c78dc0a77896 SHA1 e33fe8384236c2f561dd35e8e0b10d31e0e97acc SHA256 dfe7763a871b0519cf1588acd0746b946fc1acc18ceff6ead6ca0a753c382418 -MISC ChangeLog 18949 RMD160 cddb52833917f9d64a5568e31507f1436dc4abf1 SHA1 4453e566020f88c75512551dbeed35ea24fc1b02 SHA256 c0c29121dbf57f00180bd28874ba03fe8cd03d2bd455272b1d50d5e7c6228ac0 +EBUILD PyQt4-4.8.2.ebuild 4851 RMD160 56bc1a78b4d7f239d19b0318da46967ddd5a867f SHA1 ada6510be261c6fd73451fc003fd8ce34faff970 SHA256 fa845af4b83a75f64f946efa80dc06203a3b487f2d744f2bf6ebfa88f94399cd +MISC ChangeLog 19090 RMD160 7fe7e4b9aa0fcd39e41d99c9bc3206b113e4a367 SHA1 31ea191e7f05bffff10551b41cf962cbac4d85c8 SHA256 03492299c2dc8512b0abfdfb96379491a07641e0143ae632ddc103de8e966417 MISC metadata.xml 878 RMD160 cdc42fae8ad9f67bbe0dcc949f7822cc72d0acf9 SHA1 f1907739ab33d27cd8276c57b4d062a3b44ae402 SHA256 89c99beeac252dc158fb953793675d0133b2daa91b22f4c5a016262348323afe diff --git a/dev-python/PyQt4/PyQt4-4.8.2.ebuild b/dev-python/PyQt4/PyQt4-4.8.2.ebuild new file mode 100644 index 000000000000..31a63818cee3 --- /dev/null +++ b/dev-python/PyQt4/PyQt4-4.8.2.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.8.2.ebuild,v 1.1 2010/12/24 16:44:52 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.11.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 ) + phonon? ( + !kde? ( || ( >=x11-libs/qt-phonon-${QT_VER}:4 media-sound/phonon ) ) + kde? ( media-sound/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.6.1-configure-multilib.patch" + "${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 QtGui) + $(pyqt4_use_enable X QtDesigner) + $(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); do + # Run eqmake4 inside the qpy subdirectories to avoid stripping and many other QA issues. + pushd qpy/${mod} > /dev/null || return 1 + eqmake4 $(ls w_qpy*.pro) + popd > /dev/null || return 1 + + # Fix insecure runpaths. + sed -e "/^LFLAGS/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" -i ${mod}/Makefile || die "Fixing of rpaths failed" + done + + # Fix pre-stripping of libpythonplugin.so + if use X; then + cd "${BUILDDIR}/designer" + eqmake4 python.pro + 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 doc/pyqt4ref.txt NEWS THANKS || die "dodoc failed" + + if use doc; then + dohtml -r doc/* || 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 +} |