[49597] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Sun Apr 12 20:18:58 PDT 2009
Revision: 49597
http://trac.macports.org/changeset/49597
Author: macsforever2000 at macports.org
Date: 2009-04-12 20:18:57 -0700 (Sun, 12 Apr 2009)
Log Message:
-----------
Added new port. (#19008)
Added Paths:
-----------
trunk/dports/python/py26-pyqt4/
trunk/dports/python/py26-pyqt4/Portfile
Added: trunk/dports/python/py26-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py26-pyqt4/Portfile (rev 0)
+++ trunk/dports/python/py26-pyqt4/Portfile 2009-04-13 03:18:57 UTC (rev 49597)
@@ -0,0 +1,67 @@
+# $Id$
+
+PortSystem 1.0
+
+name py26-pyqt4
+
+version 4.4.4
+platforms macosx
+categories python devel
+maintainers saispo
+description PyQt4 is a set of Python bindings for the Qt4 toolkit
+long_description \
+ 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/software/pyqt/intro
+master_sites http://www.riverbankcomputing.com/static/Downloads/PyQt4/ \
+ http://pyqwt.sourceforge.net/support/
+distname PyQt-mac-gpl-${version}
+
+checksums md5 b4fc6142bec4dc75facf7c9a8b556c1f \
+ sha1 3b761cb5cca18aa9d800c6b50e0ef619166fc7af \
+ rmd160 3cfee99c534a9b1a9374a97dc31414f6dde8234b
+
+depends_lib port:py26-sip port:qt4-mac
+
+#patchfiles patch-configure.py
+
+set qt_dir ${prefix}/libexec/qt4-mac
+
+pre-configure {
+ file copy -force ${qt_dir}/mkspecs/macx-g++/qmake.conf \
+ ${worksrcpath}/qmake.conf
+
+ reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \
+ ${worksrcpath}/qmake.conf
+}
+
+use_configure yes
+
+configure.cmd "${prefix}/bin/python2.6 configure.py \
+ -g -q ${qt_dir}/bin/qmake \
+ --confirm-license"
+configure.pre_args
+configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
+
+build.target all
+
+test.run yes
+test.cmd cd qt && ${prefix}/bin/python2.6 -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}/examples \
+ ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} \
+ ChangeLog GPL_EXCEPTION.TXT GPL_EXCEPTION_ADDENDUM.TXT \
+ LICENSE.GPL2 LICENSE.GPL3 OPENSOURCE-NOTICE.TXT NEWS README \
+ THANKS \
+ ${destroot}${prefix}/share/doc/${name}
+
+ # Workaround for python25 framework bug (#16334)
+# move ${destroot}${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6 \
+# ${destroot}${prefix}/lib/python2.6
+}
Property changes on: trunk/dports/python/py26-pyqt4/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090412/b4a51e5a/attachment.html>
More information about the macports-changes
mailing list