wok-current annotate python3-pygments/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
rev   line source
shann@25634 1 # SliTaz package receipt.
shann@25634 2
shann@25634 3 PACKAGE="python3-pygments"
shann@25634 4 VERSION="2.10.0"
shann@25634 5 CATEGORY="development"
shann@25634 6 SHORT_DESC="Generic syntax highlighter."
shann@25634 7 MAINTAINER="claudinei@slitaz.org"
shann@25634 8 LICENSE="BSD"
shann@25634 9 WEB_SITE="https://pypi.org/project/Pygments/"
shann@25634 10
shann@25634 11 SOURCE="Pygments"
shann@25634 12 TARBALL="$SOURCE-$VERSION.tar.gz"
shann@25634 13 WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL"
shann@25634 14
shann@25634 15 DEPENDS="python"
shann@25634 16 BUILD_DEPENDS="python3 python3-setuptools"
shann@25634 17
shann@25634 18 # What is the latest version available today?
shann@25634 19 current_version()
shann@25634 20 {
shann@25634 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
shann@25634 22 }
shann@25634 23
shann@25634 24 # Rules to configure and make the package.
shann@25634 25 compile_rules()
shann@25634 26 {
shann@25634 27 python3 setup.py install --no-compile --root=$install
shann@25634 28 }
shann@25634 29
shann@25634 30 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@25634 31 genpkg_rules()
shann@25634 32 {
shann@25634 33 cp -a $install/* $fs
shann@25634 34 }