wok-6.x annotate python-click/receipt @ rev 21987

linld: jump/zImage needs N_LXLSH@4
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 08:46:53 2019 +0200 (2019-10-15)
parents 570dc794f847
children de3280120146
rev   line source
pascal@20451 1 # SliTaz package receipt.
pascal@20451 2
pascal@20451 3 PACKAGE="python-click"
pascal@20451 4 SOURCE="Click"
pascal@20451 5 VERSION="7.0"
pascal@20451 6 CATEGORY="development"
pascal@20451 7 SHORT_DESC="Composable command line interface toolkit"
pascal@20451 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20451 9 LICENSE="BSD"
pascal@20451 10 WEB_SITE="https://pypi.org/project/click/"
pascal@20451 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20451 12 WGET_URL="https://files.pythonhosted.org/packages/f8/5c/f60e9d8a1e77005f664b76ff8aeaee5bc05d0a91798afd7f53fc998dbc47/$TARBALL"
pascal@20451 13
pascal@20451 14 DEPENDS="python"
pascal@21581 15 BUILD_DEPENDS="python-setuptools"
pascal@20451 16
pascal@20451 17 # Rules to configure and make the package.
pascal@20451 18 compile_rules()
pascal@20451 19 {
pascal@20451 20 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20451 21 }
pascal@20451 22
pascal@20451 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20451 24 genpkg_rules()
pascal@20451 25 {
pascal@20451 26 cp -a $install/usr $fs/
pascal@20451 27 }