Changeset 143363 for trunk/dports


Ignore:
Timestamp:
Dec 11, 2015, 2:23:51 PM (3 years ago)
Author:
aronnax@…
Message:

py-httplib2: update to 0.9.2

File:
1 edited

Legend:

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

    r130520 r143363  
    55
    66name              py-httplib2
    7 version           2-0.8
     7set realversion   0.9.2
     8version           2-${realversion}
    89categories-append devel net
    910license           MIT
    1011platforms         darwin
    11 maintainers       ram openmaintainer
     12maintainers       ram aronnax openmaintainer
    1213
    1314description       A comprehensive HTTP client library in Python
     
    1516                  many features left out of other HTTP libraries.
    1617
    17 homepage          http://code.google.com/p/httplib2/
    18 master_sites      http://httplib2.googlecode.com/files/
    19 distname          httplib${version}
     18homepage          http://pypi.python.org/pypi/${python.rootname}/
     19master_sites      pypi:[string index ${python.rootname} 0]/${python.rootname}
     20distname          ${python.rootname}-${realversion}
    2021
    21 python.versions   26 27 33 34
     22python.versions   26 27 33 34 35
    2223
    23 checksums         rmd160 c5f812da928fbd5bd80c3134ba29a5e7654e3673 \
    24                   sha256 af689bc3cb10a95721eb0d0cf806202a699e7799dacd3497f63b48b2ba429c3f
     24checksums         md5    bd1b1445b3b2dfa7276b09b1a07b7f0e \
     25                  rmd160 305916f7a3f9ff7a262d770b7cf19e808ea11105 \
     26                  sha256 c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988
    2527
    2628if {${name} ne ${subport}} {
    27   # Extracted files do not have correct 'group' and 'other' permissions.
    28   post-extract {
    29     system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
    30     system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
    31   }
     29  depends_build-append \
     30                    port:py${python.version}-setuptools
    3231
    3332  livecheck.type    none
    3433} else {
    35   livecheck.type    regex
    36   livecheck.url     ${homepage}downloads/list
    37   livecheck.regex   {httplib(\d-\d+(?:\.\d+)*).tar.gz}
     34  livecheck.type    pypi
     35  livecheck.version ${realversion}
    3836}
Note: See TracChangeset for help on using the changeset viewer.