aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-05-20 15:27:40 +0300
committerMarkos Chandras <hwoarang@gentoo.org>2009-05-20 15:27:40 +0300
commit3d7dc59eda0887d0c180d0e04b8e56af99d3b59e (patch)
treea988dd43a549d63ceb7367ab4b6040f5900be38b /dev-python
parent[kde-base] fix manifest (diff)
downloadkde-3d7dc59eda0887d0c180d0e04b8e56af99d3b59e.tar.gz
kde-3d7dc59eda0887d0c180d0e04b8e56af99d3b59e.tar.bz2
kde-3d7dc59eda0887d0c180d0e04b8e56af99d3b59e.zip
Mirror PyQt4 and Sip packages from qting-edge
Diffstat (limited to 'dev-python')
-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
-rw-r--r--dev-python/sip/ChangeLog9
-rw-r--r--dev-python/sip/Manifest3
-rw-r--r--dev-python/sip/sip-4.8_pre20090430.ebuild58
8 files changed, 295 insertions, 0 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog
new file mode 100644
index 0000000000..0fbc04049a
--- /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 0000000000..f779ddf389
--- /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 0000000000..892fd22eb7
--- /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 0000000000..c3b4fc7f75
--- /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 0000000000..11160b99be
--- /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():
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
new file mode 100644
index 0000000000..af34c4e0ca
--- /dev/null
+++ b/dev-python/sip/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/sip
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*sip-4.8_pre20090430 (13 May 2009)
+
+ 13 May 2009; Ben de Groot <yngwin@gentoo.org> +sip-4.8_pre20090430.ebuild:
+ New snapshot
+
diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
new file mode 100644
index 0000000000..7c0837059d
--- /dev/null
+++ b/dev-python/sip/Manifest
@@ -0,0 +1,3 @@
+DIST sip-4.8-snapshot-20090430.tar.gz 485201 RMD160 3c2566e752524b3e0390ede233bcc277fd2901db SHA1 e2b6de0df53625759bc02b2c7dad2192a46a645a SHA256 bb1b7c7a453e085fbaf0030d57935513cde27ed12e15b1ccc6ca967db5ce3ce1
+EBUILD sip-4.8_pre20090430.ebuild 1444 RMD160 222ddc80e03304520cf4ddb5e405c4f289f87e4c SHA1 bfa778a25e82bdd4187f42a05c45247cc2d11d89 SHA256 9ef9f041c9cdac0e0f24561e0ed7039c35d1988c93b2f3291b1815505f1e1c1d
+MISC ChangeLog 244 RMD160 d7a7837b1d931ec5ed4d4cde869e00abb7a7e2f1 SHA1 4b134dae7bc37286a555437203619a1076d09dab SHA256 b8915874dd39766b1fca37601fa7063e9ea79323e48f583ce1c8a0aa77033d23
diff --git a/dev-python/sip/sip-4.8_pre20090430.ebuild b/dev-python/sip/sip-4.8_pre20090430.ebuild
new file mode 100644
index 0000000000..a313d4bfd1
--- /dev/null
+++ b/dev-python/sip/sip-4.8_pre20090430.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+NEED_PYTHON=2.3
+inherit python toolchain-funcs versionator multilib
+
+MY_P=${P/_pre/-snapshot-}
+
+DESCRIPTION="A tool for generating bindings for C++ classes so that they can be used by Python"
+HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro"
+SRC_URI="http://www.riverbankcomputing.com/static/Downloads/sip$(get_major_version)/${MY_P}.tar.gz"
+
+LICENSE="sip"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=""
+RDEPEND=""
+
+src_configure(){
+ python_version
+
+ local myconf
+ use debug && myconf="${myconf} -u"
+
+ "${python}" configure.py \
+ -b "/usr/bin" \
+ -d "/usr/$(get_libdir)/python${PYVER}/site-packages" \
+ -e "/usr/include/python${PYVER}" \
+ -v "/usr/share/sip" \
+ ${myconf} \
+ CXXFLAGS_RELEASE="" CFLAGS_RELEASE="" LFLAGS_RELEASE="" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}" \
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX) \
+ STRIP="true" || die "configure failed"
+}
+
+src_install() {
+ python_need_rebuild
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog NEWS README TODO doc/sipref.txt
+ dohtml doc/*
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_compile "$(python_get_sitedir)"/sip*.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}