[132389] trunk/dports/python

hum at macports.org hum at macports.org
Sat Jan 31 00:02:55 PST 2015


Revision: 132389
          https://trac.macports.org/changeset/132389
Author:   hum at macports.org
Date:     2015-01-31 00:02:55 -0800 (Sat, 31 Jan 2015)
Log Message:
-----------
py-{breadability,docopt,gensim,jubatus,leveldb,mmh3,sumy,word2vec}: fix livecheck url of PyPi

Modified Paths:
--------------
    trunk/dports/python/py-breadability/Portfile
    trunk/dports/python/py-docopt/Portfile
    trunk/dports/python/py-gensim/Portfile
    trunk/dports/python/py-jubatus-client/Portfile
    trunk/dports/python/py-leveldb/Portfile
    trunk/dports/python/py-mmh3/Portfile
    trunk/dports/python/py-sumy/Portfile
    trunk/dports/python/py-word2vec/Portfile

Modified: trunk/dports/python/py-breadability/Portfile
===================================================================
--- trunk/dports/python/py-breadability/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-breadability/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -17,7 +17,7 @@
 
 long_description    ${description}
 
-homepage            https://github.com/bookieio/breadability
+homepage            https://github.com/bookieio/${real_name}
 master_sites        https://pypi.python.org/packages/source/b/${real_name}/
 distname            ${real_name}-${version}
 
@@ -34,6 +34,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
     livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
 }

Modified: trunk/dports/python/py-docopt/Portfile
===================================================================
--- trunk/dports/python/py-docopt/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-docopt/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -30,6 +30,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
     livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
 }

Modified: trunk/dports/python/py-gensim/Portfile
===================================================================
--- trunk/dports/python/py-gensim/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-gensim/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-gensim
+set real_name       gensim
+name                py-${real_name}
 version             0.10.3
 categories-append   textproc
 maintainers         hum openmaintainer
@@ -21,11 +22,11 @@
 platforms           darwin
 license             LGPL
 
-master_sites        https://pypi.python.org/packages/source/g/gensim/
+master_sites        https://pypi.python.org/packages/source/g/${real_name}/
 checksums           rmd160  35fcfbf9667b5af811021bf975430129170eac5b \
                     sha256  ef7683c052a6777172bf5351044c3ca4da85c41059e29d26b354d1b7c984061e
 
-distname            gensim-${version}
+distname            ${real_name}-${version}
 
 python.versions     26 27 33 34
 # Note: python 2.5 or earlier is not supported according to py-numpy.
@@ -43,6 +44,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     "gensim-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
+    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }

Modified: trunk/dports/python/py-jubatus-client/Portfile
===================================================================
--- trunk/dports/python/py-jubatus-client/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-jubatus-client/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -4,8 +4,8 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-jubatus-client
 set real_name       jubatus
+name                py-${real_name}-client
 version             0.6.1
 python.versions     26 27
 python.default_version 27
@@ -31,6 +31,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
+    livecheck.regex     "${real_name}/(\\d+(?:\\.\\d+)*(-p\\d+)?)"
 }

Modified: trunk/dports/python/py-leveldb/Portfile
===================================================================
--- trunk/dports/python/py-leveldb/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-leveldb/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-leveldb
+set real_name       leveldb
+name                py-${real_name}
 version             0.193
 categories-append   database
 maintainers         hum openmaintainer
@@ -15,12 +16,12 @@
 long_description    ${description}
 
 homepage            https://code.google.com/p/py-leveldb/
-master_sites        https://pypi.python.org/packages/source/l/leveldb/
+master_sites        https://pypi.python.org/packages/source/l/${real_name}/
 
 checksums           rmd160  368f83cfea487bd9ce90a3904a158e33b68b709e \
                     sha256  db71c26b53a4c9b70721069646bdd3dddc65459be32a80e2dfea2ebed0c5c641
 
-distname            leveldb-${version}
+distname            ${real_name}-${version}
 
 python.versions     27 34
 
@@ -32,6 +33,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     "leveldb-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
+    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }

Modified: trunk/dports/python/py-mmh3/Portfile
===================================================================
--- trunk/dports/python/py-mmh3/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-mmh3/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-mmh3
+set real_name       mmh3
+name                py-${real_name}
 version             2.3
 categories-append   textproc math
 maintainers         hum openmaintainer
@@ -12,15 +13,15 @@
 description         Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
 long_description    ${description}
 
-homepage            https://pypi.python.org/pypi/mmh3
+homepage            https://pypi.python.org/pypi/${real_name}
 platforms           darwin
 license             Permissive
 
-master_sites        https://pypi.python.org/packages/source/m/mmh3/
+master_sites        https://pypi.python.org/packages/source/m/${real_name}/
 checksums           rmd160  dd8b817b57b2dffe6659747ea20a97c062d7520c \
                     sha256  ef9896a8083ffadf92a9e41e3db4d276670cdcddf4b2a4d619d92edb4af6cbdb
 
-distname            mmh3-${version}
+distname            ${real_name}-${version}
 
 python.versions     27 33 34
 
@@ -32,6 +33,7 @@
     }
     livecheck.type      none
 } else {
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     "mmh3-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.type      regex
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
+    livecheck.regex     "${real_name}/(\\d+(?:\\.\\d+)*)"
 }

Modified: trunk/dports/python/py-sumy/Portfile
===================================================================
--- trunk/dports/python/py-sumy/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-sumy/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -35,6 +35,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
     livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
 }

Modified: trunk/dports/python/py-word2vec/Portfile
===================================================================
--- trunk/dports/python/py-word2vec/Portfile	2015-01-31 07:53:06 UTC (rev 132388)
+++ trunk/dports/python/py-word2vec/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-word2vec
+set real_name       word2vec
+name                py-${real_name}
 version             0.6.7
 categories-append   textproc
 maintainers         hum openmaintainer
@@ -15,9 +16,9 @@
 long_description    ${description}
 
 homepage            https://github.com/danielfrg/word2vec/
-master_sites        https://pypi.python.org/packages/source/w/word2vec/
+master_sites        https://pypi.python.org/packages/source/w/${real_name}/
 
-distname            word2vec-${version}
+distname            ${real_name}-${version}
 
 python.versions     27 34
 
@@ -31,6 +32,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     "word2vec-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/${real_name}
+    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150131/63bd5565/attachment-0001.html>


More information about the macports-changes mailing list