aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski (reavertm) <reavertm@poczta.fm>2009-01-22 06:04:22 +0100
committerMaciej Mrozowski (reavertm) <reavertm@poczta.fm>2009-01-22 06:04:22 +0100
commit18b1410745f65c29067ddbd0169cc4cfe17d8767 (patch)
tree0c5ae64909e212bc20c09a915a2a27456ec47e28 /dev-python
parentAdded pycups-1.9.45 ebuild - this one is quite finished (diff)
downloadkde-18b1410745f65c29067ddbd0169cc4cfe17d8767.tar.gz
kde-18b1410745f65c29067ddbd0169cc4cfe17d8767.tar.bz2
kde-18b1410745f65c29067ddbd0169cc4cfe17d8767.zip
Added temporary PyQt4 ebuild with fixed dbus deps
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/PyQt4/Manifest3
-rw-r--r--dev-python/PyQt4/PyQt4-4.4.4-r2.ebuild66
-rw-r--r--dev-python/PyQt4/metadata.xml10
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/PyQt4/Manifest b/dev-python/PyQt4/Manifest
new file mode 100644
index 0000000000..c36834b1fa
--- /dev/null
+++ b/dev-python/PyQt4/Manifest
@@ -0,0 +1,3 @@
+DIST PyQt-x11-gpl-4.4.4.tar.gz 6982063 RMD160 970bca082a93402b1986b4e8a14738575732e8ae SHA1 6b91a8020de10e807fa0d3db6b7a92029a17cf0b SHA256 fc09c13b340078c7995fb2b6450c5b7de8ef9411962d311a1213e773c936509a
+EBUILD PyQt4-4.4.4-r2.ebuild 2011 RMD160 3c028d3503b7db9be67b1a159f1879dab60ed6d1 SHA1 fcba1115ba3b38caa506b381c226c903236467d8 SHA256 35066a4f84c00888773b8ad9157bf195b3ba431733e972101f9874ba5de2531a
+MISC metadata.xml 310 RMD160 7987a603f301bfeabb3463923b7494b5c94a9584 SHA1 05d2e20067db8b517dbdcafd91041a25bc432fb9 SHA256 a3bf6c3468371cba4c2bfa6f527df4f11bb32bdb2f3448cc2b9cb7ebb07e08fe
diff --git a/dev-python/PyQt4/PyQt4-4.4.4-r2.ebuild b/dev-python/PyQt4/PyQt4-4.4.4-r2.ebuild
new file mode 100644
index 0000000000..be81912ab1
--- /dev/null
+++ b/dev-python/PyQt4/PyQt4-4.4.4-r2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=1
+
+inherit distutils qt4
+
+MY_P=PyQt-x11-gpl-${PV}
+
+DESCRIPTION="PyQt is a set of Python bindings for the Qt toolkit"
+HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/"
+SRC_URI="http://www.riverbankcomputing.com/static/Downloads/PyQt4/${MY_P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="dbus debug doc examples opengl qt3support svg webkit X"
+
+RDEPEND="
+ >=dev-python/sip-4.7.8
+ >=x11-libs/qt-core-4.4.2:4
+ dbus? (
+ dev-python/dbus-python
+ >=x11-libs/qt-dbus-4.4.2:4
+ )
+ opengl? ( >=x11-libs/qt-opengl-4.4.2:4 )
+ svg? ( >=x11-libs/qt-svg-4.4.2:4 )
+ qt3support? ( >=x11-libs/qt-qt3support-4.4.2:4 )
+ webkit? ( >=x11-libs/qt-webkit-4.4.2:4 )
+ X? ( >=x11-libs/qt-gui-4.4.2:4 )
+"
+DEPEND="${RDEPEND}
+ sys-devel/libtool"
+
+S=${WORKDIR}/${MY_P}
+
+QT4_BUILT_WITH_USE_CHECK="zlib"
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s:^[ \t]*check_license():# check_license():" "${S}"/configure.py
+ sed -i -e "s:join(qt_dir, \"mkspecs\":join(\"/usr/share/qt4\", \"mkspecs\":g" "${S}"/configure.py
+ sed -i -e "s:\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include\":\"QT_INSTALL_HEADERS\"\: os.path.join(qt_dir, \"include/qt4\":g" "${S}"/configure.py
+ sed -i -e "s:\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib\":\"QT_INSTALL_LIBS\"\: os.path.join(qt_dir, \"lib/qt4\":g" "${S}"/configure.py
+}
+
+src_compile() {
+ distutils_python_version
+ addpredict ${QTDIR}/etc/settings
+
+ local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -b /usr/bin -v /usr/share/sip"
+ use debug && myconf="${myconf} -u"
+
+ "${python}" configure.py ${myconf}
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "install failed"
+ dodoc ChangeLog NEWS README THANKS
+ use doc && dohtml -r doc/html/*
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-python/PyQt4/metadata.xml b/dev-python/PyQt4/metadata.xml
new file mode 100644
index 0000000000..ce808a4242
--- /dev/null
+++ b/dev-python/PyQt4/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<herd>qt</herd>
+<use>
+ <flag name='qt3support'>enable the Qt3Support libraries for Qt4</flag>
+ <flag name='webkit'>enable WebKit support</flag>
+</use>
+</pkgmetadata>