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

github.setup        gitpython-developers smmap 6.0.0 v
name                py-smmap
maintainers         nomaintainer
license             BSD
platforms           {darwin any}
supported_archs     noarch

description         Pure python sliding memory map manager
long_description    {*}${description}

checksums           rmd160  19e914fc1fc8edd78bcd9ab7f87609e29d0fe06c \
                    sha256  19a6a32c2eb68fe42e3da963b26873ec36cd6f862b08afee04d3d2fb0c5f03d4 \
                    size    28188

python.versions     27 37 38 39 310 311 312

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

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

    test.run        yes
    python.test_framework nose
} else {
    github.livecheck.regex  {([^"dev]+)}
}
