wok annotate 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
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
pascal@24766 15 DEPENDS="fuse2 python"
pascal@24766 16 BUILD_DEPENDS="attr-dev fuse2-dev openssl python python-dev python-distribute
Hans-G?nter@23503 17 python-setuptools"
pascal@14376 18
pascal@24383 19 # What is the latest version available today?
pascal@24288 20 current_version()
pascal@24288 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 23 }
pascal@24288 24
pascal@14376 25 # Rules to configure and make the package.
pascal@14376 26 compile_rules()
pascal@14376 27 {
Hans-G?nter@23503 28 # 0.38
Hans-G?nter@23503 29 # sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
Hans-G?nter@23503 30 # src/llfuse.c Include/libc/xattr.pxd
Hans-G?nter@23503 31 # sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
Hans-G?nter@23503 32 # 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
Hans-G?nter@23503 33 # util/distribute_setup.py
Hans-G?nter@23503 34
pascal@14376 35 python setup.py build &&
pascal@14376 36 python setup.py install --root=$DESTDIR
pascal@14376 37 }
pascal@14376 38
pascal@14376 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14376 40 genpkg_rules()
pascal@14376 41 {
Hans-G?nter@23503 42 cp -a $install/usr $fs
pascal@14376 43 }