# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-ckanapi
version             4.3
revision            0

categories-append   net
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         {petr @petrrr} openmaintainer

description         Python packages for accessing the CKAN Action API
long_description    A command line interface and Python module for accessing \
                    the CKAN Action API

homepage            https://github.com/ckan/ckanapi
distname            ${python.rootname}-${version}
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

checksums           rmd160  3a7c45923bc0207244ab8bfa932b574dc1433f82 \
                    sha256  4ce10a09ce995dd1b4bb5bad327e10a29c92059dc5014a631a43b7fb053008ce \
                    size    30610

python.versions     27 35 36

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools

    depends_lib-append      port:py${python.version}-docopt \
                            port:py${python.version}-requests \
                            port:py${python.version}-six \
                            port:py${python.version}-slugify

    livecheck.type  none
}
