# $Id: Portfile 143366 2015-12-11 14:37:57Z aronnax@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-httplib2 set realversion 0.9.2 version 2-${realversion} revision 1 categories-append devel net license MIT platforms darwin maintainers ram aronnax 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 checksums md5 bd1b1445b3b2dfa7276b09b1a07b7f0e \ rmd160 305916f7a3f9ff7a262d770b7cf19e808ea11105 \ sha256 c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988 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} }