[84272] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Wed Sep 21 11:35:31 PDT 2011


Revision: 84272
          http://trac.macports.org/changeset/84272
Author:   stromnov at macports.org
Date:     2011-09-21 11:35:30 -0700 (Wed, 21 Sep 2011)
Log Message:
-----------
py-argparse: unify (#31351)

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-argparse/

Modified: trunk/dports/python/py-argparse/Portfile
===================================================================
--- trunk/dports/python/py26-argparse/Portfile	2011-09-21 18:16:28 UTC (rev 84269)
+++ trunk/dports/python/py-argparse/Portfile	2011-09-21 18:35:30 UTC (rev 84272)
@@ -2,27 +2,34 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-argparse
-version             1.1
+name                py-argparse
+version             1.2.1
+revision            0
 categories          python devel
+license             Python
 platforms           darwin
+supported_archs     noarch
+
 maintainers         stromnov openmaintainer
 
 description         Python command-line parsing library
-long_description    ${description}
+long_description    ${description} backported from Python 2.7
 
 homepage            http://code.google.com/p/argparse/
-master_sites        http://pypi.python.org/packages/source/a/argparse/
+master_sites        googlecode:argparse
 distname            argparse-${version}
 
-use_zip             yes
+checksums           rmd160  4ba4f413fab2a5f566b9b9bf1572714cd762fc66 \
+                    sha256  ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4
 
-checksums           md5     087399b73047fa5a6482037411ddc968 \
-                    sha1    91d62de07ff09954e5bb61ddd50f04780f23bbeb \
-                    rmd160  8c18874f9511bba3d0d83bc42cb308ecf5074f02
+python.versions     24 25 26
 
+if {$subport != $name} {
+    depends_build-append    port:py${python.version}-distribute
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     "argparse-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110921/d6efcee5/attachment.html>


More information about the macports-changes mailing list