wok-current view python-llfuse/receipt @ rev 24329
updated at (3.1.23 -> 3.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 14:44:44 2022 +0100 (2022-01-27) |
parents | 3969374b97db |
children | 076f424196b2 |
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 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 0.38
28 # sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
29 # src/llfuse.c Include/libc/xattr.pxd
30 # sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
31 # 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
32 # util/distribute_setup.py
34 python setup.py build &&
35 python setup.py install --root=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/usr $fs
42 }