# -*- 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.8.7
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  524e83ed1b02fd99162832a30f80937d36e20290 \
                    sha256  7060ccee5a9c7ab0a271fb765a36a23639f83ef8996c34e3d46af0a17ede57f9 \
                    size    362351

python.versions     310 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
}
