wok-next annotate python-whoosh/receipt @ rev 17198

Add python-whoosh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 16:21:38 2014 +0200 (2014-10-08)
parents
children 7390f8de9846
rev   line source
pascal@17198 1 # SliTaz package receipt.
pascal@17198 2
pascal@17198 3 PACKAGE="python-whoosh"
pascal@17198 4 SOURCE="Whoosh"
pascal@17198 5 VERSION="2.5.7"
pascal@17198 6 CATEGORY="development"
pascal@17198 7 SHORT_DESC="Fast full text indexing, search, and spell checking library."
pascal@17198 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17198 9 LICENSE="BSD"
pascal@17198 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@17198 11 WEB_SITE="http://pypi.python.org/pypi/Whoosh/"
pascal@17198 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@17198 13
pascal@17198 14 DEPENDS="python"
pascal@17198 15 BUILD_DEPENDS="python wget setuptools"
pascal@17198 16
pascal@17198 17 # Rules to configure and make the package.
pascal@17198 18 compile_rules()
pascal@17198 19 {
pascal@17198 20 python setup.py build
pascal@17198 21 python setup.py install --root=$DESTDIR
pascal@17198 22 }
pascal@17198 23
pascal@17198 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17198 25 genpkg_rules()
pascal@17198 26 {
pascal@17198 27 cp -a $install/* $fs
pascal@17198 28 }