# -*- 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-parver
version             0.4
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Parse and manipulate version numbers.
long_description    Allows parsing and manipulation of PEP 440 version numbers.

homepage            https://github.com/RazerM/parver

checksums           rmd160  33a2764d9fe8b1e013102c2b0812217c27587c9c \
                    sha256  d4a3dbb93c53373ee9a0ba055e4858c44169b204b912e49d003ead95db9a9bca \
                    size    25526

python.versions     310 311

if {${name} ne ${subport}} {
    depends_lib-append \
                        port:py${python.version}-arpeggio \
                        port:py${python.version}-attrs \
                        port:py${python.version}-six

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

    test.run            yes
}
