wok-next annotate py-asterisk/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20947 | 1 # SliTaz package receipt v2. |
pascal@14439 | 2 |
pascal@14439 | 3 PACKAGE="py-asterisk" |
pascal@14439 | 4 VERSION="0.5.1" |
pascal@14439 | 5 CATEGORY="development" |
al@20947 | 6 SHORT_DESC="Python bindings for the Asterisk Manager API" |
pascal@14439 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
al@20947 | 9 WEB_SITE="https://pypi.org/project/py-Asterisk/" |
al@21057 | 10 HOST_ARCH="any" |
al@20947 | 11 |
al@20947 | 12 SOURCE="py-Asterisk" |
pascal@14439 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@20969 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@14439 | 15 |
pascal@14439 | 16 BUILD_DEPENDS="python-dev python" |
pascal@14439 | 17 |
al@20947 | 18 compile_rules() { |
al@21020 | 19 python -B setup.py build && |
al@21020 | 20 python -B setup.py install --root=$install |
pascal@14439 | 21 } |
pascal@14439 | 22 |
al@20947 | 23 genpkg_rules() { |
al@20947 | 24 copy @std |
al@20947 | 25 DEPENDS="python" |
pascal@14439 | 26 } |