wok annotate python-pyst2/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | ac8ca9758df1 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@20292 | 1 # SliTaz package receipt. |
pascal@20292 | 2 |
pascal@20292 | 3 PACKAGE="python-pyst2" |
Hans-G?nter@25229 | 4 VERSION="0.5.1" |
pascal@20292 | 5 CATEGORY="development" |
Hans-G?nter@25229 | 6 SHORT_DESC="A Python Interface to Asterisk." |
pascal@20292 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20292 | 8 LICENSE="LGPL" |
pascal@20292 | 9 WEB_SITE="https://pypi.org/project/pyst2/" |
Hans-G?nter@25229 | 10 REPOLOGY="python:pyst2" |
Hans-G?nter@25229 | 11 |
Hans-G?nter@25229 | 12 SOURCE="pyst2" |
Hans-G?nter@25229 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25229 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@20292 | 15 |
pascal@20292 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python-setuptools" |
pascal@20292 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pascal@20292 | 25 # Rules to configure and make the package. |
pascal@20292 | 26 compile_rules() |
pascal@20292 | 27 { |
pascal@20292 | 28 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20292 | 29 } |
pascal@20292 | 30 |
pascal@20292 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20292 | 32 genpkg_rules() |
pascal@20292 | 33 { |
Hans-G?nter@25229 | 34 cp -a $install/usr $fs |
pascal@20292 | 35 } |