Files
2026-06-30 09:26:32 +03:00

50 lines
1.6 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-scikit-build
version 0.19.1
revision 0
categories-append devel
license BSD
platforms {darwin any}
supported_archs noarch
python.versions 310 311 312 313 314
python.pep517_backend hatch
maintainers {stromnov @stromnov} openmaintainer
description Improved build system generator for CPython extensions.
long_description {*}${description}
homepage https://github.com/scikit-build/scikit-build
distname [string map {- _} ${python.rootname}]-${version}
checksums rmd160 9fd9e9652a3584d5f6fec82e4caffaa59384a877 \
sha256 b9a8d07fca2d5d10d93220bc57a685161d72af1fc76285d55c564ddaa862e584 \
size 276708
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs \
port:py${python.version}-hatch-fancy-pypi-readme
depends_lib-append port:py${python.version}-distro \
port:py${python.version}-packaging \
port:py${python.version}-setuptools \
port:py${python.version}-wheel \
path:bin/cmake:cmake
if {${python.version} < 311} {
depends_lib-append port:py${python.version}-tomli
}
# https://github.com/scikit-build/scikit-build/issues/1123
platform darwin {
patchfiles-append patch-fix-macOS-archs.diff
}
}