summaryrefslogtreecommitdiff
path: root/dev-python/PyQt4
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/PyQt4')
-rw-r--r--dev-python/PyQt4/ChangeLog54
-rw-r--r--dev-python/PyQt4/Manifest6
-rw-r--r--dev-python/PyQt4/PyQt4-4.4.5_pre20090208-r1.ebuild70
-rw-r--r--dev-python/PyQt4/PyQt4-4.5_pre20090518.ebuild67
-rw-r--r--dev-python/PyQt4/files/configure.py.patch28
5 files changed, 225 insertions, 0 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog
new file mode 100644
index 00000000000..0fbc04049a3
--- /dev/null
+++ b/dev-python/PyQt4/ChangeLog
@@ -0,0 +1,54 @@
+# ChangeLog for dev-python/PyQt4
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*PyQt4-4.5_pre20090518 (18 May 2009)
+
+ 18 May 2009; Markos Chandras <hwoarang@gentoo.org>
+ -PyQt4-4.5_pre20090507.ebuild, +PyQt4-4.5_pre20090518.ebuild:
+ Version bump
+
+*PyQt4-4.5_pre20090507 (13 May 2009)
+
+ 13 May 2009; Ben de Groot <yngwin@gentoo.org>
+ +PyQt4-4.5_pre20090507.ebuild:
+ New snapshot
+
+ 26 Apr 2009; Markos Chandras <hwoarang@gentoo.org>
+ PyQt4-4.4.5_pre20090208-r1.ebuild, -PyQt4-4.4.5_pre20090208.ebuild:
+ Drop old, add qt-xmlpatterns on dependencies
+
+*PyQt4-4.4.5_pre20090208-r1 (08 Apr 2009)
+
+ 08 Apr 2009; Markos Chandras <hwoarang@gentoo.org>
+ +files/configure.py.patch, +PyQt4-4.4.5_pre20090208-r1.ebuild:
+ Fixing prestripped files issue, ebuild clean up
+
+ 23 Feb 2009; Ben de Groot <yngwin@gentoo.org>
+ +PyQt4-4.4.5_pre20090208.ebuild:
+ Restore older snapshot, which we mirror now. EAPI-2 tweaks.
+
+ 13 Feb 2009; Maciej Mrozowski (reavertm) <reavertm@poczta.fm>
+ PyQt4-4.4.5_pre20090208.ebuild:
+ Updated dbus deps (require dbus-python)
+
+*PyQt4-4.4.5_pre20090208 (09 Feb 2009)
+
+ 09 Feb 2009; Markos Chandras <hwoarang@gentoo.org>
+ -PyQt4-4.4.5_pre20090127.ebuild, +PyQt4-4.4.5_pre20090208.ebuild:
+ bumping to 20090208 snapshot
+
+ 29 Jan 2009; Theo Chatzimichos <tampakrap@gmail.com>
+ -dev-python/PyQt4/PyQt4-4.4.5_pre20090116.ebuild,
+ +dev-python/PyQt4/PyQt4-4.4.5_pre20090127.ebuild:
+ PyQt4 bump version, remove old
+
+ 18 Jan 2009; Markos Chandras (hwoarang) <hwoarang@silverarrow.gr>
+ +dev-python/PyQt4/PyQt4-4.4.5_pre20090116.ebuild,
+ -dev-python/PyQt4/PyQt4-4.4.5_p20090116.ebuild:
+ Fixing ebuild name. Using _pre instead of _p.
+
+ 17 Jan 2009; Markos Chandras (hwoarang) <hwoarang@silverarrow.gr>
+ +dev-python/PyQt4/PyQt4-4.4.5_p20090116.ebuild:
+ PyQt4-4.4.5 snapshot ebuild added
+
diff --git a/dev-python/PyQt4/Manifest b/dev-python/PyQt4/Manifest
new file mode 100644
index 00000000000..f779ddf389e
--- /dev/null
+++ b/dev-python/PyQt4/Manifest
@@ -0,0 +1,6 @@
+AUX configure.py.patch 825 RMD160 fc52b91818c10c03233b61b6c5b12c7c54800e85 SHA1 698df8a4b3041eae84772a9e1f118939e1f3984e SHA256 507b6dc7cae3879323792c0e2746509cbab445ad0912c5be46ff53074437072e
+DIST PyQt-x11-gpl-4.4.5-snapshot-20090208.tar.gz 6869285 RMD160 341816434652c5a920c1b50f023c7313991ec76b SHA1 152a4b459612fc58270309a9d866852799b88d7a SHA256 7916c9bad9b3d00264b1dd89da774c9cb08e4ad3aabea78fcb186c1aa19b8e34
+DIST PyQt-x11-gpl-4.5-snapshot-20090518.tar.gz 6809638 RMD160 831827510f8d80697925ef22cf68f0a27bd174f5 SHA1 5ed874ddcf84381ae4ec904866312fb18115d177 SHA256 bc3604a6a2b1b6d62b51045d762d0c659f6f231c42fdac24db105ea9a7494428
+EBUILD PyQt4-4.4.5_pre20090208-r1.ebuild 2241 RMD160 8595dbf84dadb6ef76263b23fc0f805ca95c9103 SHA1 d784970fcdda14123ae028dad992c18190eb384b SHA256 2622974642151468283a05b9c92b2326983b81f5b68cb40a01ce3d1b65c27bc3
+EBUILD PyQt4-4.5_pre20090518.ebuild 2118 RMD160 be74deeb5ed4f53085ca9c2516d0e35bacbe9c77 SHA1 20a37a13a52809abb37ef61b420648c8dc2ab0f0 SHA256 0d79d90c9fda3c12145f406c8c4de0075627d2111a3a7d47c7bb88aa711df7c8
+MISC ChangeLog 1853 RMD160 582ab11d1852297682b605921f8237679c740378 SHA1 54f01c9b80cda77e6baaa65899c4fba2b9eb4eb5 SHA256 a21b98115078f3bbb95000cbe7a64bdabd860a9e784f9a9b98d42497cc3cd8b9
diff --git a/dev-python/PyQt4/PyQt4-4.4.5_pre20090208-r1.ebuild b/dev-python/PyQt4/PyQt4-4.4.5_pre20090208-r1.ebuild
new file mode 100644
index 00000000000..892fd22eb78
--- /dev/null
+++ b/dev-python/PyQt4/PyQt4-4.4.5_pre20090208-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit distutils qt4-edge
+
+MY_PV=${PV/_pre/-snapshot-}
+MY_P=PyQt-x11-gpl-${MY_PV}
+
+DESCRIPTION="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"
+# upstream drops the tarball as soon as they have a new snapshot out
+SRC_URI="http://dl.liveforge.org/distfiles/${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[qt3support=]
+ >=x11-libs/qt-xmlpatterns-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[qt3support=] )
+ 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[dbus=,qt3support=] )"
+DEPEND="${RDEPEND}
+ sys-devel/libtool"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/configure.py.patch"
+)
+
+src_prepare() {
+ 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
+qt4-edge_src_prepare
+}
+
+src_configure() {
+ distutils_python_version
+ addpredict ${QTDIR}/etc/settings
+
+ 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}
+}
+
+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/PyQt4-4.5_pre20090518.ebuild b/dev-python/PyQt4/PyQt4-4.5_pre20090518.ebuild
new file mode 100644
index 00000000000..c3b4fc7f753
--- /dev/null
+++ b/dev-python/PyQt4/PyQt4-4.5_pre20090518.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit distutils qt4-edge
+
+MY_PV=${PV/_pre/-snapshot-}
+MY_P=PyQt-x11-gpl-${MY_PV}
+
+DESCRIPTION="A set of Python bindings for the Qt toolkit"
+HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/"
+SRC_URI="http://dev.gentooexperimental.org/~hwoarang/distfiles/${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.8_pre20090430
+ >=x11-libs/qt-core-4.5.1:4[qt3support=]
+ >=x11-libs/qt-xmlpatterns-4.5.1:4
+ dbus? (
+ dev-python/dbus-python
+ >=x11-libs/qt-dbus-4.5.1:4
+ )
+ opengl? ( >=x11-libs/qt-opengl-4.5.1:4[qt3support=] )
+ svg? ( >=x11-libs/qt-svg-4.5.1:4 )
+ qt3support? ( >=x11-libs/qt-qt3support-4.5.1:4 )
+ webkit? ( >=x11-libs/qt-webkit-4.5.1:4 )
+ X? ( >=x11-libs/qt-gui-4.5.1:4[dbus=,qt3support=] )"
+DEPEND="${RDEPEND}
+ sys-devel/libtool"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/configure.py.patch"
+)
+
+src_prepare() {
+ 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
+ qt4-edge_src_prepare
+}
+
+src_configure() {
+ distutils_python_version
+ addpredict ${QTDIR}/etc/settings
+
+ 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}
+}
+
+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/files/configure.py.patch b/dev-python/PyQt4/files/configure.py.patch
new file mode 100644
index 00000000000..11160b99be8
--- /dev/null
+++ b/dev-python/PyQt4/files/configure.py.patch
@@ -0,0 +1,28 @@
+diff -Naur PyQt-x11-gpl-4.4.4~orig/configure.py PyQt-x11-gpl-4.4.4/configure.py
+--- PyQt-x11-gpl-4.4.4~orig/configure.py 2009-03-26 01:01:43.000000000 +0100
++++ PyQt-x11-gpl-4.4.4/configure.py 2009-03-26 01:09:50.000000000 +0100
+@@ -666,6 +666,7 @@
+ install_dir=pydbusmoddir,
+ qt=["QtCore"],
+ debug=opts.debug,
++ strip=0,
+ universal=sipcfg.universal
+ )
+
+@@ -1350,6 +1351,7 @@
+ warnings=1,
+ static=opts.static,
+ debug=opts.debug,
++ strip=0,
+ universal=sipcfg.universal
+ )
+
+@@ -1510,7 +1512,7 @@
+ # The Qt binary installer has macx-xcode as the default.
+ args = "-spec macx-g++ " + args
+
+- return args
++ return " QMAKE_STRIP= " + args
+
+
+ def get_qt_configuration():