Revision
105509
Author
michaelld@macports.org
Date
2013-04-22 19:54:47 -0700 (Mon, 22 Apr 2013)

Log Message

py-pyqt4:
* make py27-pyqt4 the default;
* move dist info into the "$subport != $name" context, to make the Portfile "more proper".

Modified Paths

Diff

Modified: trunk/dports/python/py-pyqt4/Portfile (105508 => 105509)


--- trunk/dports/python/py-pyqt4/Portfile	2013-04-23 02:52:50 UTC (rev 105508)
+++ trunk/dports/python/py-pyqt4/Portfile	2013-04-23 02:54:47 UTC (rev 105509)
@@ -8,6 +8,7 @@
 name            py-pyqt4
 version         4.10.1
 python.versions 24 25 26 27 31 32 33
+python.default_version 27
 categories-append     devel
 platforms       macosx
 maintainers     michaelld openmaintainer
@@ -19,15 +20,16 @@
     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    sourceforge:pyqt
-distname        PyQt-mac-gpl-${version}
-dist_subdir     python
 
-checksums       sha1    cf20699c4db8d3031c19dd51df8857bba1a4956b \
-                rmd160  a053a92d154a030b707a570b7a755cb17fb17c87
-
 if {$subport != $name} {
 
+    master_sites    sourceforge:pyqt
+    distname        PyQt-mac-gpl-${version}
+    dist_subdir     python
+
+    checksums       sha1    cf20699c4db8d3031c19dd51df8857bba1a4956b \
+                    rmd160  a053a92d154a030b707a570b7a755cb17fb17c87
+
     depends_lib-append port:py${python.version}-sip \
                        port:qt4-mac