mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 08:56:44 +02:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=pssh
|
|
pkgver=2.3.5
|
|
pkgrel=2
|
|
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 py3-gpep517 py3-wheel py3-installer"
|
|
options="!check" # failing test
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/pssh/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m unittest discover
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
install -d "$pkgdir"/usr/libexec/pssh
|
|
mv "$pkgdir"/usr/bin/pssh-askpass "$pkgdir"/usr/libexec/pssh
|
|
}
|
|
|
|
sha512sums="
|
|
47515b05c9ee2bb302e25d5404736184ad04e22afdeb77bea799d80adadd977af2744e124bd06b751bb06ad05baed6b577cc636b808f32db83edda669598e3ee pssh-2.3.5.tar.gz
|
|
"
|