wok annotate python-llfuse/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents 3969374b97db
children 076f424196b2
rev   line source
pascal@14376 1 # SliTaz package receipt.
pascal@14376 2
pascal@14376 3 PACKAGE="python-llfuse"
Hans-G?nter@23503 4 VERSION="1.3.6"
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/"
pascal@14376 10
Hans-G?nter@23503 11 SOURCE="llfuse"
Hans-G?nter@23504 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@23503 13 WGET_URL="https://files.pythonhosted.org/packages/source/l/$SOURCE/$TARBALL"
Hans-G?nter@23503 14
Hans-G?nter@23503 15 DEPENDS="fuse python"
Hans-G?nter@23503 16 BUILD_DEPENDS="attr-dev fuse-dev openssl python python-dev python-distribute
Hans-G?nter@23503 17 python-setuptools"
pascal@14376 18
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24288 21 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 22 }
pascal@24288 23
pascal@14376 24 # Rules to configure and make the package.
pascal@14376 25 compile_rules()
pascal@14376 26 {
Hans-G?nter@23503 27 # 0.38
Hans-G?nter@23503 28 # sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
Hans-G?nter@23503 29 # src/llfuse.c Include/libc/xattr.pxd
Hans-G?nter@23503 30 # sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
Hans-G?nter@23503 31 # 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
Hans-G?nter@23503 32 # util/distribute_setup.py
Hans-G?nter@23503 33
pascal@14376 34 python setup.py build &&
pascal@14376 35 python setup.py install --root=$DESTDIR
pascal@14376 36 }
pascal@14376 37
pascal@14376 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14376 39 genpkg_rules()
pascal@14376 40 {
Hans-G?nter@23503 41 cp -a $install/usr $fs
pascal@14376 42 }