public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/PyQt4: ChangeLog PyQt4-4.4-r1.ebuild PyQt4-4.4.ebuild
@ 2008-07-31  6:44 Jesus Rivero (neurogeek)
  0 siblings, 0 replies; only message in thread
From: Jesus Rivero (neurogeek) @ 2008-07-31  6:44 UTC (permalink / raw
  To: gentoo-commits

neurogeek    08/07/31 06:44:05

  Modified:             ChangeLog
  Added:                PyQt4-4.4-r1.ebuild
  Removed:              PyQt4-4.4.ebuild
  Log:
  Fixes bugs #233369 and #222435, thanks to Remy Bosch for the patch. Removed old version
  (Portage version: 2.2_rc3/cvs/Linux 2.6.18-gentoo-r3 i686)

Revision  Changes    Path
1.33                 dev-python/PyQt4/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.33&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?rev=1.33&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/ChangeLog?r1=1.32&r2=1.33

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ChangeLog	25 May 2008 13:05:29 -0000	1.32
+++ ChangeLog	31 Jul 2008 06:44:05 -0000	1.33
@@ -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.32 2008/05/25 13:05:29 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.33 2008/07/31 06:44:05 neurogeek Exp $
+
+*PyQt4-4.4-r1 (31 Jul 2008)
+
+  31 Jul 2008; Jesus Rivero <neurogeek@gentoo.org>
+  +files/PyQt4-4.4_compile.patch, -PyQt4-4.4.ebuild, +PyQt4-4.4-r1.ebuild:
+  Fixes bugs #233369 and #222435, thanks to Remy Bosch for the patch.
+  Removed old version
 
   25 May 2008; Ingmar Vanhassel <ingmar@gentoo.org> PyQt4-4.4.2.ebuild:
   dev-python/PyQt4-4.4.2 needs Qt-4.4.0, fix dependencies, mask package.



1.1                  dev-python/PyQt4/PyQt4-4.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyQt4/PyQt4-4.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: PyQt4-4.4-r1.ebuild
===================================================================
# 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-r1.ebuild,v 1.1 2008/07/31 06:44:05 neurogeek 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}
	epatch "${FILESDIR}/${P}_compile.patch"
	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}

	sed -i -e 'i #!/bin/bash\n' "${S}"/pyuic/pyuic4 || die "sed failed"
	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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-31  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31  6:44 [gentoo-commits] gentoo-x86 commit in dev-python/PyQt4: ChangeLog PyQt4-4.4-r1.ebuild PyQt4-4.4.ebuild Jesus Rivero (neurogeek)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox