wok annotate python-couchdbkit/receipt @ rev 22110
python-constantly: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 02 13:26:58 2019 +0100 (2019-11-02) |
parents | 5d50a02468c7 |
children | 962b9306e02e |
rev | line source |
---|---|
claudinei@3813 | 1 # SliTaz package receipt. |
claudinei@3813 | 2 |
claudinei@3813 | 3 PACKAGE="python-couchdbkit" |
claudinei@3813 | 4 SOURCE="couchdbkit" |
claudinei@14880 | 5 VERSION="0.6.2" |
claudinei@3813 | 6 CATEGORY="development" |
claudinei@3813 | 7 SHORT_DESC="A framework for python applications to access and manage CouchDB" |
claudinei@3813 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 9 LICENSE="MIT" |
pascal@14882 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@21790 | 11 WEB_SITE="https://pypi.org/project/couchdbkit/" |
pascal@21790 | 12 |
pascal@14882 | 13 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" |
pascal@14355 | 14 |
claudinei@14880 | 15 DEPENDS="python couchdb python-simplejson python-restkit" |
pascal@21581 | 16 BUILD_DEPENDS="python python-dev python-setuptools wget" |
claudinei@3813 | 17 |
claudinei@3813 | 18 # Rules to configure and make the package. |
claudinei@3813 | 19 compile_rules() |
claudinei@3813 | 20 { |
pascal@14355 | 21 python setup.py install --root=$DESTDIR |
claudinei@3813 | 22 } |
claudinei@3813 | 23 |
claudinei@3813 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3813 | 25 genpkg_rules() |
claudinei@3813 | 26 { |
claudinei@3813 | 27 mkdir -p $fs/usr |
pascal@14355 | 28 cp -a $install/usr $fs |
claudinei@3813 | 29 } |