wok-6.x annotate python-kid/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 16df76e1fc6a |
children | 104a2a2e5484 |
rev | line source |
---|---|
pankso@3374 | 1 # SliTaz package receipt. |
pankso@3374 | 2 |
pankso@3374 | 3 PACKAGE="python-kid" |
pankso@3374 | 4 VERSION="0.9.6" |
pankso@3374 | 5 CATEGORY="development" |
pankso@3374 | 6 SHORT_DESC="Pythonic, XML-based Templating." |
pankso@3374 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
pankso@3374 | 9 SOURCE="kid" |
pankso@3374 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@16477 | 11 WEB_SITE="https://pypi.python.org/pypi/kid/" |
pankso@16477 | 12 WGET_URL="https://pypi.python.org/packages/source/k/kid/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pankso@16477 | 14 HOST_ARCH="i486 arm" |
pascal@15378 | 15 |
pankso@3374 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pankso@3374 | 18 |
pankso@3374 | 19 # Rules to configure and make the package. |
pankso@3374 | 20 compile_rules() |
pankso@3374 | 21 { |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
pankso@3374 | 23 } |
pankso@3374 | 24 |
pankso@3374 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3374 | 26 genpkg_rules() |
pankso@3374 | 27 { |
pascal@15378 | 28 cp -a $install/usr $fs |
pankso@3374 | 29 } |
al@18077 | 30 |