Changeset 132389


Ignore:
Timestamp:
Jan 31, 2015, 8:02:55 AM (4 years ago)
Author:
hum@…
Message:

py-{breadability,docopt,gensim,jubatus,leveldb,mmh3,sumy,word2vec}: fix livecheck url of PyPi

Location:
trunk/dports/python
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-breadability/Portfile

    r127905 r132389  
    1818long_description    ${description}
    1919
    20 homepage            https://github.com/bookieio/breadability
     20homepage            https://github.com/bookieio/${real_name}
    2121master_sites        https://pypi.python.org/packages/source/b/${real_name}/
    2222distname            ${real_name}-${version}
     
    3535} else {
    3636    livecheck.type      regex
    37     livecheck.url       [lindex ${master_sites} 0]
     37    livecheck.url       https://pypi.python.org/pypi/${real_name}
    3838    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
    3939}
  • trunk/dports/python/py-docopt/Portfile

    r127905 r132389  
    3131} else {
    3232    livecheck.type      regex
    33     livecheck.url       [lindex ${master_sites} 0]
     33    livecheck.url       https://pypi.python.org/pypi/${real_name}
    3434    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
    3535}
  • trunk/dports/python/py-gensim/Portfile

    r128286 r132389  
    55PortGroup           python 1.0
    66
    7 name                py-gensim
     7set real_name       gensim
     8name                py-${real_name}
    89version             0.10.3
    910categories-append   textproc
     
    2223license             LGPL
    2324
    24 master_sites        https://pypi.python.org/packages/source/g/gensim/
     25master_sites        https://pypi.python.org/packages/source/g/${real_name}/
    2526checksums           rmd160  35fcfbf9667b5af811021bf975430129170eac5b \
    2627                    sha256  ef7683c052a6777172bf5351044c3ca4da85c41059e29d26b354d1b7c984061e
    2728
    28 distname            gensim-${version}
     29distname            ${real_name}-${version}
    2930
    3031python.versions     26 27 33 34
     
    4445} else {
    4546    livecheck.type      regex
    46     livecheck.url       [lindex ${master_sites} 0]
    47     livecheck.regex     "gensim-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     47    livecheck.url       https://pypi.python.org/pypi/${real_name}
     48    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
    4849}
  • trunk/dports/python/py-jubatus-client/Portfile

    r127851 r132389  
    55PortGroup           python 1.0
    66
    7 name                py-jubatus-client
    87set real_name       jubatus
     8name                py-${real_name}-client
    99version             0.6.1
    1010python.versions     26 27
     
    3232} else {
    3333    livecheck.type      regex
    34     livecheck.url       [lindex ${master_sites} 0]
    35     livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
     34    livecheck.url       https://pypi.python.org/pypi/${real_name}
     35    livecheck.regex     "${real_name}/(\\d+(?:\\.\\d+)*(-p\\d+)?)"
    3636}
  • trunk/dports/python/py-leveldb/Portfile

    r129829 r132389  
    55PortGroup           python 1.0
    66
    7 name                py-leveldb
     7set real_name       leveldb
     8name                py-${real_name}
    89version             0.193
    910categories-append   database
     
    1617
    1718homepage            https://code.google.com/p/py-leveldb/
    18 master_sites        https://pypi.python.org/packages/source/l/leveldb/
     19master_sites        https://pypi.python.org/packages/source/l/${real_name}/
    1920
    2021checksums           rmd160  368f83cfea487bd9ce90a3904a158e33b68b709e \
    2122                    sha256  db71c26b53a4c9b70721069646bdd3dddc65459be32a80e2dfea2ebed0c5c641
    2223
    23 distname            leveldb-${version}
     24distname            ${real_name}-${version}
    2425
    2526python.versions     27 34
     
    3334} else {
    3435    livecheck.type      regex
    35     livecheck.url       [lindex ${master_sites} 0]
    36     livecheck.regex     "leveldb-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     36    livecheck.url       https://pypi.python.org/pypi/${real_name}
     37    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
    3738}
  • trunk/dports/python/py-mmh3/Portfile

    r130596 r132389  
    55PortGroup           python 1.0
    66
    7 name                py-mmh3
     7set real_name       mmh3
     8name                py-${real_name}
    89version             2.3
    910categories-append   textproc math
     
    1314long_description    ${description}
    1415
    15 homepage            https://pypi.python.org/pypi/mmh3
     16homepage            https://pypi.python.org/pypi/${real_name}
    1617platforms           darwin
    1718license             Permissive
    1819
    19 master_sites        https://pypi.python.org/packages/source/m/mmh3/
     20master_sites        https://pypi.python.org/packages/source/m/${real_name}/
    2021checksums           rmd160  dd8b817b57b2dffe6659747ea20a97c062d7520c \
    2122                    sha256  ef9896a8083ffadf92a9e41e3db4d276670cdcddf4b2a4d619d92edb4af6cbdb
    2223
    23 distname            mmh3-${version}
     24distname            ${real_name}-${version}
    2425
    2526python.versions     27 33 34
     
    3334    livecheck.type      none
    3435} else {
    35     livecheck.url       [lindex ${master_sites} 0]
    36     livecheck.regex     "mmh3-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     36    livecheck.type      regex
     37    livecheck.url       https://pypi.python.org/pypi/${real_name}
     38    livecheck.regex     "${real_name}/(\\d+(?:\\.\\d+)*)"
    3739}
  • trunk/dports/python/py-sumy/Portfile

    r127905 r132389  
    3636} else {
    3737    livecheck.type      regex
    38     livecheck.url       [lindex ${master_sites} 0]
     38    livecheck.url       https://pypi.python.org/pypi/${real_name}
    3939    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
    4040}
  • trunk/dports/python/py-word2vec/Portfile

    r129828 r132389  
    55PortGroup           python 1.0
    66
    7 name                py-word2vec
     7set real_name       word2vec
     8name                py-${real_name}
    89version             0.6.7
    910categories-append   textproc
     
    1617
    1718homepage            https://github.com/danielfrg/word2vec/
    18 master_sites        https://pypi.python.org/packages/source/w/word2vec/
     19master_sites        https://pypi.python.org/packages/source/w/${real_name}/
    1920
    20 distname            word2vec-${version}
     21distname            ${real_name}-${version}
    2122
    2223python.versions     27 34
     
    3233} else {
    3334    livecheck.type      regex
    34     livecheck.url       [lindex ${master_sites} 0]
    35     livecheck.regex     "word2vec-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     35    livecheck.url       https://pypi.python.org/pypi/${real_name}
     36    livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
    3637}
Note: See TracChangeset for help on using the changeset viewer.