wok-6.x view python-mako/receipt @ rev 25274
updated recordmydesktop (0.3.8.1 -> 0.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 13:57:40 2022 +0100 (2022-07-18) |
parents | d7522d21c4d3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mako"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Fast template library."
8 MAINTAINER="taziden@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/Mako/"
11 REPOLOGY="python:mako"
13 SOURCE="Mako"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://pypi.org/project/Mako/ 2>/dev/null | \
24 sed '/Mako [0-9]/!d;s|.*Mako ||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }