# -*- 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-meson-python version 0.17.1 revision 0 categories-append devel supported_archs noarch platforms {darwin any} license MIT maintainers {reneeotten @reneeotten} openmaintainer description Meson Python build backend (PEP 517) long_description {*}${description} homepage https://github.com/mesonbuild/meson-python distname meson_python-${version} checksums rmd160 e8c66649dbe2de8057f9ba61756e1d9ca3ff10b9 \ sha256 efb91f69f2e19eef7bc9a471ed2a4e730088cc6b39eacaf3e49fc4f930eb5f83 \ size 82687 python.versions 38 39 310 311 312 313 if {${name} ne ${subport}} { patchfiles patch-mesonpy-__init__.py.diff post-patch { reinplace "s|@@PYVER@@|${python.branch}|g" ${worksrcpath}/mesonpy/__init__.py } depends_lib-append \ port:py${python.version}-meson \ port:py${python.version}-pyproject_metadata \ port:py${python.version}-setuptools if {${python.version} < 311} { depends_lib-append \ port:py${python.version}-tomli } }