# -*- 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-fpdf2
version             2.9.0
revision            0
categories          python graphics
license             LGPL-3
maintainers         {@akierig fastmail.de:akierig} openmaintainer
description         fpdf2 is a library for simple & fast PDF document generation in Python.
long_description    {*}${description} It is a fork and the successor of PyFPDF.
homepage            https://py-pdf.github.io/fpdf2/

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  e0af22890cbdd412781bd8d21fd2d157e27e2aa7 \
                    sha256  af2e7e06a5a2f9e32e24b146b56f58166142dfff45f55370ab03bfac9c8e3e21 \
                    size    408671

python.versions     311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-defusedxml \
                        port:py${python.version}-fonttools \
                        port:py${python.version}-Pillow
    depends_build-append port:py${python.version}-wheel \
                         port:py${python.version}-setuptools_scm
}
