wok-next diff python-pywebdav/receipt @ rev 21257
encfs: use cmake
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 13:47:57 2019 +0100 (2019-12-06) |
parents | 7506b35e1c6f |
children |
line diff
1.1 --- a/python-pywebdav/receipt Mon Aug 13 00:47:17 2018 +0300 1.2 +++ b/python-pywebdav/receipt Fri Dec 06 13:47:57 2019 +0100 1.3 @@ -1,32 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="PyWebDAV" 1.8 PACKAGE="python-pywebdav" 1.9 VERSION="0.9.8" 1.10 -CATEGORY="development" 1.11 -SHORT_DESC="A WebDAV client library for Python." 1.12 +CATEGORY="python" 1.13 +SHORT_DESC="WebDAV library including a standalone server for Python" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="GPL2" 1.16 -WEB_SITE="https://pypi.org/project/PyWebDAV/" 1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.18 +HOST_ARCH="any" 1.19 REPOLOGY="python:pywebdav" 1.20 1.21 -SOURCE="PyWebDAV" 1.22 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.23 -WGET_URL="http://pywebdav.googlecode.com/files/$TARBALL" # FIXME 1.24 +BUILD_DEPENDS="python python3" 1.25 +SPLIT="${PACKAGE/python/python3}:3" 1.26 1.27 -DEPENDS="python" 1.28 -BUILD_DEPENDS="python-dev python" 1.29 +compile_rules() { 1.30 + fix utf-8; export LC_ALL=en_US.UTF-8 1.31 1.32 -# Rules to configure and make the package. 1.33 -compile_rules() 1.34 -{ 1.35 - python setup.py develop && 1.36 - python setup.py install --root=$DESTDIR 1.37 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs 1.44 - cp -a $install/usr $fs 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + py="${PACKAGE%%-*}" # python/python3 1.48 + DEPENDS="$py" 1.49 } 1.50 -