wok-current view python-prompt-toolkit/receipt @ rev 24629
updated gsl and gsl-dev (2.6 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 09:29:44 2022 +0100 (2022-03-08) |
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 }