wok annotate python-llfuse/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
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 }