Ticket #38898: Portfile

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

Port file for py-couchdbkit

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: Portfile 93539 2012-05-26 00:48:22Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-couchdbkit
8version             0.6.4
9
10categories          python db
11license             MIT
12platforms           darwin
13maintainers         blair
14description         Python library for working with CouchDB
15long_description    Couchdbkit provides you a full featured and easy client \
16                    to access and manage CouchDB.  It allow you to manage a \
17                    CouchDB server, databases, doc managements and view \
18                    access.  All objects mostly reflect python objects for \
19                    convenience.  Server and databases objects could be used \
20                    for example as easy as using a dict.
21
22# Python >= 2.6 required
23# Python 3.x supported "soon"
24python.versions     26 27
25
26homepage            http://couchdbkit.org/
27master_sites        http://pypi.python.org/packages/source/c/couchdbkit
28distname            couchdbkit-${version}
29checksums           md5 9908a613aad2a1bc0fe5c3860449f54a \
30                    sha1 762f7e9d34dcfdca9a66e21865a6db5c38a25f97 \
31                    rmd160 8247332a08d3c3e2b3159876ea21c2b01c66a936
32
33if {$subport != $name} {
34    depends_build       port:py${python.version}-distribute
35    depends_lib-append  port:py${python.version}-restkit
36}
37
38livecheck.type      regex
39livecheck.url       http://pypi.python.org/pypi/couchdbkit
40livecheck.regex     {couchdbkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}