blob: 1c4a741aaf16ee18d47cf4e115d933c3945a0fba (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Elis Hughes <elishughes@googlemail.com>
pkgname=pssh-git
pkgver=2.3.5
pkgrel=1
pkgdesc="Parallel versions of the openssh tools ssh, scp, rsync, nuke, slurp"
arch=('any')
url="http://code.google.com/p/parallel-ssh/"
license=('BSD')
depends=(
'python>=3.13'
'python<3.14'
'openssh'
)
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
provides=('pssh')
conflicts=('pssh')
source=("git+https://github.com/lilydjwg/pssh.git#tag=v${pkgver}")
sha512sums=('b768c5350d40bcb7c8f7478a6f8690c9ca3cf5ac441fb8813ec7cf22646fd655b9e9c88ce9768f3f5e724ef46697e1dfda7b533f7f5322bdcc6f6008fe0bbc15')
pkgver() {
cd "${srcdir}/pssh"
git describe --tags | \
sed '
s/^v//
'
}
build() {
cd "${srcdir}/pssh"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/pssh"
python -m installer --destdir="$pkgdir" dist/*.whl
# fix putty pscp file conflict
mv "${pkgdir}"/usr/bin/pscp "${pkgdir}"/usr/bin/psshscp
# license
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/COPYING
}
|