wok-current view python-prompt-toolkit/receipt @ rev 24667
updated inotify-tools (3.20.2.2 -> 3.22.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:18:25 2022 +0100 (2022-03-11) |
parents | 63190bc5a57d |
children | 59547e97954f |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-prompt-toolkit"
4 VERSION="2.0.10"
5 CATEGORY="development"
6 SHORT_DESC="Library for building powerful interactive command lines in Python."
7 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/jonathanslenders/python-prompt-toolkit"
10 SOURCE="prompt_toolkit"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python python-pygments python-six python-wcwidth"
15 BUILD_DEPENDS="python-dev python-pygments python-setuptools python-six python-wcwidth"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }