# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup python 1.0 name py-httplib2 set realversion 0.10.3 version 2-${realversion} categories-append devel net license MIT platforms darwin maintainers {ram @skymoo} {aronnax @lpsinger} openmaintainer description A comprehensive HTTP client library in Python long_description A comprehensive HTTP client library that supports \ many features left out of other HTTP libraries. homepage http://pypi.python.org/pypi/${python.rootname}/ master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} distname ${python.rootname}-${realversion} python.versions 26 27 33 34 35 36 checksums rmd160 11438da47881a68c5b22cfa772e89c19565c894a \ sha256 e404d3b7bd86c1bc931906098e7c1305d6a3a6dcef141b8bb1059903abb3ceeb if {${name} ne ${subport}} { # Extracted files do not have correct 'group' and 'other' permissions. post-extract { system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx" system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r" } depends_build-append \ port:py${python.version}-setuptools livecheck.type none } else { livecheck.type pypi livecheck.version ${realversion} }