# HG changeset patch # User Paul Issott # Date 1452799434 0 # Node ID aab65e688f53b87ebf7bdb9182131f977236e20a # Parent 21ef9e1c637d7dabe23f12637d25981f92afc25f Add python-wcwidth diff -r 21ef9e1c637d -r aab65e688f53 python-wcwidth/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-wcwidth/receipt Thu Jan 14 19:23:54 2016 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-wcwidth" +SOURCE="wcwidth" +VERSION="0.1.6" +CATEGORY="development" +SHORT_DESC="Measures number of Terminal column cells of wide-character codes." +MAINTAINER="paul@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://github.com/jquast/wcwidth" +WGET_URL="https://pypi.python.org/packages/source/w/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="wget setuptools python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +} +