SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python3-setuptools"

# SliTaz package receipt.

PACKAGE="python3-setuptools"
VERSION="46.1.3"
CATEGORY="development"
SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://pypi.org/project/setuptools/"

SOURCE="setuptools"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz"

DEPENDS="python3"
BUILD_DEPENDS="python3 python3-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)