wok-current annotate python-mako/receipt @ rev 24992
Up sip (4.19.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 14 18:19:29 2022 +0000 (2022-05-14) |
parents | 384bdaeb16fd |
children | 531652ba9a12 |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-mako" |
Hans-G?nter@23505 | 4 VERSION="1.1.2" |
taziden@3777 | 5 CATEGORY="development" |
Hans-G?nter@23505 | 6 TAGS="python" |
Hans-G?nter@23505 | 7 SHORT_DESC="Fast template library." |
taziden@3777 | 8 MAINTAINER="taziden@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
Hans-G?nter@23505 | 10 WEB_SITE="https://www.makotemplates.org/" |
Hans-G?nter@23505 | 11 |
taziden@3777 | 12 SOURCE="Mako" |
taziden@3777 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23505 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/M/$SOURCE/$TARBALL" |
taziden@3777 | 15 |
pascal@15378 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15378 | 18 |
pascal@24500 | 19 # What is the latest version available today? |
pascal@24500 | 20 current_version() |
pascal@24500 | 21 { |
pascal@24500 | 22 wget -O - https://pypi.org/project/Mako/ 2>/dev/null | \ |
pascal@24500 | 23 sed '/Mako [0-9]/!d;s|.*Mako ||;q' |
pascal@24500 | 24 } |
pascal@24500 | 25 |
taziden@3777 | 26 # Rules to configure and make the package. |
taziden@3777 | 27 compile_rules() |
taziden@3777 | 28 { |
al@18077 | 29 python setup.py install --root=$DESTDIR |
taziden@3777 | 30 } |
taziden@3777 | 31 |
taziden@3777 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 33 genpkg_rules() |
taziden@3777 | 34 { |
Hans-G?nter@23505 | 35 cp -a $install/usr $fs |
taziden@3777 | 36 } |