wok annotate scikit-build/receipt @ rev 25734

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