wok annotate pymux/receipt @ rev 24383

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 11:51:57 2022 +0000 (2022-02-06)
parents 095836df71b7
children 59547e97954f
rev   line source
paul@18822 1 # SliTaz package receipt.
paul@18822 2
paul@18822 3 PACKAGE="pymux"
Hans-G?nter@23462 4 VERSION="0.14"
paul@18822 5 CATEGORY="utilities"
paul@18822 6 SHORT_DESC="A terminal multiplexer (like tmux) in Python."
paul@18822 7 MAINTAINER="paul@slitaz.org"
pascal@24383 8 WEB_SITE="https://pypi.org/project/pymux/"
paul@18822 9
Hans-G?nter@23462 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23462 11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
Hans-G?nter@23462 12
Hans-G?nter@23462 13 DEPENDS="python python-docopt python-prompt-toolkit python-pyte"
Hans-G?nter@23462 14 BUILD_DEPENDS="python-dev python-docopt python-prompt-toolkit python-pyte
Hans-G?nter@23462 15 python-setuptools"
paul@18822 16
pascal@24326 17 # What is the latest version available today?
pascal@24326 18 current_version()
pascal@24326 19 {
pascal@24383 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q"
pascal@24326 21 }
pascal@24326 22
paul@18822 23 # Rules to configure and make the package.
paul@18822 24 compile_rules()
paul@18822 25 {
paul@18822 26 python setup.py install --root=$DESTDIR
paul@18822 27 }
paul@18822 28
paul@18822 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18822 30 genpkg_rules()
paul@18822 31 {
Hans-G?nter@23462 32 cp -a $install/usr $fs
paul@18822 33 }