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.60) (envelope-from ) id 1McIwu-0002zH-9E for garchives@archives.gentoo.org; Sat, 15 Aug 2009 13:05:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DC19E030C; Sat, 15 Aug 2009 13:05:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D56A0E030C for ; Sat, 15 Aug 2009 13:05:30 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id EF53F64FA6 for ; Sat, 15 Aug 2009 13:05:29 +0000 (UTC) Received: from hwoarang by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1McIwr-0003CJ-Hf for gentoo-commits@lists.gentoo.org; Sat, 15 Aug 2009 13:05:29 +0000 From: "Markos Chandras (hwoarang)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, hwoarang@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-python/PyQt4: PyQt4-4.5.4-r4.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: PyQt4-4.5.4-r4.ebuild ChangeLog X-VCS-Directories: dev-python/PyQt4 X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras Content-Type: text/plain; charset=utf8 Message-Id: Sender: Markos Chandras Date: Sat, 15 Aug 2009 13:05:29 +0000 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: ca8b6613-4860-42da-b80c-541cb0467365 X-Archives-Hash: a783aa67c1735804a987d6371b479f20 hwoarang 09/08/15 13:05:29 Modified: ChangeLog Added: PyQt4-4.5.4-r4.ebuild Log: Build QtScriptTools bindings. Fixes bug 279945 (Portage version: 2.2_rc38/cvs/Linux x86_64) Revision Changes Path 1.82 dev-python/PyQt4/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/C= hangeLog?rev=3D1.82&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/C= hangeLog?rev=3D1.82&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/C= hangeLog?r1=3D1.81&r2=3D1.82 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.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- ChangeLog 12 Aug 2009 08:58:25 -0000 1.81 +++ ChangeLog 15 Aug 2009 13:05:29 -0000 1.82 @@ -1,6 +1,12 @@ # ChangeLog for dev-python/PyQt4 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.81 200= 9/08/12 08:58:25 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.82 200= 9/08/15 13:05:29 hwoarang Exp $ + +*PyQt4-4.5.4-r4 (15 Aug 2009) + + 15 Aug 2009; Markos Chandras +PyQt4-4.5.4-r4.ebu= ild: + Build QtScriptTools bindings. Fixes bug 279945. Thanks to Davide Pesav= ento + for the patch =20 *PyQt4-4.5.4-r3 (12 Aug 2009) =20 1.1 dev-python/PyQt4/PyQt4-4.5.4-r4.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/P= yQt4-4.5.4-r4.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/P= yQt4-4.5.4-r4.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: PyQt4-4.5.4-r4.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-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.5.4-r4.ebuild= ,v 1.1 2009/08/15 13:05:29 hwoarang Exp $ EAPI=3D"2" SUPPORT_PYTHON_ABIS=3D"1" inherit python qt4 toolchain-funcs MY_P=3DPyQt-x11-gpl-${PV} QTVER=3D"4.5.1" DESCRIPTION=3D"A set of Python bindings for the Qt toolkit" HOMEPAGE=3D"http://www.riverbankcomputing.co.uk/software/pyqt/intro/" SRC_URI=3D"http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_= P}.tar.gz" SLOT=3D"0" LICENSE=3D"|| ( GPL-2 GPL-3 )" KEYWORDS=3D"~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE=3D"X assistant +dbus debug doc examples kde opengl phonon sql svg we= bkit xmlpatterns" DEPEND=3D">=3Ddev-python/sip-4.8.2 >=3Dx11-libs/qt-core-${QTVER}:4 >=3Dx11-libs/qt-script-${QTVER}:4 >=3Dx11-libs/qt-test-${QTVER}:4 X? ( >=3Dx11-libs/qt-gui-${QTVER}:4[dbus?] ) assistant? ( >=3Dx11-libs/qt-assistant-${QTVER}:4 ) dbus? ( >=3Ddev-python/dbus-python-0.80 >=3Dx11-libs/qt-dbus-${QTVER}:4 ) opengl? ( >=3Dx11-libs/qt-opengl-${QTVER}:4 ) phonon? ( !kde? ( || ( >=3Dx11-libs/qt-phonon-${QTVER}:4 media-sound/phonon ) ) kde? ( media-sound/phonon ) ) sql? ( >=3Dx11-libs/qt-sql-${QTVER}:4 ) svg? ( >=3Dx11-libs/qt-svg-${QTVER}:4 ) webkit? ( >=3Dx11-libs/qt-webkit-${QTVER}:4 ) xmlpatterns? ( >=3Dx11-libs/qt-xmlpatterns-${QTVER}:4 )" RDEPEND=3D"${DEPEND}" S=3D"${WORKDIR}/${MY_P}" PATCHES=3D( "${FILESDIR}/configure.py.patch" # Remember to remove this patch since it is already on PyQt4-4.6 "${FILESDIR}/${P}-qgraphicslinearlayout-fix.patch" ) src_prepare() { if ! use dbus; then sed -i -e 's,^\([[:blank:]]\+\)check_dbus(),\1pass,' \ "${S}"/configure.py || die fi qt4_src_prepare python_copy_sources preparation() { if [[ "${PYTHON_ABI:0:1}" =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/usr/bin --destdir=3D$(python_get_sitedir) --sipdir=3D/usr/share/sip $(use debug && echo '--debug') --enable=3DQtCore --enable=3DQtNetwork --enable=3DQtScript --enable=3DQtTest --enable=3DQtXml $(pyqt4_use_enable X QtGui) $(pyqt4_use_enable X QtDesigner) $(pyqt4_use_enable X QtScriptTools) $(pyqt4_use_enable assistant QtAssistant) $(pyqt4_use_enable assistant QtHelp) $(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} eval ${myconf} || return 1 # Fix insecure runpath. for mod in QtCore $(use X && echo 'QtDesigner QtGui'); do # Run eqmake4 to inside the qpy subdirs to prevent # stripping and many QA issues pushd qpy/${mod} > /dev/null || die eqmake4 $(ls w_qpy*.pro) popd > /dev/null || die sed -i -e "/^LFLAGS/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" ${mod}/Make= file || die "Failed to fix rpath issues" 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_execute_function -d -s } src_install() { python_need_rebuild installation() { # INSTALL_ROOT is needed for the QtDesigner module, # the other Makefiles use DESTDIR. emake DESTDIR=3D"${D}" INSTALL_ROOT=3D"${D}" install } python_execute_function -s installation dodoc ChangeLog doc/pyqt4ref.txt NEWS THANKS || die if use doc; then dohtml -r doc/* || die fi if use examples; then insinto /usr/share/doc/${PF} doins -r examples || die fi } pkg_postinst() { python_mod_optimize PyQt4 } pkg_postrm() { python_mod_cleanup PyQt4 }