wok-next view python-prompt-toolkit/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="prompt_toolkit"
4 PACKAGE="python-prompt-toolkit"
5 VERSION="2.0.4"
6 CATEGORY="python"
7 SHORT_DESC="Library for building powerful interactive command lines in Python"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://pypi.org/project/$ORIGIN/"
10 HOST_ARCH="any"
11 REPOLOGY="python:prompt-toolkit"
13 BUILD_DEPENDS="python python-six python-wcwidth \
14 python3 python3-six python3-wcwidth"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
19 }
21 genpkg_rules() {
22 copy @std
23 py="${PACKAGE%%-*}" # python/python3
24 DEPENDS="$py $py-six $py-wcwidth"
25 }