[37102] trunk/dports/python

simon at macports.org simon at macports.org
Mon May 26 12:59:06 PDT 2008


Revision: 37102
          http://trac.macosforge.org/projects/macports/changeset/37102
Author:   simon at macports.org
Date:     2008-05-26 12:59:05 -0700 (Mon, 26 May 2008)

Log Message:
-----------
python/py-pyqt4: New port, closes #14733. Thanks to tim.stoop at gmail.com.

Modified Paths:
--------------
    trunk/dports/python/py-pyqt4/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pyqt4/

Copied: trunk/dports/python/py-pyqt4 (from rev 37101, trunk/dports/python/py-pyqt3)

Modified: trunk/dports/python/py-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py-pyqt3/Portfile	2008-05-26 19:53:42 UTC (rev 37101)
+++ trunk/dports/python/py-pyqt4/Portfile	2008-05-26 19:59:05 UTC (rev 37102)
@@ -2,53 +2,50 @@
 
 PortSystem	1.0
 
-name		py-pyqt3
-version		3.17.4
+name		py-pyqt4
+version		4.3.3
 platforms	macosx
 categories	python devel
-maintainers	nomaintainer
-description	PyQt is a set of Python bindings for the Qt toolkit
+maintainers	Tim Stoop <tim.stoop at gmail.com>
+description	PyQt4 is a set of Python bindings for the Qt4 toolkit
 long_description \
-		PyQt is a set of Python bindings for the Qt toolkit. The \
+		PyQt4 is a set of Python bindings for the Qt4 toolkit. The \
 		bindings are implemented as a set of Python modules: qt, \
 		qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml, \
 		and contains 300 classes and over 5,750 functions and methods.
 homepage	http://www.riverbankcomputing.co.uk/pyqt/index.php
-master_sites	http://www.riverbankcomputing.com/Downloads/PyQt3/GPL/ \
+master_sites	http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
 		http://pyqwt.sourceforge.net/support/
 distname	PyQt-mac-gpl-${version}
 
-checksums	md5 b14ab1b52e4e1a529a7fbca586b5ed8f \
-		sha1 e5b1c7ca98a8366db46a9d5d4be7b43f14b2349e \
-		rmd160 f5f6e7be5475b91a71473a2352a2cba3a5b403dc
+checksums	md5 ebd467f36c49082e8f0258a7288bf344
 
-depends_lib	port:py-sip port:qt3-mac
+depends_lib	port:py-sip port:qt4-mac
 
-patchfiles	patch-configure.py
+#patchfiles	patch-configure.py
 
 pre-configure {
-	file copy -force ${prefix}/share/qt3/mkspecs/macx-g++/qmake.conf \
+	file copy -force ${prefix}/share/qt4/mkspecs/macx-g++/qmake.conf \
 		${worksrcpath}/qmake.conf
 
 	reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \
 		${worksrcpath}/qmake.conf
 }
 
-configure.cmd	"echo yes | ${prefix}/bin/python2.4 configure.py \
-			-g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
+configure.cmd	"${prefix}/bin/python configure.py \
+		-g -q ${prefix}/bin/qmake \
+		--confirm-license"
 configure.pre_args
 configure.post_args	LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
 
 test.run	yes
-test.cmd	cd qt && ${prefix}/bin/python2.4 -c 'import qt'
+test.cmd	cd qt && ${prefix}/bin/python2.4 -c 'import PyQt4'
 
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc
 	file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/examples2 \
+	file copy ${worksrcpath}/examples \
 		${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/examples3 \
-		${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath} \
 		ChangeLog LICENSE NEWS README THANKS \
 		${destroot}${prefix}/share/doc/${name}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080526/1368a8e6/attachment.htm 


More information about the macports-changes mailing list