# -*- 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-cramjam
version             2.10.0
revision            0
license             MIT
maintainers         {i0ntempest @i0ntempest} \
                    openmaintainer

description         Extremely thin and easy-to-install Python bindings to de/compression\
                    algorithms in Rust
long_description    {*}${description}. Allows for using algorithms such as Snappy,\
                    without any system or other python dependencies.

homepage            https://github.com/milesgranger/cramjam

checksums           rmd160  48dc6be05ff03b657f4219cd90774628c088728e \
                    sha256  e821dd487384ae8004e977c3b13135ad6665ccf8c9874e68441cad1146e66d8a \
                    size    47801

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

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools
}
