From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SlhJs-0002iE-9v for garchives@archives.gentoo.org; Mon, 02 Jul 2012 14:09:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 650A0E0444; Mon, 2 Jul 2012 14:09:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 20FBFE0444 for ; Mon, 2 Jul 2012 14:09:28 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53F141B40C2 for ; Mon, 2 Jul 2012 14:09:27 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2307) id 57D612004B; Mon, 2 Jul 2012 14:09:25 +0000 (UTC) From: "Davide Pesavento (pesa)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, pesa@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-python/PyQt4: PyQt4-4.9.4.ebuild ChangeLog PyQt4-4.9.3.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: PyQt4-4.9.4.ebuild ChangeLog PyQt4-4.9.3.ebuild X-VCS-Directories: dev-python/PyQt4 X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento Content-Type: text/plain; charset=utf8 Message-Id: <20120702140925.57D612004B@flycatcher.gentoo.org> Date: Mon, 2 Jul 2012 14:09:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8c38a9e4-1315-40f0-b9d5-c0b1be6ad161 X-Archives-Hash: 6a1cc8dfa49c84fd9d7bea7d3d6381e2 pesa 12/07/02 14:09:25 Modified: ChangeLog Added: PyQt4-4.9.4.ebuild Removed: PyQt4-4.9.3.ebuild Log: Version bump. =20 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64) Revision Changes Path 1.189 dev-python/PyQt4/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt4/C= hangeLog?rev=3D1.189&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt4/C= hangeLog?rev=3D1.189&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt4/C= hangeLog?r1=3D1.188&r2=3D1.189 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v retrieving revision 1.188 retrieving revision 1.189 diff -u -r1.188 -r1.189 --- ChangeLog 27 Jun 2012 10:36:57 -0000 1.188 +++ ChangeLog 2 Jul 2012 14:09:25 -0000 1.189 @@ -1,6 +1,12 @@ # ChangeLog for dev-python/PyQt4 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.188 20= 12/06/27 10:36:57 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.189 20= 12/07/02 14:09:25 pesa Exp $ + +*PyQt4-4.9.4 (02 Jul 2012) + + 02 Jul 2012; Davide Pesavento +PyQt4-4.9.4.ebuild, + -PyQt4-4.9.3.ebuild: + Version bump. =20 *PyQt4-4.9.3 (27 Jun 2012) =20 1.1 dev-python/PyQt4/PyQt4-4.9.4.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt4/P= yQt4-4.9.4.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt4/P= yQt4-4.9.4.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: PyQt4-4.9.4.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.4.ebuild,v = 1.1 2012/07/02 14:09:25 pesa Exp $ EAPI=3D4 PYTHON_DEPEND=3D"*" PYTHON_EXPORT_PHASE_FUNCTIONS=3D"1" SUPPORT_PYTHON_ABIS=3D"1" RESTRICT_PYTHON_ABIS=3D"*-jython *-pypy-*" inherit eutils toolchain-funcs qt4-r2 python # Minimal supported version of Qt. QT_VER=3D"4.7.2" DESCRIPTION=3D"Python bindings for the Qt toolkit" HOMEPAGE=3D"http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http= ://pypi.python.org/pypi/PyQt" if [[ ${PV} =3D=3D *_pre* ]]; then MY_P=3D"PyQt-x11-gpl-snapshot-${PV%_pre*}-${REVISION}" SRC_URI=3D"http://www.gentoo-el.org/~hwoarang/distfiles/${MY_P}.tar.gz" else MY_P=3D"PyQt-x11-gpl-${PV}" SRC_URI=3D"http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY= _P}.tar.gz" fi LICENSE=3D"|| ( GPL-2 GPL-3 )" SLOT=3D"0" KEYWORDS=3D"~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE=3D"X assistant dbus debug declarative doc examples kde multimedia op= engl phonon sql svg webkit xmlpatterns" REQUIRED_USE=3D" assistant? ( X ) declarative? ( X ) multimedia? ( X ) opengl? ( X ) phonon? ( X ) sql? ( X ) svg? ( X ) webkit? ( X ) " RDEPEND=3D" >=3Ddev-python/sip-4.13.3 >=3Dx11-libs/qt-core-${QT_VER}:4 >=3Dx11-libs/qt-script-${QT_VER}:4 X? ( >=3Dx11-libs/qt-gui-${QT_VER}:4[dbus?] >=3Dx11-libs/qt-test-${QT_VER}:4 ) assistant? ( >=3Dx11-libs/qt-assistant-${QT_VER}:4 ) dbus? ( >=3Ddev-python/dbus-python-0.80 >=3Dx11-libs/qt-dbus-${QT_VER}:4 ) declarative? ( >=3Dx11-libs/qt-declarative-${QT_VER}:4 ) multimedia? ( >=3Dx11-libs/qt-multimedia-${QT_VER}:4 ) opengl? ( >=3Dx11-libs/qt-opengl-${QT_VER}:4 || ( >=3Dx11-libs/qt-opengl-4.8.0:4 =3Dx11-libs/qt-phonon-${QT_VER}:4 media-libs/phonon ) ) kde? ( media-libs/phonon ) ) sql? ( >=3Dx11-libs/qt-sql-${QT_VER}:4 ) svg? ( >=3Dx11-libs/qt-svg-${QT_VER}:4 ) webkit? ( >=3Dx11-libs/qt-webkit-${QT_VER}:4 ) xmlpatterns? ( >=3Dx11-libs/qt-xmlpatterns-${QT_VER}:4 ) " DEPEND=3D"${RDEPEND} dbus? ( virtual/pkgconfig ) " S=3D${WORKDIR}/${MY_P} PATCHES=3D( "${FILESDIR}/${PN}-4.7.2-configure.py.patch" ) PYTHON_VERSIONED_EXECUTABLES=3D("/usr/bin/pyuic4") src_prepare() { if ! use dbus; then sed -e 's/^\([[:blank:]]\+\)check_dbus()/\1pass/' -i configure.py || di= e 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 python_copy_sources preparation() { if [[ $(python_get_version -l --major) =3D=3D 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=3D${2:-$1}" } src_configure() { configuration() { local myconf=3D("$(PYTHON)" configure.py --confirm-license --bindir=3D"${EPREFIX}/usr/bin" --destdir=3D"${EPREFIX}$(python_get_sitedir)" --sipdir=3D"${EPREFIX}/usr/share/sip" --assume-shared --no-timestamp --qsci-api $(use debug && echo --debug) --enable=3DQtCore --enable=3DQtNetwork --enable=3DQtScript --enable=3DQtXml $(pyqt4_use_enable X QtGui) $(pyqt4_use_enable X QtDesigner) $(use X || echo --no-designer-plugin) $(pyqt4_use_enable X QtScriptTools) $(pyqt4_use_enable X QtTest) $(pyqt4_use_enable assistant QtHelp) $(pyqt4_use_enable dbus QtDBus) $(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=3D"$(tc-getCC)" CXX=3D"$(tc-getCXX)" LINK=3D"$(tc-getCXX)" LINK_SHLIB=3D"$(tc-getCXX)" CFLAGS=3D"${CFLAGS}" CXXFLAGS=3D"${CXXFLAGS}" LFLAGS=3D"${LDFLAGS}") echo "${myconf[@]}" "${myconf[@]}" || die local mod for mod in QtCore \ $(use X && echo QtDesigner QtGui) \ $(use dbus && echo QtDBus) \ $(use declarative && echo QtDeclarative) \ $(use opengl && echo QtOpenGL); do # Run eqmake4 inside the qpy subdirectories to respect # CC, CXX, CFLAGS, CXXFLAGS, 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:]]*=3D/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::"= \ -i ${mod}/Makefile || die "Failed to fix rpath for ${mod}" 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_install() { installation() { # INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDI= R. emake DESTDIR=3D"${T}/images/${PYTHON_ABI}" INSTALL_ROOT=3D"${T}/images= /${PYTHON_ABI}" install } python_execute_function -s installation python_merge_intermediate_installation_images "${T}/images" dodoc NEWS THANKS if use doc; then dohtml -r doc/html/* fi if use examples; then insinto /usr/share/doc/${PF} doins -r examples fi } pkg_postinst() { python_mod_optimize PyQt4 ewarn "When updating dev-python/PyQt4, you usually need to rebuild packa= ges that depend on it," ewarn "such as dev-python/qscintilla-python and kde-base/pykde4. If you = have app-portage/gentoolkit" ewarn "installed, you can find these packages with \`equery d dev-python= /PyQt4\`." } pkg_postrm() { python_mod_cleanup PyQt4 }