wok view pymux/receipt @ rev 25367
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 07:35:41 2022 +0000 (2022-07-29) |
parents | 076f424196b2 |
children |
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 LICENSE="BSD"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://pypi.org/project/pymux/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
14 DEPENDS="python python-docopt python-prompt-toolkit python-pyte"
15 BUILD_DEPENDS="python-dev python-docopt python-prompt-toolkit python-pyte
16 python-setuptools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }