summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-14 20:16:36 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-14 20:16:36 +0000
commitfc8033e97e8512e1f83b7bd35d4fdb8e8b9eca94 (patch)
tree421685206c7c77f762a63517eeaeae44138af9b7 /dev-python/PyQt4
parentStable on ppc64; bug #221063 (diff)
downloadgentoo-2-fc8033e97e8512e1f83b7bd35d4fdb8e8b9eca94.tar.gz
gentoo-2-fc8033e97e8512e1f83b7bd35d4fdb8e8b9eca94.tar.bz2
gentoo-2-fc8033e97e8512e1f83b7bd35d4fdb8e8b9eca94.zip
Version bump. Change SRC_URI of old ebuilds to mirror://gentoo because upstream doesn't have it anymore.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'dev-python/PyQt4')
-rw-r--r--dev-python/PyQt4/ChangeLog9
-rw-r--r--dev-python/PyQt4/PyQt4-4.3.1.ebuild5
-rw-r--r--dev-python/PyQt4/PyQt4-4.3.3.ebuild5
-rw-r--r--dev-python/PyQt4/PyQt4-4.4.ebuild53
4 files changed, 67 insertions, 5 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog
index 7a231bba5fe4..8e5bd602b79b 100644
--- a/dev-python/PyQt4/ChangeLog
+++ b/dev-python/PyQt4/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/PyQt4
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.29 2008/05/13 08:54:42 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.30 2008/05/14 20:16:36 hawking Exp $
+
+*PyQt4-4.4 (14 May 2008)
+
+ 14 May 2008; Ali Polatel <hawking@gentoo.org> PyQt4-4.3.1.ebuild,
+ PyQt4-4.3.3.ebuild, +PyQt4-4.4.ebuild:
+ Version bump. Change SRC_URI of old ebuilds to mirror://gentoo because
+ upstream doesn't have it anymore.
13 May 2008; Ali Polatel <hawking@gentoo.org> PyQt4-4.3.1.ebuild,
PyQt4-4.3.3.ebuild:
diff --git a/dev-python/PyQt4/PyQt4-4.3.1.ebuild b/dev-python/PyQt4/PyQt4-4.3.1.ebuild
index cb640537b7b0..1d61127616ec 100644
--- a/dev-python/PyQt4/PyQt4-4.3.1.ebuild
+++ b/dev-python/PyQt4/PyQt4-4.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.3.1.ebuild,v 1.7 2008/05/13 08:54:42 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.3.1.ebuild,v 1.8 2008/05/14 20:16:36 hawking Exp $
inherit distutils qt4
@@ -8,7 +8,8 @@ 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/Downloads/PyQt4/GPL/${MY_P}.tar.gz"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+#SRC_URI="http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86"
diff --git a/dev-python/PyQt4/PyQt4-4.3.3.ebuild b/dev-python/PyQt4/PyQt4-4.3.3.ebuild
index 2a7aa2db2217..cdffaeacf825 100644
--- a/dev-python/PyQt4/PyQt4-4.3.3.ebuild
+++ b/dev-python/PyQt4/PyQt4-4.3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.3.3.ebuild,v 1.8 2008/05/13 08:54:42 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.3.3.ebuild,v 1.9 2008/05/14 20:16:36 hawking Exp $
inherit distutils qt4
@@ -8,7 +8,8 @@ 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/Downloads/PyQt4/GPL/${MY_P}.tar.gz"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+#SRC_URI="http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ~hppa ia64 ~ppc ppc64 sparc x86 ~x86-fbsd"
diff --git a/dev-python/PyQt4/PyQt4-4.4.ebuild b/dev-python/PyQt4/PyQt4-4.4.ebuild
new file mode 100644
index 000000000000..c633b90d255c
--- /dev/null
+++ b/dev-python/PyQt4/PyQt4-4.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.4.ebuild,v 1.1 2008/05/14 20:16:36 hawking Exp $
+
+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 ~x86-fbsd"
+IUSE="debug doc examples"
+
+RDEPEND="=x11-libs/qt-4*
+ >=dev-python/sip-4.7.5"
+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
+}