wok-current annotate python-pygments/receipt @ rev 24328

updated asunder (2.9.5 -> 2.9.7)
author Hans-G?nter Theisgen
date Thu Jan 27 14:28:54 2022 +0100 (2022-01-27)
parents 0278d8646405
children 076f424196b2
rev   line source
claudinei@3385 1 # SliTaz package receipt.
claudinei@3385 2
claudinei@3385 3 PACKAGE="python-pygments"
Hans-G?nter@23539 4 VERSION="2.6.1"
claudinei@3385 5 CATEGORY="development"
Hans-G?nter@23539 6 SHORT_DESC="Generic syntax highlighter."
claudinei@3385 7 MAINTAINER="claudinei@slitaz.org"
pascal@15378 8 LICENSE="BSD"
Hans-G?nter@23539 9 WEB_SITE="https://pypi.org/project/Pygments/"
pascal@15378 10
Hans-G?nter@23539 11 SOURCE="Pygments"
Hans-G?nter@23539 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23539 13 WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL"
Hans-G?nter@23539 14
Hans-G?nter@23539 15 DEPENDS="python"
Hans-G?nter@23539 16 BUILD_DEPENDS="python python-setuptools"
claudinei@3385 17
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
claudinei@3385 23 # Rules to configure and make the package.
claudinei@3385 24 compile_rules()
claudinei@3385 25 {
al@16776 26 python setup.py install --no-compile --root=$install
claudinei@3385 27 }
claudinei@3385 28
claudinei@3385 29 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3385 30 genpkg_rules()
claudinei@3385 31 {
Hans-G?nter@23539 32 cp -a $install/* $fs
claudinei@3385 33 }