wok view python-bpython/receipt @ rev 23675
updated strigi, strigi-client and strigi-dev (0.7.5 -> 0.7.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 10:35:40 2020 +0100 (2020-04-26) |
parents | 5d50a02468c7 |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-bpython"
4 VERSION="0.19"
5 CATEGORY="development"
6 SHORT_DESC="A fancy interface to the Python interpreter."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/$SOURCE/"
11 SOURCE="bpython"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/b/$SOURCE/$TARBALL"
15 DEPENDS="python python-pygments python-setuptools"
16 BUILD_DEPENDS="$DEPENDS python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 mkdir -p $fs/usr/share/applications
30 for file in `find $install | grep 'pyc$'`
31 do
32 rm $file
33 done
34 rm -rf $install/usr/share/applications
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $stuff/* $fs/usr/share/applications
39 }