wok diff scikit-build/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (19 months ago) |
parents | |
children | 0262035dc1e7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/scikit-build/receipt Sun Feb 12 20:36:56 2023 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="scikit-build" 1.7 +VERSION="0.15.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Improved build system generator for CPython C, C++, Cython and Fortran extensions." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://scikit-build.readthedocs.io/" 1.14 +WGET_URL="https://github.com/scikit-build/scikit-build/archive/refs/tags/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="py3k py3k-setuptools_scm cmake" 1.17 +BUILD_DEPENDS="py3k py3k-setuptools_scm" 1.18 + 1.19 +# What is the latest version available today? 1.20 +current_version() 1.21 +{ 1.22 + wget -O - ${WGET_URL%arch*}releases 2>/dev/null | \ 1.23 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.24 +} 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + python3 setup.py install --root=$DESTDIR 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + cp -a $install/usr $fs 1.36 +}