wok annotate python-cffi/receipt @ rev 24085

tuxpaint: do not run kbuildsycoca4 without kde
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 14:52:46 2021 +0000 (2021-07-10)
parents
children 2f230197370e
rev   line source
pascal@21810 1 # SliTaz package receipt.
pascal@21810 2
pascal@21810 3 PACKAGE="python-cffi"
pascal@21810 4 VERSION="1.12.3"
pascal@21810 5 CATEGORY="development"
pascal@21810 6 SHORT_DESC="C Foreign Function Interface for Python"
pascal@21810 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21810 8 LICENSE="MIT"
pascal@21810 9 WEB_SITE="https://cffi.readthedocs.io/"
pascal@21810 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21810 11 WGET_URL="https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz#sha256=041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774"
pascal@21810 12
pascal@21810 13 DEPENDS="python"
pascal@21810 14 BUILD_DEPENDS="python-setuptools python-dev"
pascal@21810 15
pascal@21810 16 # Rules to configure and make the package.
pascal@21810 17 compile_rules()
pascal@21810 18 {
pascal@21810 19 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@21810 20 }
pascal@21810 21
pascal@21810 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21810 23 genpkg_rules()
pascal@21810 24 {
pascal@21810 25 cp -a $install/usr $fs/
pascal@21810 26 }