Ticket #31970: Portfile

File Portfile, 1015 bytes (added by skymoo (Adam Mercer), 13 years ago)
Line 
1# $Id$
2
3PortSystem        1.0
4PortGroup         python 1.0
5
6name              py-httplib2
7version           2-0.7.1
8categories        python devel net
9license           MIT
10platforms         darwin
11maintainers       akitada blb ram openmaintainer
12
13description       A comprehensive HTTP client library in Python
14long_description  A comprehensive HTTP client library that supports \
15                  many features left out of other HTTP libraries.
16
17homepage          http://code.google.com/p/httplib2/
18master_sites      http://httplib2.googlecode.com/files/
19distname          httplib${version}
20
21python.versions   24 25 26 27 31 32
22
23checksums         md5 03e798858cebbdde189b02ed97e85a45 \
24                  sha1 e30ac0f099c1d7f9dc5bfb309441f65fb01f5dd8 \
25                  rmd160 84c341c8cb56f1a36a71a86874151ebd95d5ff77
26
27if {${$name} == ${subport}} {
28  livecheck.type    regex
29  livecheck.url     ${homepage}downloads/list
30  livecheck.regex   {httplib(\d-\d+(?:\.\d+)*).tar.gz}
31} else {
32  livecheck.type    none
33}