From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-python/PyQt4/
Date: Sat, 3 Mar 2012 14:36:10 +0000 (UTC) [thread overview]
Message-ID: <1330785318.e972ee1f4ddf9c00d170c5f607af5138adda3fbc.pesa@gentoo> (raw)
commit: e972ee1f4ddf9c00d170c5f607af5138adda3fbc
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
AuthorDate: Sat Mar 3 14:35:18 2012 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sat Mar 3 14:35:18 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=e972ee1f
[dev-python/PyQt4] Sync with portage (EAPI 4).
(Portage version: 2.2.0_alpha89/git/Linux x86_64, unsigned Manifest commit)
---
dev-python/PyQt4/PyQt4-4.9.1_pre20120204.ebuild | 38 +++++++++++++---------
1 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/dev-python/PyQt4/PyQt4-4.9.1_pre20120204.ebuild b/dev-python/PyQt4/PyQt4-4.9.1_pre20120204.ebuild
index 1ca6a55..46326ef 100644
--- a/dev-python/PyQt4/PyQt4-4.9.1_pre20120204.ebuild
+++ b/dev-python/PyQt4/PyQt4-4.9.1_pre20120204.ebuild
@@ -2,13 +2,14 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="3"
+EAPI=4
+
PYTHON_DEPEND="*"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
-inherit python qt4-r2 toolchain-funcs
+inherit toolchain-funcs qt4-r2 python
REVISION=83ed847d0273
@@ -29,7 +30,18 @@ fi
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="X assistant +dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
+IUSE="X assistant dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
+
+REQUIRED_USE="
+ assistant? ( X )
+ declarative? ( X )
+ multimedia? ( X )
+ opengl? ( X )
+ phonon? ( X )
+ sql? ( X )
+ svg? ( X )
+ webkit? ( X )
+"
RDEPEND="
>=dev-python/sip-4.13.1
@@ -73,7 +85,7 @@ PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/pyuic4")
src_prepare() {
if ! use dbus; then
- sed -e "s/^\([[:blank:]]\+\)check_dbus()/\1pass/" -i configure.py || die "sed configure.py failed"
+ sed -e 's/^\([[:blank:]]\+\)check_dbus()/\1pass/' -i configure.py || die
fi
# Support qreal for arm architecture (bug #322349).
@@ -82,12 +94,12 @@ src_prepare() {
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"
+ sed -e "s:/usr/include:${EPREFIX}/usr/include:g" -i configure.py || die
python_copy_sources
preparation() {
- if [[ "$(python_get_version -l --major)" == "3" ]]; then
+ if [[ $(python_get_version -l --major) == 3 ]]; then
rm -fr pyuic/uic/port_v2
else
rm -fr pyuic/uic/port_v3
@@ -120,8 +132,6 @@ src_configure() {
$(pyqt4_use_enable X QtDesigner) $(use X || echo --no-designer-plugin)
$(pyqt4_use_enable X QtScriptTools)
$(pyqt4_use_enable X QtTest)
- # QtAssistant module is not available with Qt >=4.7.0.
- $(pyqt4_use_enable assistant QtAssistant)
$(pyqt4_use_enable assistant QtHelp)
$(pyqt4_use_enable dbus QtDBus)
$(pyqt4_use_enable declarative QtDeclarative)
@@ -140,7 +150,7 @@ src_configure() {
CXXFLAGS="${CXXFLAGS}"
LFLAGS="${LDFLAGS}")
echo "${myconf[@]}"
- "${myconf[@]}" || return 1
+ "${myconf[@]}" || die
local mod
for mod in QtCore \
@@ -169,10 +179,6 @@ src_configure() {
python_execute_function -s configuration
}
-src_compile() {
- python_src_compile
-}
-
src_install() {
installation() {
# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
@@ -181,15 +187,15 @@ src_install() {
python_execute_function -s installation
python_merge_intermediate_installation_images "${T}/images"
- dodoc NEWS THANKS || die "dodoc failed"
+ dodoc NEWS THANKS
if use doc; then
- dohtml -r doc/html/* || die "dohtml failed"
+ dohtml -r doc/html/*
fi
if use examples; then
insinto /usr/share/doc/${PF}
- doins -r examples || die "doins failed"
+ doins -r examples
fi
}
next reply other threads:[~2012-03-03 14:36 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 14:36 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-26 6:52 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-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=1330785318.e972ee1f4ddf9c00d170c5f607af5138adda3fbc.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