# -*- 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-cbor2
version             5.6.5
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Pure Python CBOR de-serializer with extensive tag support
long_description    {*}${description}

homepage            https://github.com/agronholm/cbor2

checksums           rmd160  b9f85b84629873705c7aa1fb7717f628263d2b76 \
                    sha256  b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09 \
                    size    100886

python.versions     39 310 311 312 313

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

    depends_test-append \
                    port:py${python.version}-hypothesis

    test.run        yes
}
