SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "py3k-six"

# SliTaz package receipt.

PACKAGE="py3k-six"
VERSION="1.16.0"
CATEGORY="development"
SHORT_DESC="Six is a Python 2 and 3 compatibility library."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://pypi.org/project/six/"
REPOLOGY="python:six"

SOURCE="six"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"

DEPENDS="py3k"
BUILD_DEPENDS="py3k-dev py3k-setuptools_scm"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/release_/!d;/project/!d;s|.*six/||;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()
{
    cook_copy_folders    lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)