wok annotate python-bpython/receipt @ rev 20721
updated arp-scan (1.9 -> 1.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 08 15:48:54 2019 +0100 (2019-02-08) |
parents | fd4f1e692109 |
children | 5d50a02468c7 |
rev | line source |
---|---|
claudinei@3421 | 1 # SliTaz package receipt. |
claudinei@3421 | 2 |
claudinei@3421 | 3 PACKAGE="python-bpython" |
claudinei@3421 | 4 SOURCE="bpython" |
claudinei@14876 | 5 VERSION="0.9.7.1" |
claudinei@3421 | 6 CATEGORY="development" |
claudinei@3421 | 7 SHORT_DESC="A fancy interface to the Python interpreter." |
claudinei@3421 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
claudinei@3421 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20679 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
claudinei@3421 | 12 WGET_URL="$WEB_SITE/releases/$TARBALL" |
pascal@15378 | 13 |
claudinei@3421 | 14 DEPENDS="python python-pygments setuptools" |
claudinei@3421 | 15 BUILD_DEPENDS="$DEPENDS python-dev" |
claudinei@3421 | 16 |
claudinei@3421 | 17 # Rules to configure and make the package. |
claudinei@3421 | 18 compile_rules() |
claudinei@3421 | 19 { |
claudinei@3421 | 20 cd $src |
claudinei@14876 | 21 python setup.py install --root=$DESTDIR |
claudinei@3421 | 22 } |
claudinei@3421 | 23 |
claudinei@3421 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3421 | 25 genpkg_rules() |
claudinei@3421 | 26 { |
claudinei@14876 | 27 for file in `find $install | grep 'pyc$'`; do |
claudinei@3788 | 28 rm $file |
claudinei@3788 | 29 done |
claudinei@14876 | 30 rm -rf $install/usr/share/applications |
claudinei@3421 | 31 mkdir -p $fs/usr $fs/usr/share/applications |
claudinei@14876 | 32 cp -a $install/usr/bin $fs/usr |
claudinei@14876 | 33 cp -a $install/usr/lib $fs/usr |
slaxemulator@9701 | 34 cp -a $stuff/* $fs/usr/share/applications |
claudinei@3421 | 35 } |
claudinei@3421 | 36 |