wok-next diff python-couchdbkit/receipt @ rev 21233
updated clamtk again (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:47:44 2019 +0100 (2019-12-03) |
parents | 8e1b2a143eb3 |
children |
line diff
1.1 --- a/python-couchdbkit/receipt Sat Sep 01 16:21:51 2018 +0300 1.2 +++ b/python-couchdbkit/receipt Tue Dec 03 17:47:44 2019 +0100 1.3 @@ -1,30 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="couchdbkit" 1.8 PACKAGE="python-couchdbkit" 1.9 -VERSION="0.6.2" 1.10 -CATEGORY="development" 1.11 +VERSION="0.6.5" 1.12 +CATEGORY="python" 1.13 SHORT_DESC="A framework for python applications to access and manage CouchDB" 1.14 MAINTAINER="claudinei@slitaz.org" 1.15 LICENSE="MIT" 1.16 -WEB_SITE="https://pypi.org/project/couchdbkit/" 1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.18 +HOST_ARCH="any" 1.19 REPOLOGY="python:couchdbkit" 1.20 1.21 -SOURCE="couchdbkit" 1.22 -TARBALL="$SOURCE-$VERSION.zip" 1.23 -WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" 1.24 +BUILD_DEPENDS="python-dev python-restkit" 1.25 1.26 -DEPENDS="python couchdb python-simplejson python-restkit" 1.27 -BUILD_DEPENDS="python python-dev" 1.28 - 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - python setup.py install --root=$DESTDIR 1.33 +compile_rules() { 1.34 + # Python3 based compilation produce error 1.35 + pip install --no-compile --root=$install $ORIGIN==$VERSION 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - mkdir -p $fs/usr 1.42 - cp -a $install/usr $fs 1.43 +genpkg_rules() { 1.44 + copy @std 1.45 + DEPENDS="python python-restkit" 1.46 }