wok-6.x annotate python-pygments/receipt @ rev 24589
syslinux/iso2exe: fix possible data corruption
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:35:25 2022 +0000 (2022-02-28) |
parents | 1df6fa555414 |
children |
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@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
claudinei@3385 | 24 # Rules to configure and make the package. |
claudinei@3385 | 25 compile_rules() |
claudinei@3385 | 26 { |
al@16776 | 27 python setup.py install --no-compile --root=$install |
claudinei@3385 | 28 } |
claudinei@3385 | 29 |
claudinei@3385 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3385 | 31 genpkg_rules() |
claudinei@3385 | 32 { |
Hans-G?nter@23539 | 33 cp -a $install/* $fs |
claudinei@3385 | 34 } |