wok-6.x view python-llfuse/receipt @ rev 25528

try building libluv again
author Hans-G?nter Theisgen
date Sat Feb 25 10:11:09 2023 +0100 (21 months ago)
parents 72f2704d3ae0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-llfuse"
4 VERSION="1.3.8"
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/"
10 REPOLOGY="python:llfuse"
12 SOURCE="llfuse"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="fuse2"
17 BUILD_DEPENDS="attr-dev fuse2-dev openssl python-dev python-distribute
18 python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # 0.38
30 # sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
31 # src/llfuse.c Include/libc/xattr.pxd
32 # sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
33 # 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
34 # util/distribute_setup.py
36 python setup.py build &&
37 python setup.py install --root=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/usr $fs
44 }