# -*- 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                diffoscope
version             296
revision            0

categories          sysutils python
platforms           {darwin any}
supported_archs     noarch
license             GPL-3+
maintainers         {raimue @raimue} \
                    openmaintainer

description         in-depth comparison of files, archives, and directories
long_description    diffoscope will try to get to the bottom of what makes \
                    files or directories different. It will recursively unpack \
                    archives of many kinds and transform various binary \
                    formats into more human readable form to compare them. It \
                    can compare two tarballs, ISO images, or PDF just as easily. \
                    Please note some file formats will require the installation \
                    of additional ports.

homepage            https://diffoscope.org/

checksums           md5 4690da0d2e6012c4a70cd19a7adcd458 \
                    rmd160 64c95d22c461de1fb041c3665800e786e9038de0 \
                    sha256 a1e9f43052a8b99984ba0bb13649ba0b18fd7da65a359e4f87170c89f8da325e \
                    size   3188222

python.default_version 313

patchfiles          patch-locale.diff

depends_lib-append  port:py${python.version}-libarchive-c \
                    port:py${python.version}-magic

depends_run-append  port:gnutar \
                    bin:bzip2:bzip2 \
                    bin:gzip:gzip \
                    bin:cpio:cpio

test.run            yes

depends_test-append port:py${python.version}-black

test.env-append     PATH=${python.prefix}/bin:$env(PATH)
