wok-next diff python-llfuse/receipt @ rev 21707
updated grooms (1.0.5 -> 1.0.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 06 15:15:04 2020 +0100 (2020-07-06) |
parents | 9b3461bf373c |
children |
line diff
1.1 --- a/python-llfuse/receipt Fri Jul 13 13:52:56 2018 +0300 1.2 +++ b/python-llfuse/receipt Mon Jul 06 15:15:04 2020 +0100 1.3 @@ -1,26 +1,29 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="llfuse" 1.7 PACKAGE="python-llfuse" 1.8 -VERSION="1.3.2" 1.9 -CATEGORY="development" 1.10 +VERSION="1.3.5" 1.11 +CATEGORY="python" 1.12 SHORT_DESC="Python bindings for the low level FUSE API" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="LGPL2" 1.15 -WEB_SITE="https://github.com/python-llfuse/python-llfuse" 1.16 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.17 +#HOST_ARCH 1.18 REPOLOGY="python:llfuse" 1.19 1.20 -SOURCE="llfuse" 1.21 -TARBALL="llfuse-$VERSION.tar.bz2" 1.22 -WGET_URL="https://bitbucket.org/nikratio/python-llfuse/downloads/$TARBALL" 1.23 - 1.24 -BUILD_DEPENDS="python-dev fuse2-dev attr-dev" 1.25 +BUILD_DEPENDS="python-dev python-contextlib2 python3-dev \ 1.26 +fuse2-dev attr-dev" 1.27 +SPLIT="${PACKAGE/python/python3}:3" 1.28 1.29 compile_rules() { 1.30 - python setup.py build && 1.31 - python setup.py install --root=$DESTDIR 1.32 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.33 } 1.34 1.35 genpkg_rules() { 1.36 copy @std 1.37 - DEPENDS="fuse2 python" 1.38 + py=${PACKAGE%%-*} # python/python3 1.39 + case $PACKAGE in 1.40 + python-*) DEPENDS="$py $py-contextlib2 fuse2";; 1.41 + python3-*) DEPENDS="$py fuse2";; 1.42 + esac 1.43 }