# $Id: Portfile 121661 2014-07-03 17:50:11Z mf2k@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-httplib2 version 2-0.8 categories-append devel net license MIT platforms darwin maintainers ram 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://code.google.com/p/httplib2/ master_sites http://httplib2.googlecode.com/files/ distname httplib${version} python.versions 24 25 26 27 31 32 33 checksums rmd160 c5f812da928fbd5bd80c3134ba29a5e7654e3673 \ sha256 af689bc3cb10a95721eb0d0cf806202a699e7799dacd3497f63b48b2ba429c3f 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" } livecheck.type none } else { livecheck.type regex livecheck.url ${homepage}downloads/list livecheck.regex {httplib(\d-\d+(?:\.\d+)*).tar.gz} }