wok-current annotate 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
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."
paul@18821 7 MAINTAINER="paul@slitaz.org"
Hans-G?nter@23532 8 WEB_SITE="https://github.com/jonathanslenders/python-prompt-toolkit"
Hans-G?nter@23532 9
Hans-G?nter@23532 10 SOURCE="prompt_toolkit"
paul@18821 11 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23532 12 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
paul@18821 13
Hans-G?nter@23532 14 DEPENDS="python python-pygments python-six python-wcwidth"
Hans-G?nter@23532 15 BUILD_DEPENDS="python-dev python-pygments python-setuptools python-six python-wcwidth"
paul@18821 16
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@24308 20 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 22 }
pascal@24308 23
paul@18821 24 # Rules to configure and make the package.
paul@18821 25 compile_rules()
paul@18821 26 {
paul@18821 27 python setup.py install --root=$DESTDIR
paul@18821 28 }
paul@18821 29
paul@18821 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18821 31 genpkg_rules()
paul@18821 32 {
Hans-G?nter@23532 33 cp -a $install/usr $fs
paul@18821 34 }