37 lines
742 B
Bash
37 lines
742 B
Bash
pkgname=scikit-build-core
|
|
pkgver=0.11.6
|
|
pkgdesc='Next generation Python CMake adaptor and Python API for plugins'
|
|
arch=(any)
|
|
homepage='https://github.com/scikit-build/scikit-build-core'
|
|
license=(Apache-2.0)
|
|
depends=(
|
|
cmake
|
|
ninja
|
|
python
|
|
python-packaging
|
|
python-pathspec
|
|
)
|
|
makedepends=(
|
|
python-build
|
|
python-hatch-vcs
|
|
python-hatchling
|
|
python-installer
|
|
)
|
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
|
urls=("${homepage}/archive/v${pkgver}/${sources[0]}")
|
|
md5sums=("6b86f1649941671877c5bbfd8ac75890")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
src_install() {
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
}
|
|
|
|
# vim:ft=sh syn=sh et sw=2:
|