wok annotate python-wcwidth/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | aab65e688f53 |
children | 22a684b847c2 |
rev | line source |
---|---|
paul@18811 | 1 # SliTaz package receipt. |
paul@18811 | 2 |
paul@18811 | 3 PACKAGE="python-wcwidth" |
paul@18811 | 4 SOURCE="wcwidth" |
paul@18811 | 5 VERSION="0.1.6" |
paul@18811 | 6 CATEGORY="development" |
paul@18811 | 7 SHORT_DESC="Measures number of Terminal column cells of wide-character codes." |
paul@18811 | 8 MAINTAINER="paul@slitaz.org" |
paul@18811 | 9 LICENSE="MIT" |
paul@18811 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@18811 | 11 WEB_SITE="https://github.com/jquast/wcwidth" |
paul@18811 | 12 WGET_URL="https://pypi.python.org/packages/source/w/$SOURCE/$TARBALL" |
paul@18811 | 13 |
paul@18811 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="wget python-setuptools python-dev" |
paul@18811 | 16 |
paul@18811 | 17 # Rules to configure and make the package. |
paul@18811 | 18 compile_rules() |
paul@18811 | 19 { |
paul@18811 | 20 python setup.py install --root=$DESTDIR |
paul@18811 | 21 } |
paul@18811 | 22 |
paul@18811 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18811 | 24 genpkg_rules() |
paul@18811 | 25 { |
paul@18811 | 26 cp -a $install/usr $fs |
paul@18811 | 27 } |
paul@18811 | 28 |