SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-enum34"

# SliTaz package receipt.

PACKAGE="python-enum34"
VERSION="1.1.6"
CATEGORY="development"
SHORT_DESC="Python 3.4 Enum backport"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://pypi.org/project/enum34/"
TARBALL="$PACKAGE-$VERSION.zip"
WGET_URL="https://files.pythonhosted.org/packages/e8/26/a6101edcf724453845c850281b96b89a10dac6bd98edebc82634fccce6a5/enum34-1.1.6.zip"

DEPENDS="python"
BUILD_DEPENDS="python-setuptools"

# What is the latest version available today?
current_version()
{
    wget -O - https://pypi.org/project/enum34/ 2>/dev/null | \
    sed '/enum34 [0-9]/!d;s|.*m34.||;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)