new bblfs: dev-python/scikit-build-core-0.11.6
This commit is contained in:
36
dev-python/scikit-build-core-0.11.6.PKGBUILD
Normal file
36
dev-python/scikit-build-core-0.11.6.PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user