[72202] trunk/dports/python

blair at macports.org blair at macports.org
Wed Oct 6 13:14:18 PDT 2010


Revision: 72202
          http://trac.macports.org/changeset/72202
Author:   blair at macports.org
Date:     2010-10-06 13:14:16 -0700 (Wed, 06 Oct 2010)
Log Message:
-----------
New port for PyQt3 on 10.5 using Python 2.6.  It is copied from
py-pyqt3 at 36385 and updated to use Python 2.6.  It is not meant to
coexist with PyQt 4.

We need this because our company still has some applications on PyQt3
that will not be ported to PyQt4 in the near future.  We also want to
update to a Python newer than 2.4 and run the apps on 10.6, so we're
building MacPorts on 10.5 and rsync'ing the MacPorts install to our
10.6 systems.

Modified Paths:
--------------
    trunk/dports/python/py26-pyqt3/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-pyqt3/

Modified: trunk/dports/python/py26-pyqt3/Portfile
===================================================================
--- trunk/dports/python/py-pyqt3/Portfile	2008-04-29 08:13:28 UTC (rev 36385)
+++ trunk/dports/python/py26-pyqt3/Portfile	2010-10-06 20:14:16 UTC (rev 72202)
@@ -2,11 +2,11 @@
 
 PortSystem	1.0
 
-name		py-pyqt3
+name		py26-pyqt3
 version		3.17.4
 platforms	macosx
 categories	python devel
-maintainers	nomaintainer
+maintainers	blair
 description	PyQt is a set of Python bindings for the Qt toolkit
 long_description \
 		PyQt is a set of Python bindings for the Qt toolkit. The \
@@ -15,14 +15,15 @@
 		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/ \
-		http://pyqwt.sourceforge.net/support/
+		http://pyqwt.sourceforge.net/support/ \
+		http://distfiles.macports.org/py-pyqt3
 distname	PyQt-mac-gpl-${version}
 
 checksums	md5 b14ab1b52e4e1a529a7fbca586b5ed8f \
 		sha1 e5b1c7ca98a8366db46a9d5d4be7b43f14b2349e \
 		rmd160 f5f6e7be5475b91a71473a2352a2cba3a5b403dc
 
-depends_lib	port:py-sip port:qt3-mac
+depends_lib	port:qt3-mac port:py26-sip-qt3
 
 patchfiles	patch-configure.py
 
@@ -34,13 +35,13 @@
 		${worksrcpath}/qmake.conf
 }
 
-configure.cmd	"echo yes | ${prefix}/bin/python2.4 configure.py \
+configure.cmd	"echo yes | ${prefix}/bin/python2.6 configure.py \
 			-g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
 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.6 -c 'import qt'
 
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101006/5a65c580/attachment.html>


More information about the macports-changes mailing list