# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        python-hyper hyperlink 19.0.0 v
name                py-hyperlink
revision            0
categories-append   devel net
license             MIT
platforms           darwin
supported_archs     noarch
installs_libs       no
maintainers         {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description         A pure-Python implementation of immutable URLs
long_description    Hyperlink is a pure-Python package and requires nothing but Python.

checksums           rmd160  d6372062ea8a7721c96a9f519d2bdff587b8ec26 \
                    sha256  658cba1f39b2802ab80a394c582e420aab1ff5ece8e83804a4790c6f5cf835a3 \
                    size    101141

python.versions 27 34 35 36 37

if {${name} ne ${subport}} {

    depends_build-append    \
        port:py${python.version}-setuptools

    depends_run-append    \
        port:py${python.version}-idna

    test.run        yes

    depends_test-append  \
        port:py${python.version}-pytest

    livecheck.type  none
}