You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -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.20.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 a15ece6741da15b2a6d2aa6ff3c035e6cae502f9 \
|
|
sha256 6d9726ae6cd37e22f210c74b364b30180a68c20442e97ff09f3c566a414af738 \
|
|
size 102641
|
|
|
|
python.versions 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
|
|
}
|
|
}
|