wok view python-wcwidth/receipt @ rev 20155

ppp: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 21 09:59:35 2017 +0100 (2017-12-21)
parents
children 814362194a8d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-wcwidth"
4 SOURCE="wcwidth"
5 VERSION="0.1.6"
6 CATEGORY="development"
7 SHORT_DESC="Measures number of Terminal column cells of wide-character codes."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/jquast/wcwidth"
12 WGET_URL="https://pypi.python.org/packages/source/w/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget setuptools python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }