summaryrefslogtreecommitdiff
path: root/main/pssh/APKBUILD
blob: 3a56aff0d9b2091884aa96ea94694e90f4fdfe00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=pssh
pkgver=2.3.4
pkgrel=3
pkgdesc="PSSH provides parallel versions of OpenSSH and related tools: pssh, pscp, prsync, pnuke, and pslurp"
url="https://github.com/lilydjwg/pssh"
arch="noarch"
license="BSD-3-Clause"
depends="python3 cmd:ssh"
makedepends="py3-setuptools"
checkdepends="py3-tox"
options="!check" # failing test
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/pssh/archive/v2.3.4.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	install -d "$pkgdir"/usr/libexec/pssh
	mv "$pkgdir"/usr/bin/pssh-askpass "$pkgdir"/usr/libexec/pssh
}

sha512sums="
7abf327ca53dda2402465254e447eb837babdd2b4d865abb5b52a1135bd234694b84c1148cb3e4ed0198271ed29333fc1b5d0d01dc653fcf6d3e5b9f170b9d4e  pssh-2.3.4.tar.gz
"