wok view python-cffi/receipt @ rev 24445

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