# -*- 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

name                py-ulid
github.setup        mdomke python-ulid 3.2.1
github.tarball_from archive
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Universally Unique Lexicographically Sortable Identifier in Python 3.
long_description    {*}${description}
homepage            https://github.com/ahawker/ulid

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  46c090d9463d6eca4bc9c574c4c33198c50c4902 \
                    sha256  d4ce90880c66a5ecb5c48804769abe880114c4a02099dc0aab818a216ccb1be9 \
                    size    96416

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-hatch-vcs \
                    port:py${python.version}-hatch-fancy-pypi-readme

    build.env       SETUPTOOLS_SCM_PRETEND_VERSION=${version}
}
