wok-6.x view python-bpython/receipt @ rev 23344
updated perl-http-date (6.01 -> 6.05)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:16:01 2020 +0100 (2020-03-31) |
parents | 6135577f4d08 |
children | 34af7e8f2ad6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-bpython"
4 SOURCE="bpython"
5 VERSION="0.9.7.1"
6 CATEGORY="development"
7 SHORT_DESC="A fancy interface to the Python interpreter."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="$WEB_SITE/releases/$TARBALL"
14 DEPENDS="python python-pygments python-setuptools"
15 BUILD_DEPENDS="$DEPENDS python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 for file in `find $install | grep 'pyc$'`; do
28 rm $file
29 done
30 rm -rf $install/usr/share/applications
31 mkdir -p $fs/usr $fs/usr/share/applications
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $stuff/* $fs/usr/share/applications
35 }