# -*- 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-barcode
python.rootname     python_barcode
version             0.16.1
license             MIT
platforms           {darwin any}
supported_archs     noarch
installs_libs       no

python.versions     39 310 311 312 313 314

maintainers         nomaintainer

description         a simple way to create barcodes in Python

long_description    python-barcode is a pure-python library for \
                    generating barcodes in various formats.

homepage            https://python-barcode.readthedocs.io/en/stable/

checksums           rmd160  560d31cfde50bdf5080d4af52d1614d398a27388 \
                    sha256  665ed09516b0088b5593061c5ac8662caa0b08d56bdad328388b1cab39939ac5 \
                    size    233777

if {${name} ne ${subport}} {
    depends_lib-append  path:${python.pkgd}/PIL:py${python.version}-Pillow
}
