wok-current view python-prompt-toolkit/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | b569b85b0fb9 |
children |
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 LICENSE="BSD"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://github.com/jonathanslenders/python-prompt-toolkit"
11 SOURCE="prompt_toolkit"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
15 DEPENDS="python python-pygments python-six python-wcwidth"
16 BUILD_DEPENDS="python-dev python-pygments python-setuptools python-six python-wcwidth"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }