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

Last change on this file was 148976, checked in by raimue@…, 14 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z 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        pypi:C/CouchDB
25distname            CouchDB-${version}
26checksums           md5    67afd226fed4c641eeb13a9930d334f7 \
27                    rmd160 f581679a63834890ac00d6d0dee89c13de24359e \
28                    sha256 a1cf5071b5adb47048199bbfbaf1500e69c88b27afe14ba26efa0f4044c3baee
29
30python.versions     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.