wok-6.x annotate python-prettytable/receipt @ rev 24016
Up tazinst (113)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 12:03:41 2021 +0000 (2021-02-25) |
parents | 814362194a8d |
children | 104a2a2e5484 |
rev | line source |
---|---|
pankso@13568 | 1 # SliTaz package receipt. |
pankso@13568 | 2 |
pankso@13568 | 3 PACKAGE="python-prettytable" |
Hans-G?nter@23531 | 4 VERSION="0.7.2" |
pankso@13568 | 5 CATEGORY="system-tools" |
pankso@13568 | 6 SHORT_DESC="Python library for easily displaying tabular data in ASCII." |
pankso@13568 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23531 | 9 WEB_SITE="https://pypi.python.org/pypi/PrettyTable" |
Hans-G?nter@23531 | 10 |
Hans-G?nter@23531 | 11 SOURCE="prettytable" |
pankso@13568 | 12 TARBALL="${SOURCE}-${VERSION}.tar.bz2" |
Hans-G?nter@23531 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pankso@13568 | 14 |
pankso@13568 | 15 DEPENDS="python" |
pascal@21582 | 16 BUILD_DEPENDS="python-dev python-distribute python-setuptools" |
pankso@13568 | 17 |
pankso@13568 | 18 # Rules to configure and make the package. |
pankso@13568 | 19 compile_rules() |
pankso@13568 | 20 { |
pankso@13568 | 21 python setup.py install --root="$DESTDIR" |
pankso@13568 | 22 } |
pankso@13568 | 23 |
pankso@13568 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13568 | 25 genpkg_rules() |
pankso@13568 | 26 { |
pankso@13568 | 27 mkdir -p $fs/usr |
Hans-G?nter@23531 | 28 cp -a $install/usr/lib $fs/usr |
pankso@13568 | 29 } |