wok-current annotate python-prompt-toolkit/receipt @ rev 24027
os-prober: added dependency coreutils
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 24 16:32:15 2021 +0100 (2021-03-24) |
parents | 814362194a8d |
children | b569b85b0fb9 |
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 |
paul@18821 | 17 # Rules to configure and make the package. |
paul@18821 | 18 compile_rules() |
paul@18821 | 19 { |
paul@18821 | 20 python setup.py install --root=$DESTDIR |
paul@18821 | 21 } |
paul@18821 | 22 |
paul@18821 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18821 | 24 genpkg_rules() |
paul@18821 | 25 { |
Hans-G?nter@23532 | 26 cp -a $install/usr $fs |
paul@18821 | 27 } |