wok-6.x annotate python-llfuse/receipt @ rev 22907
cups-pam: added build dependency libunistring-dev
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 24 07:15:20 2020 +0100 (2020-02-24) |
parents | c37e3426c78d |
children | ba584564da08 |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-llfuse" |
pascal@14376 | 4 SOURCE="llfuse" |
pascal@14376 | 5 VERSION="0.38" |
pascal@14376 | 6 CATEGORY="development" |
pascal@14376 | 7 SHORT_DESC="Python bindings for the low level FUSE API." |
pascal@14376 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="LGPL2" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@14376 | 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="fuse" |
pascal@20571 | 15 BUILD_DEPENDS="python-dev fuse-dev attr-dev python-distribute openssl" |
pascal@14376 | 16 |
pascal@14376 | 17 # Rules to configure and make the package. |
pascal@14376 | 18 compile_rules() |
pascal@14376 | 19 { |
pascal@22350 | 20 sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \ |
pascal@22350 | 21 src/llfuse.c Include/libc/xattr.pxd |
pascal@20620 | 22 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ |
pascal@20620 | 23 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ |
pascal@20620 | 24 util/distribute_setup.py |
pascal@14376 | 25 python setup.py build && |
pascal@14376 | 26 python setup.py install --root=$DESTDIR |
pascal@14376 | 27 } |
pascal@14376 | 28 |
pascal@14376 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 30 genpkg_rules() |
pascal@14376 | 31 { |
pascal@14376 | 32 cp -a $install/usr $fs |
pascal@14376 | 33 } |