18 lines
661 B
Plaintext
18 lines
661 B
Plaintext
# Description: Improved build system generator for Python C/C++/Fortran/Cython extensions
|
|
# URL: https://github.com/scikit-build/scikit-build
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-distro python3-hatch-fancy-pypi-readme python3-hatch-vcs
|
|
|
|
name=python3-scikit-build
|
|
version=0.17.6
|
|
release=1
|
|
source=(https://github.com/scikit-build/scikit-build/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd scikit-build-$version
|
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|