wok-current annotate python-peak-rules/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 | bc88c68ed8d0 |
children | 104a2a2e5484 |
rev | line source |
---|---|
al@18956 | 1 # SliTaz package receipt. |
al@18956 | 2 |
al@18956 | 3 PACKAGE="python-peak-rules" |
al@18956 | 4 VERSION="0.5a1.dev-r2713" |
al@18956 | 5 CATEGORY="misc" |
al@18956 | 6 SHORT_DESC="Generic functions and business rules support systems" |
al@18956 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18956 | 8 LICENSE="ZPL2.1" |
al@18956 | 9 WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules" |
al@18956 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18956 | 11 WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz" |
al@18956 | 12 |
al@18956 | 13 DEPENDS="python" |
pascal@21582 | 14 BUILD_DEPENDS="python-setuptools" |
al@18956 | 15 |
al@18956 | 16 # Rules to configure and make the package. |
al@18956 | 17 compile_rules() |
al@18956 | 18 { |
al@18956 | 19 python setup.py build && |
al@18956 | 20 python setup.py install --root=$install |
al@18956 | 21 } |
al@18956 | 22 |
al@18956 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18956 | 24 genpkg_rules() |
al@18956 | 25 { |
al@18956 | 26 cp -a $install/* $fs |
al@18956 | 27 } |