wok-current annotate ptpython/receipt @ rev 20486
perl: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:09:53 2018 +0200 (2018-10-26) |
parents | e574ee12df54 |
children | 5d50a02468c7 |
rev | line source |
---|---|
paul@18823 | 1 # SliTaz package receipt. |
paul@18823 | 2 |
paul@18823 | 3 PACKAGE="ptpython" |
paul@18823 | 4 SOURCE="ptpython" |
paul@18823 | 5 VERSION="0.28" |
paul@18823 | 6 CATEGORY="development" |
paul@18823 | 7 SHORT_DESC="Python REPL." |
paul@18823 | 8 MAINTAINER="paul@slitaz.org" |
paul@18823 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@18823 | 10 WEB_SITE="https://github.com/jonathanslenders/ptpython" |
paul@18823 | 11 WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
paul@18823 | 12 |
paul@18823 | 13 DEPENDS="python python-prompt-toolkit python-jedi python-docopt" |
paul@18823 | 14 BUILD_DEPENDS="wget setuptools python-dev python-prompt-toolkit python-jedi python-docopt" |
paul@18823 | 15 |
paul@18823 | 16 # Rules to configure and make the package. |
paul@18823 | 17 compile_rules() |
paul@18823 | 18 { |
paul@18823 | 19 python setup.py install --root=$DESTDIR |
paul@18823 | 20 } |
paul@18823 | 21 |
paul@18823 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18823 | 23 genpkg_rules() |
paul@18823 | 24 { |
paul@18823 | 25 cp -a $install/usr $fs |
paul@18823 | 26 } |
paul@18823 | 27 |