# SliTaz package receipt. PACKAGE="python3-pygments" VERSION="2.10.0" CATEGORY="development" SHORT_DESC="Generic syntax highlighter." MAINTAINER="claudinei@slitaz.org" LICENSE="BSD" WEB_SITE="https://pypi.org/project/Pygments/" SOURCE="Pygments" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python3 python3-setuptools" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. compile_rules() { python3 setup.py install --no-compile --root=$install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }