wok rev 18821
Add python-prompt-toolkit
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jan 16 09:42:20 2016 +0000 (2016-01-16) |
parents | 6e468bea3c84 |
children | f83c9673175d |
files | python-prompt-toolkit/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-prompt-toolkit/receipt Sat Jan 16 09:42:20 2016 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-prompt-toolkit" 1.7 +SOURCE="prompt_toolkit" 1.8 +VERSION="0.57" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Library for building powerful interactive command lines in Python." 1.11 +MAINTAINER="paul@slitaz.org" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/jonathanslenders/python-prompt-toolkit" 1.14 +WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" 1.15 + 1.16 +DEPENDS="python python-six python-pygments python-wcwidth" 1.17 +BUILD_DEPENDS="wget setuptools python-dev python-six python-pygments python-wcwidth" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python setup.py install --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + cp -a $install/usr $fs 1.29 +} 1.30 +