# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        gsnedders python-webencodings 0.5.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-webencodings
license             BSD
supported_archs     noarch
maintainers         nomaintainer
description         This is a Python implementation of the WHATWG Encoding standard.
long_description    {*}${description}
platforms           {darwin any}

checksums           rmd160  951c3ba05b9d55246071ca1af6ad1b9b9126f28d \
                    sha256  37003bacbaccb200c7aa102f45bd32c36ed4c14889e602a621bd421774524ed1 \
                    size    13173

python.versions     27 35 36 37 38 39 310 311 312 313

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

    test.run        yes
}