wok-next diff python-bpython/receipt @ rev 20126
get-vivaldi -> vivaldi. Update ldd runtime dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 31 12:04:50 2017 +0200 (2017-10-31) |
parents | fd4f1e692109 |
children | 542df2bfb7b5 |
line diff
1.1 --- a/python-bpython/receipt Sat Oct 19 13:53:26 2013 +0000 1.2 +++ b/python-bpython/receipt Tue Oct 31 12:04:50 2017 +0200 1.3 @@ -1,36 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="python-bpython" 1.8 SOURCE="bpython" 1.9 -VERSION="0.9.7.1" 1.10 +VERSION="0.16" 1.11 CATEGORY="development" 1.12 -SHORT_DESC="A fancy interface to the Python interpreter." 1.13 +SHORT_DESC="A fancy interface to the Python interpreter" 1.14 MAINTAINER="claudinei@slitaz.org" 1.15 LICENSE="MIT" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.bpython-interpreter.org" 1.18 -WGET_URL="$WEB_SITE/releases/$TARBALL" 1.19 +WEB_SITE="https://pypi.python.org/pypi/bpython" 1.20 1.21 -DEPENDS="python python-pygments setuptools" 1.22 -BUILD_DEPENDS="$DEPENDS python-dev" 1.23 +BUILD_DEPENDS="python-dev python-pygments python-greenlet python-requests \ 1.24 +python-curtsies python-six python-urllib3 python-idna python-certifi \ 1.25 +python-chardet python-wcwidth python-blessings" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 - python setup.py install --root=$DESTDIR 1.32 + pip install --no-compile --root=$DESTDIR bpython 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - for file in `find $install | grep 'pyc$'`; do 1.39 - rm $file 1.40 - done 1.41 - rm -rf $install/usr/share/applications 1.42 - mkdir -p $fs/usr $fs/usr/share/applications 1.43 - cp -a $install/usr/bin $fs/usr 1.44 - cp -a $install/usr/lib $fs/usr 1.45 - cp -a $stuff/* $fs/usr/share/applications 1.46 + copy @std 1.47 + DEPENDS="${BUILD_DEPENDS/python-dev/}" 1.48 } 1.49 -