wok view python-couchdbkit/receipt @ rev 25601
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 18:06:38 2023 +0000 (15 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-couchdbkit"
4 VERSION="0.6.5"
5 CATEGORY="development"
6 SHORT_DESC="A framework for python applications to access and manage CouchDB."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/couchdbkit/"
11 SOURCE="couchdbkit"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.tar.gz"
16 DEPENDS="couchdb python python-restkit python-simplejson"
17 BUILD_DEPENDS="python python-dev python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr $fs
37 }