# -*- 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-pyqrcode
version             1.2.1
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         A QR code generator written purely in Python with SVG \
                    EPS PNG and terminal output.
long_description    {*}${description}

homepage            https://github.com/mnooner256/pyqrcode

checksums           rmd160  1d90520ec82a029d5ec74229d1eeed5cf8131241 \
                    sha256  fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5 \
                    size    36989

python.rootname     PyQRCode

python.versions     310 311 312

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