# -*- 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-uritemplate
version             3.0.0
revision            0

categories-append   textproc www
platforms           darwin
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         Python implementation of RFC6570, URI Template
long_description    \
    This is a Python implementation of RFC6570, URI Template, and can expand \
    templates up to and including Level 4 in that specification.

homepage            https://uritemplate.readthedocs.org/
master_sites        pypi:u/uritemplate
distname            ${python.rootname}-${version}

checksums           rmd160  474382a617e79ee4e9718621d9a30e8d05a03f8e \
                    sha256  c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d \
                    size    30038

python.versions     27 35 36 37 38 39

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

    livecheck.type none
}
