source: trunk/dports/python/py-couchdb/Portfile @ 125959

Last change on this file since 125959 was 114324, checked in by ryandesign@…, 6 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-couchdb
7version             0.9
8categories          python www
9license             BSD
10platforms           darwin
11supported_archs     noarch
12maintainers         blair openmaintainer
13homepage            http://code.google.com/p/couchdb-python/
14description         Python library for working with CouchDB
15long_description    Python library for working with CouchDB.  This package \
16                    currently encompasses four primary modules: \
17                    1) couchdb.client: the basic client library, \
18                    2) couchdb.design: management of design documents, \
19                    3) couchdb.schema: a higher-lever API for mapping between \
20                       CouchDB documents and Python objects, \
21                    4) couchdb.view: a CouchDB view server that allows \
22                       writing view functions in Python
23
24master_sites        https://pypi.python.org/packages/source/C/CouchDB
25distname            CouchDB-${version}
26checksums           md5    67afd226fed4c641eeb13a9930d334f7 \
27                    rmd160 f581679a63834890ac00d6d0dee89c13de24359e \
28                    sha256 a1cf5071b5adb47048199bbfbaf1500e69c88b27afe14ba26efa0f4044c3baee
29
30python.versions     25 26 27
31
32if {${name} ne ${subport}} {
33    # Use py-setuptools as a library dependency instead of a build
34    # dependency because couchdb/__init__.py uses setuptools's
35    # pkg_resources module.
36    depends_lib-append  port:py${python.version}-cjson \
37                        port:py${python.version}-httplib2 \
38                        port:py${python.version}-setuptools
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       https://pypi.python.org/pypi/CouchDB
43    livecheck.regex     {CouchDB ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}
44}
Note: See TracBrowser for help on using the repository browser.