# -*- 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-libarchive-c
version             5.3
revision            0

supported_archs     noarch
platforms           {darwin any}
license             public-domain
maintainers         nomaintainer

description         Python interface to libarchive
long_description    {*}${description}.

homepage            https://github.com/Changaco/python-libarchive-c

distname            libarchive_c-${version}

checksums           md5 0f6b2d96b936c9b7f26dfec3255f7aaf \
                    rmd160 b03aa77529d6cd66ae486c992cb4cae3cb6cefbb \
                    sha256 5ddb42f1a245c927e7686545da77159859d5d4c6d00163c59daff4df314dae82 \
                    size   54349

python.versions     310 311 312 313 314

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

    test.run        yes
}
