# -*- 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-spdx
version             2.5.1
revision            0

platforms           {darwin any}
supported_archs     noarch
license             public-domain
maintainers         {@korusuke somaiya.edu:karan.sheth} {reneeotten @reneeotten} openmaintainer

description         SPDX license list database
long_description    {*}${description}

homepage            https://github.com/bbqsrc/spdx-python

checksums           sha256  4d734b0bcc6c9ec34d238621633bd2ffa5b42773b055cbe0b18e925e1ee039b9 \
                    rmd160  40c3abc42d54cbdd8daa1821db1598694ba0cd03 \
                    size    616927

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            ${destroot}${docdir}
    }
}
