wok annotate python-couchdbkit/receipt @ rev 24592

.bin files don't have .note.gnu.property section
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 10:06:20 2022 +0000 (2022-03-01)
parents 962b9306e02e
children 0262035dc1e7
rev   line source
claudinei@3813 1 # SliTaz package receipt.
claudinei@3813 2
claudinei@3813 3 PACKAGE="python-couchdbkit"
Hans-G?nter@23473 4 VERSION="0.6.5"
claudinei@3813 5 CATEGORY="development"
Hans-G?nter@23473 6 SHORT_DESC="A framework for python applications to access and manage CouchDB."
claudinei@3813 7 MAINTAINER="claudinei@slitaz.org"
pascal@15379 8 LICENSE="MIT"
pascal@21790 9 WEB_SITE="https://pypi.org/project/couchdbkit/"
pascal@21790 10
Hans-G?nter@23473 11 SOURCE="couchdbkit"
Hans-G?nter@23473 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@14355 13
Hans-G?nter@23473 14 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.tar.gz"
Hans-G?nter@23473 15
Hans-G?nter@23473 16 DEPENDS="couchdb python python-restkit python-simplejson"
Hans-G?nter@23473 17 BUILD_DEPENDS="python python-dev python-setuptools"
claudinei@3813 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
claudinei@3813 25 # Rules to configure and make the package.
claudinei@3813 26 compile_rules()
claudinei@3813 27 {
pascal@14355 28 python setup.py install --root=$DESTDIR
claudinei@3813 29 }
claudinei@3813 30
claudinei@3813 31 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3813 32 genpkg_rules()
claudinei@3813 33 {
claudinei@3813 34 mkdir -p $fs/usr
Hans-G?nter@23473 35 cp -a $install/usr $fs
claudinei@3813 36 }