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.2 |
---|
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.io/restkit/ |
---|
21 | master_sites http://pypi.python.org/packages/source/r/restkit |
---|
22 | distname restkit-${version} |
---|
23 | checksums md5 99fb4e1af6e1b25c488dace620b4676f \ |
---|
24 | sha1 305b75024893f64a62b5a018518f659c16532e39 \ |
---|
25 | rmd160 1e4f9cdfcf2c345ad35c001cfa8e3c778c052942 |
---|
26 | |
---|
27 | # Python >= 2.6 required |
---|
28 | # Python 3.x is not yet officially supported |
---|
29 | python.versions 26 27 |
---|
30 | |
---|
31 | if {$subport != $name} { |
---|
32 | depends_build port:py${python.version}-setuptools |
---|
33 | depends_lib-append port:py${python.version}-http-parser \ |
---|
34 | port:py${python.version}-socketpool |
---|
35 | } |
---|
36 | |
---|
37 | livecheck.type regex |
---|
38 | livecheck.url http://pypi.python.org/pypi/restkit |
---|
39 | livecheck.regex {restkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)} |
---|