wok annotate python-prompt-toolkit/receipt @ rev 24728

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