wok-6.x view python-llfuse/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | 1df6fa555414 |
children | 72f2704d3ae0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-llfuse"
4 VERSION="1.3.6"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the low level FUSE API."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://pypi.org/project/llfuse/"
11 SOURCE="llfuse"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://files.pythonhosted.org/packages/source/l/$SOURCE/$TARBALL"
15 DEPENDS="fuse python"
16 BUILD_DEPENDS="attr-dev fuse-dev openssl python python-dev python-distribute
17 python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 0.38
29 # sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
30 # src/llfuse.c Include/libc/xattr.pxd
31 # sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
32 # 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
33 # util/distribute_setup.py
35 python setup.py build &&
36 python setup.py install --root=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/usr $fs
43 }