wok-current view scikit-build/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="scikit-build"
4 VERSION="0.15.0"
5 CATEGORY="development"
6 SHORT_DESC="Improved build system generator for CPython C, C++, Cython and Fortran extensions."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://scikit-build.readthedocs.io/"
11 WGET_URL="https://github.com/scikit-build/scikit-build/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="py3k py3k-setuptools_scm cmake"
14 BUILD_DEPENDS="py3k py3k-setuptools_scm"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%arch*}releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python3 setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }