# -*- 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-rpds-py
version             2026.5.1
revision            0

categories-append   devel
license             BSD
maintainers         nomaintainer

description         Python bindings to Rust's persistent data structures (rpds)
long_description    {*}${description}

homepage            https://github.com/crate-py/rpds

checksums           rmd160  0eaf625dada17b077c13ef829eb32e6de8099859 \
                    sha256  07b24fea40541e28570e5b795a4a38fbdcd12550c06bd0748005ecc8116ca256 \
                    size    64459

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

if {${subport} ne ${name}} {
    if {${python.version} == 310} {
        version     0.30.0
        revision    0
        checksums   rmd160  da5c9ea2a4c80ee77168d621e78b16e99292f74b \
                    sha256  dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84 \
                    size    69469
    }

    distname            rpds_py-${version}

}
