wok annotate python-ptyprocess/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (15 months ago) |
parents | 2aac66403459 |
children |
rev | line source |
---|---|
pascal@20448 | 1 # SliTaz package receipt. |
pascal@20448 | 2 |
pascal@20448 | 3 PACKAGE="python-ptyprocess" |
Hans-G?nter@25221 | 4 VERSION="0.7.0" |
pascal@20448 | 5 CATEGORY="development" |
Hans-G?nter@25221 | 6 SHORT_DESC="Run a subprocess in a pseudo terminal." |
pascal@20448 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20448 | 8 LICENSE="ISCL" |
pascal@25436 | 9 SOURCE="ptyprocess" |
Hans-G?nter@25221 | 10 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@25221 | 11 REPOLOGY="python:ptyprocess" |
Hans-G?nter@25221 | 12 |
pascal@20448 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25221 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@20448 | 15 |
pascal@20448 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-setuptools" |
pascal@20448 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
pascal@20448 | 25 # Rules to configure and make the package. |
pascal@20448 | 26 compile_rules() |
pascal@20448 | 27 { |
pascal@20448 | 28 python setup.py install --root=$DESTDIR |
pascal@20448 | 29 } |
pascal@20448 | 30 |
pascal@20448 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20448 | 32 genpkg_rules() |
pascal@20448 | 33 { |
Hans-G?nter@25221 | 34 cp -a $install/usr $fs |
pascal@20448 | 35 } |