You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
46 lines
1.4 KiB
Tcl
46 lines
1.4 KiB
Tcl
# -*- 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.19.0
|
|
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 248078fa2229c17e4c570da7524249f5cb6d46c0 \
|
|
sha256 9959d198aa69b57fcfd354a34518c6f795b781a73ed0656f4d01660160cc2553 \
|
|
size 101504
|
|
|
|
python.versions 39 310 311 312 313 314
|
|
|
|
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
|
|
}
|
|
}
|