[81297] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Jul 28 21:45:34 PDT 2011


Revision: 81297
          http://trac.macports.org/changeset/81297
Author:   jmr at macports.org
Date:     2011-07-28 21:45:34 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
unify py*-bdist_mpkg

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

Removed Paths:
-------------
    trunk/dports/python/py25-bdist_mpkg/
    trunk/dports/python/py26-bdist_mpkg/
    trunk/dports/python/py27-bdist_mpkg/

Modified: trunk/dports/python/py-bdist_mpkg/Portfile
===================================================================
--- trunk/dports/python/py-bdist_mpkg/Portfile	2011-07-29 04:36:25 UTC (rev 81296)
+++ trunk/dports/python/py-bdist_mpkg/Portfile	2011-07-29 04:45:34 UTC (rev 81297)
@@ -2,12 +2,15 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
 
 name                py-bdist_mpkg
 version             0.4.4
 categories-append   devel
-maintainers         nomaintainer
+platforms           darwin
+supported_archs     noarch
+license             MIT
+maintainers         jmr openmaintainer
 description         Builds Mac OS X installer packages from distutils
 long_description \
     bdist_mpkg is a distutils plugin that implements the bdist_mpkg \
@@ -17,19 +20,22 @@
     that will allow you to easy build an installer metapackage from nearly \
     any existing package that uses distutils.
 
-platforms           darwin
-supported_archs     noarch
-
 homepage            http://undefined.org/python/#bdist_mpkg
-master_sites        http://pypi.python.org/packages/source/b/bdist_mpkg
+master_sites        http://pypi.python.org/packages/source/b/bdist_mpkg/
 distname            bdist_mpkg-${version}
 
 checksums           md5 848dfd00fda59092dea4e97f4a711797 \
                     sha1 9ad0969de75351c265f20366687001b6a990af6e \
                     rmd160 5e937ba632e7b184bb50e5ed64af8b2d017f5032
 
-depends_lib-append  port:py-setuptools
+python.versions     24 25 26 27
 
+if {$subport == "py24-bdist_mpkg"} {
+    depends_lib     port:py-setuptools
+} elseif {$subport != $name} {
+    depends_lib     port:py${python.version}-distribute
+}
+
 livecheck.type  regex
 livecheck.url   http://pypi.python.org/pypi/bdist_mpkg/
 livecheck.regex bdist_mpkg (0\.\[0-9\]+\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/5d637be8/attachment-0001.html>


More information about the macports-changes mailing list