# -*- 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-isbinary
version             1.0.1
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {pguyot @pguyot} openmaintainer

description         Detect if a file is binary or text

long_description    {*}${description}

homepage            https://github.com/binaryornot/binaryornot

checksums           rmd160  d5ad911e089dc0e5c4ada91dc882d0f5b0343ba7 \
                    sha256  86b8ebc9df64408a1a75592361d2181a77558d545f9c80cdb81b187e30add883 \
                    size    6918

python.versions     313 314
python.pep517_backend poetry

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-chardet
}
