wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="pymux"
4 VERSION="0.14"
5 CATEGORY="utilities"
6 SHORT_DESC="A terminal multiplexer (like tmux) in Python."
7 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://pypi.org/project/pymux/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
13 DEPENDS="python python-docopt python-prompt-toolkit python-pyte"
14 BUILD_DEPENDS="python-dev python-docopt python-prompt-toolkit python-pyte
15 python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }