wok-6.x rev 25168
updated python-click (7.1.1 -> 7.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 15:13:29 2022 +0100 (2022-07-01) |
parents | 97eb61f05460 |
children | c1d6498c42dd |
files | python-click/description.txt python-click/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-click/description.txt Fri Jul 01 15:13:29 2022 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +Click is a Python package for creating beautiful command line interfaces 1.5 +in a composable way with as little code as necessary. 1.6 +It's the "Command Line Interface Creation Kit". 1.7 +It's highly configurable but comes with sensible defaults out of the box. 1.8 + 1.9 +It aims to make the process of writing command line tools quick and fun 1.10 +while also preventing any frustration caused by the inability to implement 1.11 +an intended CLI API. 1.12 + 1.13 +Click in three points: 1.14 + 1.15 +- Arbitrary nesting of commands 1.16 +- Automatic help page generation 1.17 +- Supports lazy loading of subcommands at runtime
2.1 --- a/python-click/receipt Fri Jul 01 14:57:06 2022 +0100 2.2 +++ b/python-click/receipt Fri Jul 01 15:13:29 2022 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-click" 2.7 -VERSION="7.1.1" 2.8 +VERSION="7.1.2" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Composable command line interface toolkit." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -10,7 +10,7 @@ 2.13 2.14 SOURCE="click" 2.15 TARBALL="$SOURCE-$VERSION.tar.gz" 2.16 -WGET_URL="https://files.pythonhosted.org/packages/source/c/$SOURCE/$TARBALL" 2.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.18 2.19 DEPENDS="python" 2.20 BUILD_DEPENDS="python python-setuptools" 2.21 @@ -23,11 +23,14 @@ 2.22 # Rules to configure and make the package. 2.23 compile_rules() 2.24 { 2.25 - python setup.py install --prefix=/usr --root=$DESTDIR 2.26 + python setup.py \ 2.27 + install \ 2.28 + --prefix=/usr \ 2.29 + --root=$DESTDIR 2.30 } 2.31 2.32 # Rules to gen a SliTaz package suitable for Tazpkg. 2.33 genpkg_rules() 2.34 { 2.35 - cp -a $install/usr $fs 2.36 + cook_copy_folders lib 2.37 }