[110859] trunk/dports/python/py-babel/Portfile

stromnov at macports.org stromnov at macports.org
Sun Sep 8 13:18:37 PDT 2013


Revision: 110859
          https://trac.macports.org/changeset/110859
Author:   stromnov at macports.org
Date:     2013-09-08 13:18:36 -0700 (Sun, 08 Sep 2013)
Log Message:
-----------
py-babel: update to version 1.3

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

Modified: trunk/dports/python/py-babel/Portfile
===================================================================
--- trunk/dports/python/py-babel/Portfile	2013-09-08 18:52:57 UTC (rev 110858)
+++ trunk/dports/python/py-babel/Portfile	2013-09-08 20:18:36 UTC (rev 110859)
@@ -5,32 +5,46 @@
 PortGroup           python 1.0
 
 name                py-babel
-version             0.9.6
+version             1.3
+revision            0
+categories-append   devel
+platforms           darwin
 license             BSD
-platforms           darwin
 supported_archs     noarch
 
+python.versions     25 26 27 33
+
 maintainers         stromnov openmaintainer
 
 description         A collection of tools for internationalizing Python applications.
-long_description    ${description}
 
-homepage            http://babel.edgewall.org/
-master_sites        http://ftp.edgewall.com/pub/babel/
+long_description    Babel is an integrated collection of utilities that \
+                    assist in internationalizing and localizing Python \
+                    applications, with an emphasis on web-based applications.
+
+homepage            http://babel.pocoo.org/
+master_sites        https://pypi.python.org/packages/source/B/Babel/
+
 distname            Babel-${version}
 
-checksums           md5     f0edcad03dfdb5505f337ef1a7690325 \
-                    sha1    37810107bc36da21f44a50f0af3e75dcd2ca668d \
-                    rmd160  a4867679703b618948f862fc417cca4b53c869e5
+checksums           rmd160  ea1796b29a8bd563d78e9848416e9c72332f8826 \
+                    sha256  9f02d0357184de1f093c10012b52e7454a1008be6a5c185ab7a3307aceb1d12e
 
-python.versions     25 26 27
+if {$subport == "py25-babel"} {
+    version             0.9.6
+    revision            0
+    distname            Babel-${version}
+    checksums           rmd160  a4867679703b618948f862fc417cca4b53c869e5 \
+                        sha256  4a3a085ecf1fcd2736573538ffa114f1f4331b3bbbdd69381e6e172c49c9750f
+}
 
 if {$subport != $name} {
     depends_lib-append  port:py${python.version}-setuptools \
                         port:py${python.version}-tz
+
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       http://babel.edgewall.org/wiki/Download
-    livecheck.regex     "Babel-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       ${master_sites}
+    livecheck.regex     {Babel-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130908/6dae6d45/attachment.html>


More information about the macports-changes mailing list