[94090] trunk/dports/python/py-jubatus-client/Portfile

hum at macports.org hum at macports.org
Fri Jun 8 21:47:34 PDT 2012


Revision: 94090
          https://trac.macports.org/changeset/94090
Author:   hum at macports.org
Date:     2012-06-08 21:47:31 -0700 (Fri, 08 Jun 2012)
Log Message:
-----------
py-jubatus-client: update to 0.2.2; fix homepage, master_sites, livecheck to refer to pypi instead of github; modify description; fix python.versions, see #34643.

Modified Paths:
--------------
    trunk/dports/python/py-jubatus-client/Portfile

Modified: trunk/dports/python/py-jubatus-client/Portfile
===================================================================
--- trunk/dports/python/py-jubatus-client/Portfile	2012-06-08 22:55:30 UTC (rev 94089)
+++ trunk/dports/python/py-jubatus-client/Portfile	2012-06-09 04:47:31 UTC (rev 94090)
@@ -5,29 +5,31 @@
 PortGroup           python 1.0
 
 name                py-jubatus-client
-version             0.1.1
-python.versions     26 27 31 32
+set real_name       jubatus
+version             0.2.2
+python.versions     26 27
 python.default_version 27
 categories-append   devel
-platforms           darwin
 maintainers         hum openmaintainer
-license             LGPL-2.1
 
-homepage            https://github.com/jubatus/jubatus-python-client
-description         a Python client for jubatus
+description         a Python client for jubatus, a highly distributed online machine learning system
 long_description    ${description}
 
-fetch.type          git
-git.url             https://github.com/jubatus/jubatus-python-client.git
-git.branch          a37713f545
+homepage            http://pypi.python.org/pypi/${real_name}
+platforms           darwin
+license             LGPL-2.1
 
+master_sites        http://pypi.python.org/packages/source/j/${real_name}
+distname            ${real_name}-${version}
+checksums           rmd160  3f8caeaec011802b99ec9bcbd59b1d30df61c455 \
+                    sha256  ec55d40843def266a7c068566369bb7f0a54e41f80d8e52b3bc847cbdf558eae
+
 if {${subport} != ${name}} {
-    depends_lib-append  port:py${python.version}-distribute \
-                        port:py${python.version}-msgpack
+    depends_lib-append  port:py${python.version}-msgpack
 
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       https://github.com/jubatus/jubatus-python-client/tags
-    livecheck.regex     tarball\\/(\[0-9.\]+)
+    livecheck.url       ${master_sites}
+    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120608/f276bd6e/attachment.html>


More information about the macports-changes mailing list