public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-python/PyQt4/
Date: Wed, 26 Dec 2012 06:52:17 +0000 (UTC)	[thread overview]
Message-ID: <1356504384.fd5c388c80b001c747c09c901081e9976b54801b.pesa@gentoo> (raw)

commit:     fd5c388c80b001c747c09c901081e9976b54801b
Author:     Davide Pesavento <davidepesa <AT> gmail <DOT> com>
AuthorDate: Wed Dec 26 06:46:24 2012 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 06:46:24 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=fd5c388c

[dev-python/PyQt4] Sync with portage.

Package-Manager: portage-2.2.0_alpha149

---
 dev-python/PyQt4/PyQt4-4.10_pre20121222.ebuild |   79 +++++++++++-------------
 dev-python/PyQt4/metadata.xml                  |    4 +-
 2 files changed, 40 insertions(+), 43 deletions(-)

diff --git a/dev-python/PyQt4/PyQt4-4.10_pre20121222.ebuild b/dev-python/PyQt4/PyQt4-4.10_pre20121222.ebuild
index f21a25d..5b36a6c 100644
--- a/dev-python/PyQt4/PyQt4-4.10_pre20121222.ebuild
+++ b/dev-python/PyQt4/PyQt4-4.10_pre20121222.ebuild
@@ -2,20 +2,17 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 PYTHON_DEPEND="*"
 PYTHON_EXPORT_PHASE_FUNCTIONS="1"
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
 
-inherit eutils toolchain-funcs qt4-r2 python
+inherit eutils qt4-r2 python toolchain-funcs
 
 REVISION=87332d15cad2
 
-# Minimal supported version of Qt.
-QT_VER="4.7.2"
-
 DESCRIPTION="Python bindings for the Qt toolkit"
 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
 
@@ -24,52 +21,54 @@ if [[ ${PV} == *_pre* ]]; then
 	SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
 else
 	MY_P="PyQt-x11-gpl-${PV}"
-	SRC_URI="mirror://sourceforge/pyqt/${PN}/PyQt-${PV}/${MY_P}.tar.gz"
+	SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
 fi
 
 LICENSE="|| ( GPL-2 GPL-3 )"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="X assistant dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
+
+IUSE="X dbus debug declarative doc examples help kde multimedia opengl phonon script scripttools sql svg webkit xmlpatterns"
 
 REQUIRED_USE="
-	assistant? ( X )
 	declarative? ( X )
+	help? ( X )
 	multimedia? ( X )
 	opengl? ( X )
 	phonon? ( X )
+	scripttools? ( X script )
 	sql? ( X )
 	svg? ( X )
 	webkit? ( X )
 "
 
+# Minimal supported version of Qt.
+QT_PV="4.8.0:4"
+
 RDEPEND="
-	>=dev-python/sip-4.14.2
-	>=x11-libs/qt-core-${QT_VER}:4
-	>=x11-libs/qt-script-${QT_VER}:4
+	>=dev-python/sip-4.14.2:=
+	>=x11-libs/qt-core-${QT_PV}
 	X? (
-		>=x11-libs/qt-gui-${QT_VER}:4[dbus?]
-		>=x11-libs/qt-test-${QT_VER}:4
+		>=x11-libs/qt-gui-${QT_PV}[dbus?]
+		>=x11-libs/qt-test-${QT_PV}
 	)
-	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.8.0:4 <x11-libs/qt-opengl-4.8.0:4[-egl] )
+		>=x11-libs/qt-dbus-${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? ( || ( >=x11-libs/qt-phonon-${QT_VER}:4 media-libs/phonon ) )
 		kde? ( media-libs/phonon )
+		!kde? ( || ( >=x11-libs/qt-phonon-${QT_PV} 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 )
+	script? ( >=x11-libs/qt-script-${QT_PV} )
+	sql? ( >=x11-libs/qt-sql-${QT_PV} )
+	svg? ( >=x11-libs/qt-svg-${QT_PV} )
+	webkit? ( >=x11-libs/qt-webkit-${QT_PV} )
+	xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} )
 "
 DEPEND="${RDEPEND}
 	dbus? ( virtual/pkgconfig )
