wok-current annotate python-prettytable/receipt @ rev 20042

Add snapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 29 20:35:56 2017 +0200 (2017-08-29)
parents 28580bc4a7da
children 814362194a8d
rev   line source
pankso@13568 1 # SliTaz package receipt.
pankso@13568 2
pankso@13568 3 PACKAGE="python-prettytable"
pankso@13568 4 VERSION="0.6.1"
pankso@13568 5 SOURCE="prettytable"
pankso@13568 6 CATEGORY="system-tools"
pankso@13568 7 SHORT_DESC="Python library for easily displaying tabular data in ASCII."
pankso@13568 8 MAINTAINER="pankso@slitaz.org"
pascal@15378 9 LICENSE="BSD"
pankso@13568 10 TARBALL="${SOURCE}-${VERSION}.tar.bz2"
pankso@13568 11 WEB_SITE="http://pypi.python.org/pypi/PrettyTable"
pankso@13568 12 WGET_URL="http://pypi.python.org/packages/source/P/PrettyTable/$TARBALL"
pankso@13568 13
pankso@13568 14 DEPENDS="python"
pascal@17729 15 BUILD_DEPENDS="python-dev python-distribute setuptools"
pankso@13568 16
pankso@13568 17 # Rules to configure and make the package.
pankso@13568 18 compile_rules()
pankso@13568 19 {
pankso@13568 20 python setup.py install --root="$DESTDIR"
pankso@13568 21 }
pankso@13568 22
pankso@13568 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13568 24 genpkg_rules()
pankso@13568 25 {
pankso@13568 26 mkdir -p $fs/usr
pankso@13568 27 cp -a $install/usr/lib $fs/usr
pankso@13568 28 }
al@18086 29