wok annotate python-pyst2/receipt @ rev 25746
libxfce4ui: replaced dependency libxfconf by xfconf
author | Hans-Günter Theisgen |
---|---|
date | Sat Aug 31 09:19:18 2024 +0100 (11 months ago) |
parents | 6039063278b9 |
children |
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@25601 | 19 # What is the latest version available today? |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@25601 | 22 wget -O - https://github.com/jfernandz/pyst2/tags 2>/dev/null | \ |
pascal@25601 | 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
pascal@20292 | 26 # Rules to configure and make the package. |
pascal@20292 | 27 compile_rules() |
pascal@20292 | 28 { |
pascal@20292 | 29 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20292 | 30 } |
pascal@20292 | 31 |
pascal@20292 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20292 | 33 genpkg_rules() |
pascal@20292 | 34 { |
Hans-Günter@25229 | 35 cp -a $install/usr $fs |
pascal@20292 | 36 } |