wok annotate python-ptyprocess/receipt @ rev 25075
created recipe for alsa-ucm-conf
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 14 07:07:03 2022 +0100 (2022-06-14) |
parents | 1df6fa555414 |
children | 2aac66403459 |
rev | line source |
---|---|
pascal@20448 | 1 # SliTaz package receipt. |
pascal@20448 | 2 |
pascal@20448 | 3 PACKAGE="python-ptyprocess" |
pascal@20448 | 4 SOURCE="ptyprocess" |
pascal@20448 | 5 VERSION="0.6.0" |
pascal@20448 | 6 CATEGORY="development" |
pascal@20448 | 7 SHORT_DESC="Run a subprocess in a pseudo terminal" |
pascal@20448 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20448 | 9 LICENSE="ISCL" |
pascal@20448 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20448 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@20448 | 12 WGET_URL="https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0/$TARBALL" |
pascal@20448 | 13 |
pascal@20448 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@20448 | 16 |
pascal@24383 | 17 # What is the latest version available today? |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24383 | 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 21 } |
pascal@24288 | 22 |
pascal@20448 | 23 # Rules to configure and make the package. |
pascal@20448 | 24 compile_rules() |
pascal@20448 | 25 { |
pascal@20448 | 26 python setup.py install --root=$DESTDIR |
pascal@20448 | 27 } |
pascal@20448 | 28 |
pascal@20448 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20448 | 30 genpkg_rules() |
pascal@20448 | 31 { |
pascal@20448 | 32 cp -a $install/usr $fs |
pascal@20448 | 33 } |