Ticket #38896: Portfile.2

File Portfile.2, 1.5 KB (added by jkrage@…, 10 years ago)

Portfile for py-restkit 4.2.2

Line 
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
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-restkit
8version             4.2.2
9
10categories          python www
11license             MIT
12platforms           darwin
13maintainers         nomaintainer
14description         HTTP resource kit for Python
15long_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
20homepage            http://benoitc.github.io/restkit/
21master_sites        http://pypi.python.org/packages/source/r/restkit
22distname            restkit-${version}
23checksums           md5 99fb4e1af6e1b25c488dace620b4676f \
24                    sha1 305b75024893f64a62b5a018518f659c16532e39 \
25                    rmd160 1e4f9cdfcf2c345ad35c001cfa8e3c778c052942
26
27# Python >= 2.6 required
28# Python 3.x is not yet officially supported
29python.versions     26 27
30
31if {$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
37livecheck.type      regex
38livecheck.url       http://pypi.python.org/pypi/restkit
39livecheck.regex     {restkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}