Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7eeff84cfbf0ebcf788c4ef8cd071e78881183bf

commit 7eeff84cfbf0ebcf788c4ef8cd071e78881183bf
Author: crazy <cr...@frugalware.org>
Date:   Fri Jun 26 14:55:01 2009 +0200

pyqt4-4.5.1-1-x86_64
* Version bump

diff --git a/source/xlib-extra/pyqt4/FrugalBuild 
b/source/xlib-extra/pyqt4/FrugalBuild
index c331737..a7ad80b 100644
--- a/source/xlib-extra/pyqt4/FrugalBuild
+++ b/source/xlib-extra/pyqt4/FrugalBuild
@@ -3,24 +3,27 @@

pkgname=pyqt4
origname=PyQt
-pkgver=4.4.4
+pkgver=4.5.1
pkgrel=1
pkgdesc="PyQt4 is a set of Python bindings for the Qt4 toolkit."
url="http://www.riverbankcomputing.co.uk/";
-depends=('libqttest' 'libqtopengl' 'libqtsvg' 'qt4-designer' 'dbus-python' 
'python' 'sip>=4.7.5' 'qscintilla2-qt4>=2.2')
+depends=('libqtscripttools' 'libqttest' 'libqtopengl' 'libqtsvg' 
'qt4-designer' 'libqthelp' \
+       'libqtassistantclient' 'dbus-python' 'python' 'sip>=4.8.1' 
'qscintilla2-qt4>=2.4')
up2date="lynx -dump http://www.riverbankcomputing.co.uk/software/pyqt/download 
|grep 'PyQt-x11-gpl-4' |sed -ne 's/.*l-\(.*\).tar.gz .*/\1/;1 p'"
-source=(http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/$origname-x11-gpl-$pkgver.tar.gz)
+source=(http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/$origname-x11-gpl-$pkgver.tar.gz
 qt4-opensource.patch)
license="GPL"
groups=('xlib-extra')
archs=('i686' 'x86_64')
-sha1sums=('6b91a8020de10e807fa0d3db6b7a92029a17cf0b')
+sha1sums=('b50b58c3e6f9a15e0986fe63d978eb85db363a46' \
+          'b6e0910752578ff65c49829c37b76d3f140ae539')

## TODO: split it!!

build()
{
Fcd $origname-x11-gpl-$pkgver
-       echo "yes" | python configure.py -q /usr/bin/qmake -j 8 || Fdie
+       Fpatchall
+       echo "yes" | python configure.py --confirm-license -w -q /usr/bin/qmake 
-j 8 || Fdie
Fmake
Fmakeinstall INSTALL_ROOT=$Fdestdir
}
diff --git a/source/xlib-extra/pyqt4/qt4-opensource.patch 
b/source/xlib-extra/pyqt4/qt4-opensource.patch
new file mode 100644
index 0000000..d92412e
--- /dev/null
+++ b/source/xlib-extra/pyqt4/qt4-opensource.patch
@@ -0,0 +1,11 @@
+--- PyQt-x11-gpl-4.5.1/configure.py    2009-06-16 10:37:38.000000000 +0200
++++ PyQt-x11-gpl-4.5.1-p/configure.py  2009-06-26 14:23:03.000000000 +0200
+@@ -1466,7 +1466,7 @@
+
+     # Common checks.
+     if qt_edition and ltype != "internal":
+-        if qt_edition != "free" and ltype == "GPL":
++        if qt_edition != "free" and ltype == "GPL" and ltype == "Opensource":
+             sipconfig.error("This version of PyQt and the %s edition of Qt 
have incompatible licenses." % qt_edition)
+
+     # Confirm the license if not already done.
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to