wok-current rev 23467
updated python-bpython (0.9.7.1 -> 0.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 09:09:06 2020 +0100 (2020-04-05) |
parents | 172ca2047cd7 |
children | dea0e5ee6c22 |
files | python-bpython/receipt |
line diff
1.1 --- a/python-bpython/receipt Sun Apr 05 08:56:53 2020 +0100 1.2 +++ b/python-bpython/receipt Sun Apr 05 09:09:06 2020 +0100 1.3 @@ -1,15 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-bpython" 1.7 -SOURCE="bpython" 1.8 -VERSION="0.9.7.1" 1.9 +VERSION="0.19" 1.10 CATEGORY="development" 1.11 SHORT_DESC="A fancy interface to the Python interpreter." 1.12 MAINTAINER="claudinei@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="https://pypi.org/project/$SOURCE/" 1.15 + 1.16 +SOURCE="bpython" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="https://pypi.org/project/$SOURCE/" 1.19 -WGET_URL="$WEB_SITE/releases/$TARBALL" 1.20 +WGET_URL="https://files.pythonhosted.org/packages/source/b/$SOURCE/$TARBALL" 1.21 1.22 DEPENDS="python python-pygments python-setuptools" 1.23 BUILD_DEPENDS="$DEPENDS python-dev" 1.24 @@ -17,20 +18,22 @@ 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src 1.29 python setup.py install --root=$DESTDIR 1.30 } 1.31 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - for file in `find $install | grep 'pyc$'`; do 1.36 + mkdir -p $fs/usr 1.37 + mkdir -p $fs/usr/share/applications 1.38 + 1.39 + for file in `find $install | grep 'pyc$'` 1.40 + do 1.41 rm $file 1.42 - done 1.43 + done 1.44 rm -rf $install/usr/share/applications 1.45 - mkdir -p $fs/usr $fs/usr/share/applications 1.46 - cp -a $install/usr/bin $fs/usr 1.47 - cp -a $install/usr/lib $fs/usr 1.48 - cp -a $stuff/* $fs/usr/share/applications 1.49 + 1.50 + cp -a $install/usr/bin $fs/usr 1.51 + cp -a $install/usr/lib $fs/usr 1.52 + cp -a $stuff/* $fs/usr/share/applications 1.53 } 1.54 -