# -*- 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.3
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  0e92d21427459cd2e3673163c1568dc03017e559 \
                    sha256  0d8b5a7ffb9f8e9a7b002f2398905e4420c0cb373e799b48e48f418db9c8816a \
                    size    154855

python.versions     310 311 312 313 314

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

    test.run        yes
}
