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