wok view python-bpython/receipt @ rev 20769
updated ccid (1.4.8 -> 1.4.30)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 13 16:46:55 2019 +0100 (2019-02-13) |
parents | fd4f1e692109 |
children | 5d50a02468c7 |
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 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 }