wok-current annotate python-kid/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | 7d672a2330b8 |
children | 814362194a8d |
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" |
pankso@3374 | 17 BUILD_DEPENDS="python python-dev 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 |