# -*- 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.6
revision            0

categories-append   net
supported_archs     noarch
platforms           {darwin any}
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

checksums           rmd160  9210ccfb19bc848f7c85df0cac1ece04f9283032 \
                    sha256  35361965bfb38c8e146d7229f2d7c3aaf1c0f2ef547de4239b4d38931bf081d2 \
                    size    32838

python.versions     310

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
}
