wok annotate python-llfuse/receipt @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
parents ba584564da08
children 1df6fa555414
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@14376 19 # Rules to configure and make the package.
pascal@14376 20 compile_rules()
pascal@14376 21 {
Hans-G?nter@23503 22 # 0.38
Hans-G?nter@23503 23 # sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
Hans-G?nter@23503 24 # src/llfuse.c Include/libc/xattr.pxd
Hans-G?nter@23503 25 # sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
Hans-G?nter@23503 26 # 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
Hans-G?nter@23503 27 # util/distribute_setup.py
Hans-G?nter@23503 28
pascal@14376 29 python setup.py build &&
pascal@14376 30 python setup.py install --root=$DESTDIR
pascal@14376 31 }
pascal@14376 32
pascal@14376 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14376 34 genpkg_rules()
pascal@14376 35 {
Hans-G?nter@23503 36 cp -a $install/usr $fs
pascal@14376 37 }