diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-03-13 11:44:34 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-03-13 11:44:34 +0000 |
commit | 00bbf582a89e61baaf13410f303f025c69069cad (patch) | |
tree | 145ea2e56ed253d89dd0053c82fcd8696b1d03c7 /dev-python/PyQtMobility | |
parent | Stable for HPPA (bug #407549). (diff) | |
download | historical-00bbf582a89e61baaf13410f303f025c69069cad.tar.gz historical-00bbf582a89e61baaf13410f303f025c69069cad.tar.bz2 historical-00bbf582a89e61baaf13410f303f025c69069cad.zip |
Initial commit of PyQtMobility, moved from qt overlay. Ebuild by me.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'dev-python/PyQtMobility')
-rw-r--r-- | dev-python/PyQtMobility/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/PyQtMobility/Manifest | 24 | ||||
-rw-r--r-- | dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild | 91 | ||||
-rw-r--r-- | dev-python/PyQtMobility/metadata.xml | 27 |
4 files changed, 152 insertions, 0 deletions
diff --git a/dev-python/PyQtMobility/ChangeLog b/dev-python/PyQtMobility/ChangeLog new file mode 100644 index 000000000000..af94efe54146 --- /dev/null +++ b/dev-python/PyQtMobility/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/PyQtMobility +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQtMobility/ChangeLog,v 1.1 2012/03/13 11:44:34 pesa Exp $ + +*PyQtMobility-1.0.1 (13 Mar 2012) + + 13 Mar 2012; Davide Pesavento <pesa@gentoo.org> +PyQtMobility-1.0.1.ebuild, + +metadata.xml: + Initial commit of PyQtMobility, moved from qt overlay. Ebuild by me. + diff --git a/dev-python/PyQtMobility/Manifest b/dev-python/PyQtMobility/Manifest new file mode 100644 index 000000000000..cdc168e6d0dc --- /dev/null +++ b/dev-python/PyQtMobility/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +DIST PyQtMobility-gpl-1.0.1.tar.gz 111999 RMD160 5516c677f5b24696d656e3b4e7baf20526cb95a7 SHA1 996dbe601ab54ec1876022cb9c59e5f8a3a9074f SHA256 8496a47f5345ff547c04e8301cfcdf7862fe9557f56d0d93818c947060b442df +EBUILD PyQtMobility-1.0.1.ebuild 2277 RMD160 822aa4bec8fcf249bcc8a42862c3d084d2d367f5 SHA1 78429aea9e0866565462e1a14f89026dfc4e1ffe SHA256 872e5d593c5c8357bdc63ca8c3ef40d61c5aa40cf323a7965bb20bf527a38716 +MISC ChangeLog 419 RMD160 b732207dcaf04bb6f58c5864dd88f1ac84a3f2dc SHA1 7ff00e924f6841a5ebb3ad39a18a87519ff9bb86 SHA256 6005a8e9dc7efe641bc6f16600c6e2b89a57f6939eb36877fa234449dd1fb78c +MISC metadata.xml 1299 RMD160 8cfea6259c43d17649afe6cd7aca439305ef652e SHA1 741a2b20bb1f0f26607f0c16e4f38aa4a3b9f148 SHA256 33773e55d32dd1ffd6187c4317cba8076c321811bf549f63e2957b0aa20e6170 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQIcBAEBCgAGBQJPXzMyAAoJENXLsxwXqFxyOZYP/A0VOddn2FbrgHO1F35CuwfD +tvZ8FpiRdY0pe95mSUAg+gETv25eoIB7uVuMPd/WoE+j2WOU8z+XypEf5dd01hij +jFN+ADqk6BJWVt2MLfQikGvGQvEzjnSe0v4OBcwUE67duYPXBIYJ6MvZ9Ug4d2ck +gj0N4iU++T/aUw10KyxNdXmBQuJKi/pfLo+Fn2v19ujUQCYYFvGOgcBMBbmoG9cs +s8YtR/iIG++/KDt227tFjKglaYSa/Jm5h3xRfqWN3P3ib3GPyXwla5O+QepmkpOz +kiT4pUoYyyedyI7mnuXo1G4xMSejwMgpCaiP2PMuSJgkTqplye49pWJexSe0bNXT +f+ntSaZLaS3MyMYgxQmO4ZPV7Px5jugdQ4/2UQXPKEONnN3QbgIYYQmw76rkGuFU +g3dU0o8pLjhQcMUhWjJ2QkSgsbz+iCkgI5/DHlysOgAJHHYeXaLVH71PoNCRaQP5 +m/a7GOsBjKvs1+NI42aRgIveD/xdMDHHm7boKl1hYRLhgSUkqbIHacRfKfHbcGa1 +ybz2S/2ijD5LkB6idwmE0mk4xnhVLpD7B4doSPLEt27BwWpt22hANhjfk8EqlPig +aO8AwUKKk0HjXXDQCOkb5Hj5lh/UZZDlYqsoUHFQFr4VB2Qydp/43X7rmIpYf6NE +AZ4RXdZRS1YRWOSRlTR5 +=TYBn +-----END PGP SIGNATURE----- diff --git a/dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild b/dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild new file mode 100644 index 000000000000..8c8baa5b3fbc --- /dev/null +++ b/dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQtMobility/PyQtMobility-1.0.1.ebuild,v 1.1 2012/03/13 11:44:34 pesa Exp $ + +EAPI=4 + +PYTHON_DEPEND="*" +PYTHON_EXPORT_PHASE_FUNCTIONS="1" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*" + +inherit python + +MY_P=${PN}-gpl-${PV} + +DESCRIPTION="Python bindings for Nokia's QtMobility libraries" +HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqtmobility/intro" +SRC_URI="http://www.riverbankcomputing.co.uk/static/Downloads/${PN}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="|| ( GPL-2 GPL-3 )" +KEYWORDS="~amd64" + +PYQTM_MODULES="contacts feedback gallery location messaging multimedia organizer + publishsubscribe sensors serviceframework systeminfo versit" +IUSE="debug ${PYQTM_MODULES}" + +REQUIRED_USE=" + || ( ${PYQTM_MODULES//+} ) + versit? ( contacts ) +" + +QTM_USE_DEPS= +for mod in ${PYQTM_MODULES//+}; do + QTM_USE_DEPS+="${mod}?," +done +unset mod + +DEPEND=" + >=dev-python/sip-4.12.2 + >=dev-python/PyQt4-4.8.4[X] + >=x11-libs/qt-mobility-1.2.0[${QTM_USE_DEPS%,}] +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Disable pre-stripping of modules + sed -i -e '/SIPModuleMakefile/s|$|strip=0,|' configure.py || die + + python_src_prepare +} + +pyqtm_use_enable() { + use $1 && echo --enable=${2:-Qt$(echo ${1:0:1} | tr '[:lower:]' '[:upper:]')${1:1}} +} + +src_configure() { + configuration() { + local myconf=("$(PYTHON)" + configure.py + --destdir="${EPREFIX}$(python_get_sitedir)" + --sipdir="${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 +} + +pkg_postinst() { + python_mod_optimize QtMobility +} + +pkg_postrm() { + python_mod_cleanup QtMobility +} diff --git a/dev-python/PyQtMobility/metadata.xml b/dev-python/PyQtMobility/metadata.xml new file mode 100644 index 000000000000..5fecc85e4c00 --- /dev/null +++ b/dev-python/PyQtMobility/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>qt</herd> + <herd>python</herd> + <use> + <flag name="contacts">Build bindings for the QtContacts module</flag> + <flag name="feedback">Build bindings for the QtFeedback module</flag> + <flag name="gallery">Build bindings for the QtGallery module</flag> + <flag name="location">Build bindings for the QtLocation module</flag> + <flag name="messaging">Build bindings for the QtMessaging module</flag> + <flag name="multimedia">Build bindings for the QtMultimediaKit module</flag> + <flag name="organizer">Build bindings for the QtOrganizer module</flag> + <flag name="publishsubscribe">Build bindings for the QtPublishSubscribe module</flag> + <flag name="sensors">Build bindings for the QtSensors module</flag> + <flag name="serviceframework">Build bindings for the QtServiceFramework module</flag> + <flag name="systeminfo">Build bindings for the QtSystemInfo module</flag> + <flag name="versit">Build bindings for the QtVersit module</flag> + </use> + <upstream> + <maintainer status="active"> + <email>phil@riverbankcomputing.com</email> + <name>Phil Thompson</name> + </maintainer> + <bugs-to>mailto:pyqt@riverbankcomputing.com</bugs-to> + </upstream> +</pkgmetadata> |