wok annotate pssh/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (2022-06-13)
parents 151ac8f3d1bd
children
rev   line source
pascal@22685 1 # SliTaz package receipt.
pascal@22685 2
pascal@22685 3 PACKAGE="pssh"
pascal@22686 4 VERSION="2.3.1"
pascal@22685 5 CATEGORY="network"
pascal@22685 6 SHORT_DESC="Parallel versions of the openssh tools"
pascal@22685 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@22685 8 LICENSE="BSD"
pascal@22685 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22688 10 WEB_SITE="https://pypi.org/project/pssh/"
pascal@22686 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/parallel-ssh/$TARBALL"
pascal@22685 12 TAGS="ssh"
pascal@22685 13
pascal@22685 14 DEPENDS="python"
pascal@22685 15 BUILD_DEPENDS="python-setuptools"
pascal@22685 16
pascal@24391 17 # What is the latest version available today?
pascal@24391 18 current_version()
pascal@24391 19 {
pascal@24391 20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
pascal@24391 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
pascal@24391 22 }
pascal@24391 23
pascal@22685 24 # Rules to configure and make the package.
pascal@22685 25 compile_rules()
pascal@22685 26 {
pascal@22685 27 python setup.py build &&
pascal@22685 28 python setup.py install --root=$DESTDIR
pascal@22685 29 }
pascal@22685 30
pascal@22685 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22685 32 genpkg_rules()
pascal@22685 33 {
pascal@22686 34 mkdir $fs/usr
pascal@22686 35 cp -a $install/usr/bin $fs/usr/
pascal@22686 36 cp -a $install/usr/lib $fs/usr/
pascal@22685 37 }