wok view python-click/receipt @ rev 24648
updated hplip (3.21.8 -> 3.22.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 14:02:17 2022 +0100 (2022-03-10) |
parents | 1df6fa555414 |
children | d32d64bc318e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-click"
4 VERSION="7.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Composable command line interface toolkit."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/click/"
11 SOURCE="click"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/c/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-setuptools"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | sed '/click [0-9]/!d;s|.*click ||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --prefix=/usr --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }