1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-restkit |
---|
8 | version 4.2.1 |
---|
9 | |
---|
10 | categories python www |
---|
11 | license MIT |
---|
12 | platforms darwin |
---|
13 | maintainers nomaintainer |
---|
14 | description HTTP resource kit for Python |
---|
15 | long_description Restkit is an HTTP resource kit for Python. It allows \ |
---|
16 | you to easily access to HTTP resource and build \ |
---|
17 | objects around it. It's the base of couchdbkit a \ |
---|
18 | Python CouchDB framework. |
---|
19 | |
---|
20 | homepage http://benoitc.github.com/restkit/ |
---|
21 | master_sites http://pypi.python.org/packages/source/r/restkit |
---|
22 | distname restkit-${version} |
---|
23 | checksums md5 5cf9082ec760e226c8b0ebc0d9a2ab00 \ |
---|
24 | sha1 2fffe45b3c9615656d0e15ecfd0c8e541e3bae23 \ |
---|
25 | rmd160 5d881b338b1cf339aa6dee343df392bbe4267cb3 |
---|
26 | |
---|
27 | # Python >= 2.6 required |
---|
28 | # Python 3.x is not yet officially supported |
---|
29 | python.versions 25 26 27 |
---|
30 | |
---|
31 | |
---|
32 | if {$subport != $name} { |
---|
33 | depends_build port:py${python.version}-distribute |
---|
34 | depends_lib-append port:py${python.version}-http-parser \ |
---|
35 | port:py${python.version}-socketpool |
---|
36 | } |
---|
37 | |
---|
38 | livecheck.type regex |
---|
39 | livecheck.url http://pypi.python.org/pypi/restkit |
---|
40 | livecheck.regex {restkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)} |
---|