Ticket #38896: Portfile

File Portfile, 1.5 KB (added by jkrage@…, 11 years ago)

Portfile for py-restkit

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.1
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.com/restkit/
21master_sites        http://pypi.python.org/packages/source/r/restkit
22distname            restkit-${version}
23checksums           md5 5cf9082ec760e226c8b0ebc0d9a2ab00 \
24                    sha1 2fffe45b3c9615656d0e15ecfd0c8e541e3bae23 \
25                    rmd160 5d881b338b1cf339aa6dee343df392bbe4267cb3
26
27# Python >= 2.6 required
28# Python 3.x is not yet officially supported
29python.versions     25 26 27
30
31
32if {$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
38livecheck.type      regex
39livecheck.url       http://pypi.python.org/pypi/restkit
40livecheck.regex     {restkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}