# -*- 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-freetype
python.rootname     freetype-py
version             2.5.1
revision            0
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         Freetype Python provides bindings for the FreeType library.
long_description    {*}${description} Only the high-level API is bound.
supported_archs     noarch
platforms           {darwin any}
homepage            https://github.com/rougier/freetype-py
use_zip             yes

python.versions     39 310 311 312 313

checksums           rmd160  fffe7ccabcc4e6e03147165aab345ef9dc929525 \
                    sha256  cfe2686a174d0dd3d71a9d8ee9bf6a2c23f5872385cf8ce9f24af83d076e2fbd \
                    size    851738

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-certifi \
                    port:py${python.version}-setuptools_scm \
                    port:py${python.version}-toml \
                    port:py${python.version}-wheel

    depends_lib-append  \
                    port:freetype
}
