wok diff python-llfuse/receipt @ rev 23503

updated python-llfuse (0.38 -> 1.3.6)
author Hans-G?nter Theisgen
date Mon Apr 06 08:57:07 2020 +0100 (2020-04-06)
parents 17363eb80472
children 3969374b97db
line diff
     1.1 --- a/python-llfuse/receipt	Mon Nov 18 11:21:40 2019 +0100
     1.2 +++ b/python-llfuse/receipt	Mon Apr 06 08:57:07 2020 +0100
     1.3 @@ -1,27 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-llfuse"
     1.7 -SOURCE="llfuse"
     1.8 -VERSION="0.38"
     1.9 +VERSION="1.3.6"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Python bindings for the low level FUSE API."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2"
    1.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.16 -WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.17 +WEB_SITE="https://pypi.org/project/llfuse/"
    1.18  
    1.19 -DEPENDS="fuse"
    1.20 -BUILD_DEPENDS="python-dev fuse-dev attr-dev python-distribute openssl"
    1.21 +SOURCE="llfuse"
    1.22 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.23 +WGET_URL="https://files.pythonhosted.org/packages/source/l/$SOURCE/$TARBALL"
    1.24 +
    1.25 +DEPENDS="fuse python"
    1.26 +BUILD_DEPENDS="attr-dev fuse-dev openssl python python-dev python-distribute 
    1.27 +	python-setuptools"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
    1.33 -		src/llfuse.c Include/libc/xattr.pxd
    1.34 -	sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
    1.35 -	  's|.*urlopen(url|\t    ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
    1.36 -		util/distribute_setup.py
    1.37 +	# 0.38
    1.38 +#	sed -i 's|attr/xattr|sys/xattr|;s|(ENOATTR)|(ENODATA)|' \
    1.39 +#		src/llfuse.c Include/libc/xattr.pxd
    1.40 +#	sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
    1.41 +#	  's|.*urlopen(url|\t    ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
    1.42 +#		util/distribute_setup.py
    1.43 +
    1.44  	python setup.py build &&
    1.45  	python setup.py install --root=$DESTDIR
    1.46  }
    1.47 @@ -29,5 +33,5 @@
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	cp -a $install/usr $fs
    1.52 +	cp -a $install/usr	$fs
    1.53  }