SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "scikit-build"

# SliTaz package receipt.

PACKAGE="scikit-build"
VERSION="0.15.0"
CATEGORY="development"
SHORT_DESC="Improved build system generator for CPython C, C++, Cython and Fortran extensions."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://scikit-build.readthedocs.io/"
WGET_URL="https://github.com/scikit-build/scikit-build/archive/refs/tags/$VERSION.tar.gz"

DEPENDS="py3k py3k-setuptools_scm cmake"
BUILD_DEPENDS="py3k py3k-setuptools_scm"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%arch*}releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python3 setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)