wok annotate pymux/receipt @ rev 24330

updated atftp and atftpd (0.7.2 -> 0.7.5)
author Hans-G?nter Theisgen
date Thu Jan 27 15:48:06 2022 +0100 (2022-01-27)
parents 78a8b309d305
children 076f424196b2
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"
paul@18822 8 WEB_SITE="https://github.com/jonathanslenders/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@24326 20 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24326 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }