# -*- 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-rarfile
version             4.2
revision            0

categories-append   archivers
platforms           {darwin any}
supported_archs     noarch
license             ISC
maintainers         nomaintainer

description         RAR archive reader for Python
long_description    {*}${description}

homepage            https://github.com/markokr/rarfile

checksums           rmd160  42c5f3d3ec5311c5a326158c2ab17c6bb3378b3a \
                    sha256  8e1c8e72d0845ad2b32a47ab11a719bc2e41165ec101fd4d3fe9e92aa3f469ef \
                    size    153476

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:unrar

    test.run        yes
}
