# -*- 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-looseversion
version             1.3.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             PSF
maintainers         {reneeotten @reneeotten} openmaintainer

description         Version numbering for anarchists and software realists
long_description    {*}${description}

homepage            https://github.com/effigies/looseversion

checksums           rmd160  adf47d7fe2c4655972b435f15e14594a6096d885 \
                    sha256  ebde65f3f6bb9531a81016c6fef3eb95a61181adc47b7f949e9c0ea47911669e \
                    size    8799

python.versions     310 311 312 313 314
python.pep517_backend hatch

if {${name} ne ${subport}} {
    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}
    test.args       tests.py
}
