wok-current view python-cffi/receipt @ rev 24948
updated nagios-nrpe again (4.0.2 -> 4.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:47:12 2022 +0100 (2022-04-22) |
parents | 9b196667495f |
children | d85bd79b1552 |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/html#v/!d;s|.*>v||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --prefix=/usr --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs/
33 }