wok-6.x annotate python-elaphe/receipt @ rev 15906

Add python-elaphe python-barcode
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 15 11:50:25 2014 +0000 (2014-02-15)
parents
children 16b7f166adfc
rev   line source
pascal@15906 1 # SliTaz package receipt.
pascal@15906 2
pascal@15906 3 PACKAGE="python-elaphe"
pascal@15906 4 VERSION="0.6.0"
pascal@15906 5 CATEGORY="development"
pascal@15906 6 SHORT_DESC="Generates various barcodes using barcode.ps and PIL/Pillow."
pascal@15906 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15906 8 LICENSE="BSD"
pascal@15906 9 SOURCE="elaphe"
pascal@15906 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@15906 11 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION"
pascal@15906 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15906 13
pascal@15906 14 DEPENDS="python"
pascal@15906 15 BUILD_DEPENDS="python"
pascal@15906 16
pascal@15906 17 # Rules to configure and make the package.
pascal@15906 18 compile_rules()
pascal@15906 19 {
pascal@15906 20 python setup.py install --root=$DESTDIR
pascal@15906 21 }
pascal@15906 22
pascal@15906 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15906 24 genpkg_rules()
pascal@15906 25 {
pascal@15906 26 cp -a $install/usr $fs
pascal@15906 27 }
pascal@15906 28