# -*- 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-regex
version             2024.11.6
set distversion     [regsub -all {(\.)0} ${version} {\1}]
revision            0
categories-append   devel
license             PSF

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Alternate regular expression module, to replace re.
long_description    ${description}

homepage            https://github.com/mrabarnett/mrab-regex

distname            ${python.rootname}-${distversion}

checksums           rmd160  19ff7fb97496dd41b0b63b499ace0d7e13138010 \
                    sha256  7ab159b063c52a0333c884e4679f8d7a85112ee3078fe3d9004b2dd875585519 \
                    size    399494

if {${name} eq ${subport}} {
    livecheck.version   ${distversion}
}
