/
Portfile
49 lines (38 loc) · 1.81 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- 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-core
version 0.8.1
revision 0
platforms {darwin any}
categories-append devel
license Apache-2
maintainers nomaintainer
description A bridge between Python package build systems and CMake (a rewrite of the classic Scikit-build).
long_description \
Scikit-build-core is a ground-up rewrite of the classic Scikit-build, a bridge between Python package \
build systems and CMake, the most popular compiled language build system. Scikit-build-core was built \
using Python packaging standards developed after scikit-build (classic) was written.
homepage https://github.com/scikit-build/scikit-build-core/
distname [string map {- _} ${python.rootname}]-${version}
checksums rmd160 c0580101688d06d47ec6cd0a26afb218b193502b \
sha256 da058cff222e7fc0396bba7eae42af2ca35a684b7681ec4e9c91b1783b132030 \
size 202391
python.versions 38 39 310 311 312
python.pep517_backend hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs
depends_lib-append \
path:bin/cmake:cmake \
port:py${python.version}-packaging
if {${python.version} < 311} {
depends_lib-append \
port:py${python.version}-exceptiongroup \
port:py${python.version}-tomli
}
if {${python.version} < 39} {
depends_lib-append port:py${python.version}-importlib-resources \
port:py${python.version}-typing_extensions
}
}