wok view python-llfuse/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 076f424196b2
children 84314143aa0b
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="fuse2 python"
16 BUILD_DEPENDS="attr-dev fuse2-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 }