@@ -106,7 +105,7 @@ src_prepare() {
 }
 
 pyqt4_use_enable() {
-	use $1 && echo "--enable=${2:-$1}"
+	use $1 && echo --enable=${2:-Qt$(echo ${1:0:1} | tr '[:lower:]' '[:upper:]')${1:1}}
 }
 
 src_configure() {
@@ -123,20 +122,20 @@ src_configure() {
 			$(use debug && echo --debug)
 			--enable=QtCore
 			--enable=QtNetwork
-			--enable=QtScript
 			--enable=QtXml
-			$(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 QtGui)
 			$(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 declarative)
+			$(pyqt4_use_enable help)
+			$(pyqt4_use_enable multimedia)
 			$(pyqt4_use_enable opengl QtOpenGL)
-			$(pyqt4_use_enable phonon)
-			$(pyqt4_use_enable sql QtSql)
-			$(pyqt4_use_enable svg QtSvg)
+			$(pyqt4_use_enable phonon phonon)
+			$(pyqt4_use_enable script)
+			$(pyqt4_use_enable scripttools QtScriptTools)
+			$(pyqt4_use_enable sql)
+			$(pyqt4_use_enable svg)
 			$(pyqt4_use_enable webkit QtWebKit)
 			$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
 			AR="$(tc-getAR) cqs"
@@ -169,8 +168,8 @@ src_configure() {
 			popd > /dev/null || return
 
 			# Fix insecure runpaths.
-			sed -e "/^LFLAGS[[:space:]]*=/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" \
-				-i ${mod}/Makefile || die "Failed to fix rpath for ${mod}"
+			sed -i -e "/^LFLAGS\s*=/ s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" \
+				${mod}/Makefile || die "Failed to fix rpath for ${mod}"
 		done
 
 		# Avoid stripping of libpythonplugin.so.
@@ -205,10 +204,6 @@ src_install() {
 
 pkg_postinst() {
 	python_mod_optimize PyQt4
-
-	ewarn "When updating dev-python/PyQt4, you usually need to rebuild packages 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() {

diff --git a/dev-python/PyQt4/metadata.xml b/dev-python/PyQt4/metadata.xml
index d491ee6..8d6135d 100644
--- a/dev-python/PyQt4/metadata.xml
+++ b/dev-python/PyQt4/metadata.xml
@@ -5,12 +5,14 @@
 	<herd>python</herd>
 	<use>
 		<flag name="X">Build QtGui, QtDesigner and QtScriptTools modules</flag>
-		<flag name="assistant">Build QtHelp and QtAssistant modules</flag>
 		<flag name="declarative">Build QtDeclarative module</flag>
+		<flag name="help">Build QtHelp module</flag>
 		<flag name="kde">Select <pkg>media-libs/phonon</pkg> as Phonon variant (needed for KDE)</flag>
 		<flag name="multimedia">Build QtMultimedia module</flag>
 		<flag name="opengl">Build QtOpenGL module</flag>
 		<flag name="phonon">Build phonon module</flag>
+		<flag name="script">Build QtScript module</flag>
+		<flag name="scripttools">Build QtScriptTools module</flag>
 		<flag name="sql">Build QtSql module</flag>
 		<flag name="svg">Build QtSvg module</flag>
 		<flag name="webkit">Build QtWebKit module</flag>


             reply	other threads:[~2012-12-26  6:52 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26  6:52 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-28 18:22 [gentoo-commits] proj/qt:master commit in: dev-python/PyQt4/ Davide Pesavento
2013-09-13 19:37 Jonathan Callen
2013-08-08 10:53 Michael Palimaka
2013-07-08  6:09 Davide Pesavento
2013-06-24  8:38 Davide Pesavento
2013-04-30  4:04 Markos Chandras
2013-04-29  4:03 Markos Chandras
2013-04-28  4:03 Markos Chandras
2013-04-24  4:03 Markos Chandras
2013-04-23  4:03 Markos Chandras
2013-04-20  4:03 Markos Chandras
2013-04-15  4:03 Markos Chandras
2013-04-11  4:02 Markos Chandras
2013-04-09  4:02 Markos Chandras
2013-04-08  4:02 Markos Chandras
2013-03-30  5:02 Markos Chandras
2013-03-28  5:02 Markos Chandras
2013-03-20  5:02 Markos Chandras
2013-03-19  5:02 Markos Chandras
2013-03-18  5:02 Markos Chandras
2013-03-16  5:02 Markos Chandras
2013-03-14  5:02 Markos Chandras
2013-03-13  5:02 Markos Chandras
2013-03-12  9:18 Davide Pesavento
2013-03-12  5:02 Markos Chandras
2013-03-09  5:02 Markos Chandras
2013-03-06  5:02 Markos Chandras
2013-02-15  8:21 Davide Pesavento
2013-02-10  5:02 Markos Chandras
2013-02-07  5:02 Markos Chandras
2013-02-06  5:02 Markos Chandras
2013-02-04 16:16 Michael Palimaka
2013-02-02  5:02 Markos Chandras
2013-01-26  5:02 Markos Chandras
2013-01-22 14:35 Michael Palimaka
2013-01-16  5:24 Markos Chandras
2013-01-09  5:02 Markos Chandras
2012-12-27  9:35 Davide Pesavento
2012-12-22  5:02 Markos Chandras
2012-12-10 11:24 Davide Pesavento
2012-12-07  5:02 Markos Chandras
2012-12-04  5:02 Markos Chandras
2012-11-23  5:02 Markos Chandras
2012-11-21  5:02 Markos Chandras
2012-11-20  5:02 Markos Chandras
2012-11-18  5:02 Markos Chandras
2012-11-17  5:02 Markos Chandras
2012-11-16  5:02 Markos Chandras
2012-11-14  5:02 Markos Chandras
2012-11-13  5:02 Markos Chandras
2012-11-05  5:37 Davide Pesavento
2012-11-05  5:18 Davide Pesavento
2012-10-29  5:07 Markos Chandras
2012-10-09  4:07 Markos Chandras
2012-10-06 10:44 Markos Chandras
2012-10-06  4:05 Markos Chandras
2012-10-01  4:05 Markos Chandras
2012-09-17  4:04 Markos Chandras
2012-09-16  4:04 Markos Chandras
2012-09-12  4:04 Markos Chandras
2012-09-11  4:04 Markos Chandras
2012-09-07  4:04 Markos Chandras
2012-09-05  4:04 Markos Chandras
2012-09-04  4:04 Markos Chandras
2012-08-12  4:01 Markos Chandras
2012-07-14  5:58 Markos Chandras
2012-07-11  5:57 Markos Chandras
2012-06-27 10:40 Davide Pesavento
2012-06-01 23:06 Markos Chandras
2012-05-22 21:18 Markos Chandras
2012-05-03  7:24 Johannes Huber
2012-04-21 17:28 Michael Palimaka
2012-04-01  8:30 Markos Chandras
2012-03-03 14:36 Davide Pesavento
2012-02-20 18:46 Davide Pesavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1356504384.fd5c388c80b001c747c09c901081e9976b54801b.pesa@gentoo \
    --to=pesa@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox