wok-next annotate python-foolscap/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 3f6663bf04d5 |
children | 6c73b944e8dd |
rev | line source |
---|---|
pascal@18222 | 1 # SliTaz package receipt. |
pascal@18222 | 2 |
pascal@18222 | 3 PACKAGE="python-foolscap" |
pascal@18222 | 4 VERSION="0.8.0" |
pascal@18222 | 5 CATEGORY="development" |
pascal@18222 | 6 SHORT_DESC="Foolscap contains an RPC protocol for Twisted.." |
pascal@18222 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="MIT" |
pascal@18222 | 9 WEB_SITE="https://pypi.python.org/pypi/foolscap" |
pascal@18222 | 10 SOURCE="foolscap" |
pascal@18222 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@18222 | 12 WGET_URL="https://pypi.python.org/packages/source/f/foolscap/$TARBALL" |
pascal@18222 | 13 |
pascal@18222 | 14 DEPENDS="python" |
pascal@18224 | 15 BUILD_DEPENDS="wget python-dev setuptools" |
pascal@18222 | 16 |
pascal@18222 | 17 # Rules to configure and make the package. |
pascal@18222 | 18 compile_rules() |
pascal@18222 | 19 { |
pascal@18222 | 20 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@18222 | 21 } |
pascal@18222 | 22 |
pascal@18222 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18222 | 24 genpkg_rules() |
pascal@18222 | 25 { |
pascal@18222 | 26 cp -a $install/usr $fs/ |
pascal@18222 | 27 } |