# -*- 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-pylzma
version             0.6.0
revision            0
categories-append   archivers
license             LGPL-2.1+

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Python bindings for the LZMA compression library.
long_description    {*}${description}

homepage            https://www.joachim-bauch.de/projects/pylzma/

checksums           rmd160  14f379123ece506788574e9b8e968c8295af113d \
                    sha256  3b00a789228d05a06fa995cd2b41ff4a965784aa1948a06d84b3ca6b873041f0 \
                    size    4296839

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0644 -W ${worksrcpath} LICENSE README.md doc/USAGE.md \
            ${destroot}${prefix}/share/doc/${subport}
    }

    test.run        yes
}
