wok annotate pymux/receipt @ rev 25037

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