wok-6.x view python-click/receipt @ rev 25429
updated xbindkeys (1.8.6 -> 1.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 17:19:07 2022 +0100 (2022-08-18) |
parents | 3abeffdae80b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-click"
4 VERSION="7.1.2"
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/${SOURCE:0:1}/$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 \
27 install \
28 --prefix=/usr \
29 --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders lib
36 }