wok-6.x annotate ptpython/receipt @ rev 18823
Add ptpython
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jan 16 10:00:54 2016 +0000 (2016-01-16) |
parents | |
children | df7942dc271b |
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 #LICENSE="MIT" |
paul@18823 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@18823 | 11 WEB_SITE="https://github.com/jonathanslenders/ptpython" |
paul@18823 | 12 WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
paul@18823 | 13 |
paul@18823 | 14 DEPENDS="python python-prompt-toolkit python-jedi python-docopt" |
paul@18823 | 15 BUILD_DEPENDS="wget setuptools python-dev python-prompt-toolkit python-jedi python-docopt" |
paul@18823 | 16 |
paul@18823 | 17 # Rules to configure and make the package. |
paul@18823 | 18 compile_rules() |
paul@18823 | 19 { |
paul@18823 | 20 python setup.py install --root=$DESTDIR |
paul@18823 | 21 } |
paul@18823 | 22 |
paul@18823 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18823 | 24 genpkg_rules() |
paul@18823 | 25 { |
paul@18823 | 26 cp -a $install/usr $fs |
paul@18823 | 27 } |
paul@18823 | 28 |