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 1S2PdK-0001my-V4 for garchives@archives.gentoo.org; Tue, 28 Feb 2012 16:10:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC501E07B2; Tue, 28 Feb 2012 16:10:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9D588E07B2 for ; Tue, 28 Feb 2012 16:10:24 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABE6F1B4008 for ; Tue, 28 Feb 2012 16:10:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6C248E5400 for ; Tue, 28 Feb 2012 16:10:22 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1330445387.afb453275f24e59ded1fcb8a6f2fd3e79699c360.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: dev-python/PyQtMobility/ X-VCS-Repository: proj/qt X-VCS-Files: dev-python/PyQtMobility/Manifest dev-python/PyQtMobility/PyQtMobility-0.2.ebuild dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild dev-python/PyQtMobility/metadata.xml X-VCS-Directories: dev-python/PyQtMobility/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: afb453275f24e59ded1fcb8a6f2fd3e79699c360 X-VCS-Branch: master Date: Tue, 28 Feb 2012 16:10:22 +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: 114d88b7-4833-4140-9da2-cde08efea6f0 X-Archives-Hash: c2b17aa9f58aa23a649409a69898369e commit: afb453275f24e59ded1fcb8a6f2fd3e79699c360 Author: Davide Pesavento gmail com> AuthorDate: Tue Feb 28 16:09:47 2012 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Tue Feb 28 16:09:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/qt.git;a=3Dco= mmit;h=3Dafb45327 [dev-python/PyQtMobility] Version bump with some enhancements. --- dev-python/PyQtMobility/Manifest | 2 +- ...bility-0.2.ebuild =3D> PyQtMobility-1.0.1.ebuild} | 75 ++++++++++--= -------- dev-python/PyQtMobility/metadata.xml | 5 +- 3 files changed, 42 insertions(+), 40 deletions(-) diff --git a/dev-python/PyQtMobility/Manifest b/dev-python/PyQtMobility/M= anifest index 560cd73..52d3667 100644 --- a/dev-python/PyQtMobility/Manifest +++ b/dev-python/PyQtMobility/Manifest @@ -1 +1 @@ -DIST PyQtMobility-gpl-0.2.tar.gz 111981 RMD160 9104385644b6b79fe870a761f= 40f244b3f6610a2 SHA1 beb58ea29dc30a88ff2695edfdb75e8063a2afd5 SHA256 c276= 9c5ec5b3451cbe041308e363fca8b2881d163eb8bde0af90fbaa353e2b82 +DIST PyQtMobility-gpl-1.0.1.tar.gz 111999 SHA256 8496a47f5345ff547c04e83= 01cfcdf7862fe9557f56d0d93818c947060b442df SHA512 09bb77f348abe0caf174dea5= 05f3a10ee2adf99698048c9fffc1da66a36dcb907cef7896ee92af7d9ec98a5b30f5229fd= 9eedc6a64e1476ca340c29b5d842770 WHIRLPOOL 49bbd93b79418f34872a76665d7d54d= 4a5adca0bdd44a31fe095bfd148d7a673671bc3b61015bc0489d91b7386dc23c57b462e10= def00460cc448c165cfe4d8a diff --git a/dev-python/PyQtMobility/PyQtMobility-0.2.ebuild b/dev-python= /PyQtMobility/PyQtMobility-1.0.1.ebuild similarity index 59% rename from dev-python/PyQtMobility/PyQtMobility-0.2.ebuild rename to dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild index dba9271..b8c902b 100644 --- a/dev-python/PyQtMobility/PyQtMobility-0.2.ebuild +++ b/dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 -EAPI=3D"3" +EAPI=3D"4" PYTHON_DEPEND=3D"*" PYTHON_EXPORT_PHASE_FUNCTIONS=3D"1" SUPPORT_PYTHON_ABIS=3D"1" -RESTRICT_PYTHON_ABIS=3D"*-jython" +RESTRICT_PYTHON_ABIS=3D"*-jython 2.7-pypy-*" =20 inherit python =20 @@ -20,42 +20,32 @@ SLOT=3D"0" LICENSE=3D"|| ( GPL-2 GPL-3 )" KEYWORDS=3D"~amd64" =20 -PYQTM_MODULES=3D"bearer contacts location messaging multimedia publishsu= bscribe serviceframework systeminfo versit" +PYQTM_MODULES=3D"contacts feedback gallery location messaging multimedia= organizer + publishsubscribe sensors serviceframework systeminfo versit" IUSE=3D"debug ${PYQTM_MODULES}" =20 +REQUIRED_USE=3D" + || ( ${PYQTM_MODULES} ) + versit? ( contacts ) +" + QTM_USE_DEPS=3D for mod in ${PYQTM_MODULES//+}; do QTM_USE_DEPS+=3D"${mod}?," done unset mod =20 -DEPEND=3D">=3Ddev-python/sip-4.12 - >=3Ddev-python/PyQt4-4.8.2[X] - >=3Dx11-libs/qt-mobility-1.1.0[${QTM_USE_DEPS%,}]" +DEPEND=3D" + >=3Ddev-python/sip-4.12.2 + >=3Ddev-python/PyQt4-4.8.4[X] + >=3Dx11-libs/qt-mobility-1.2.0[${QTM_USE_DEPS%,}] +" RDEPEND=3D"${DEPEND}" =20 S=3D${WORKDIR}/${MY_P} =20 -pkg_setup() { - python_pkg_setup - - # figure out which modules to build - local modules=3D( $(pyqtm_use_enable bearer) - $(pyqtm_use_enable contacts) - $(pyqtm_use_enable location) - $(pyqtm_use_enable messaging) - $(pyqtm_use_enable multimedia QtMultimediaKit) - $(pyqtm_use_enable publishsubscribe QtPublishSubscribe) - $(pyqtm_use_enable serviceframework QtServiceFramework) - $(pyqtm_use_enable systeminfo QtSystemInfo) - $(pyqtm_use_enable versit) ) - if [[ ${#modules[@]} -eq 0 ]]; then - ewarn "At least one module must be selected for building, but you have= selected none." - ewarn "The QtContacts module will be automatically enabled." - myconf=3D"--enable=3DQtContacts" - else - myconf=3D"${modules[@]}" - fi +pyqtm_use_enable() { + use $1 && echo --enable=3D${2:-Qt$(echo ${1:0:1} | tr '[:lower:]' '[:up= per:]')${1:1}} } =20 src_prepare() { @@ -67,13 +57,26 @@ src_prepare() { =20 src_configure() { configuration() { - set -- "$(PYTHON)" configure.py \ - --destdir=3D"${EPREFIX}$(python_get_sitedir)" \ - --sipdir=3D"${EPREFIX}/usr/share/sip" \ - $(use debug && echo --debug) \ - ${myconf} - echo "$@" - "$@" || die "configure.py failed" + local myconf=3D("$(PYTHON)" + configure.py + --destdir=3D"${EPREFIX}$(python_get_sitedir)" + --sipdir=3D"${EPREFIX}/usr/share/sip" + $(use debug && echo --debug) + $(pyqtm_use_enable contacts) + $(pyqtm_use_enable feedback) + $(pyqtm_use_enable gallery) + $(pyqtm_use_enable location) + $(pyqtm_use_enable messaging) + $(pyqtm_use_enable multimedia QtMultimediaKit) + $(pyqtm_use_enable organizer) + $(pyqtm_use_enable publishsubscribe QtPublishSubscribe) + $(pyqtm_use_enable sensors) + $(pyqtm_use_enable serviceframework QtServiceFramework) + $(pyqtm_use_enable systeminfo QtSystemInfo) + $(pyqtm_use_enable versit) + ) + echo "${myconf[@]}" + "${myconf[@]}" } python_execute_function -s configuration } @@ -85,7 +88,3 @@ pkg_postinst() { pkg_postrm() { python_mod_cleanup QtMobility } - -pyqtm_use_enable() { - use $1 && echo --enable=3D${2:-Qt$(echo ${1:0:1} | tr '[:lower:]' '[:up= per:]')${1:1}} -} diff --git a/dev-python/PyQtMobility/metadata.xml b/dev-python/PyQtMobili= ty/metadata.xml index f84354a..4a09006 100644 --- a/dev-python/PyQtMobility/metadata.xml +++ b/dev-python/PyQtMobility/metadata.xml @@ -3,12 +3,15 @@ qt - Build bindings for the QtBearer module Build bindings for the QtContacts module + Build bindings for the QtFeedback module + Build bindings for the QtGallery module Build bindings for the QtLocation module Build bindings for the QtMessaging module Build bindings for the QtMultimediaKit module= + Build bindings for the QtOrganizer module Build bindings for the QtPublishSubscri= be module + Build bindings for the QtSensors module Build bindings for the QtServiceFramewo= rk module Build bindings for the QtSystemInfo module Build bindings for the QtVersit module