wok-6.x view python-llfuse/receipt @ rev 23248
updated nnn (2.9 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 11:33:56 2020 +0100 (2020-03-25) |
parents | c37e3426c78d |
children | ba584564da08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-llfuse"
4 SOURCE="llfuse"
5 VERSION="0.38"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for the low level FUSE API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 DEPENDS="fuse"
15 BUILD_DEPENDS="python-dev fuse-dev attr-dev python-distribute openssl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
21 src/llfuse.c Include/libc/xattr.pxd
22 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
23 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
24 util/distribute_setup.py
25 python setup.py build &&
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }