# -*- 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.11.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  c3b3d41ef1f5bf3f91adf10d7f346e6d6a6f4386 \
                    sha256  5c82500ed91605c2d9781380b378397012e25127e89d64f460fea6aeac4389b4 \
                    size    99100

python.versions     310 311 312 313 314

python.pep517_backend \
                    maturin

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