# -*- 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
set _n [string index ${_name} 0]
maintainers {petr @petrrr} openmaintainer
description Python wrapper for the DataCite Metadata Store API
long_description ${description}
homepage http://datacite.readthedocs.org/en/stable/
distname ${_name}-${version}
master_sites pypi:${_n}/${_name}/
checksums md5 5a2d6ff4dc47b9f4b563a07b872a9981 \
rmd160 6af53095e0fec1070f8a0e9544c94e0d029d1737 \
sha256 00e7b9f82b5c7852bd374ec50d665aba9e89d849131c9cbe1c133f650e6f982a
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools \
port:py${python.version}-pytest-runner
depends_lib-append port:py${python.version}-jsonschema \
port:py${python.version}-lxml \
port:py${python.version}-requests
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""