summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2025-01-17 15:23:59 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2025-01-17 15:23:59 +0100
commit4228312313586fdd0284c049dc8c0aafd58d81b1 (patch)
tree23e255ab563924ed1638b0aecddb11de558536a3
parentccaf413af0093c7018c7ea6d3cc13ce0898d2054 (diff)
downloadarchlinuxewe-4228312313586fdd0284c049dc8c0aafd58d81b1.tar.xz
pssh-git: 2.3.4+15+g1399527-13 -> 2.3.5-1
-rw-r--r--pssh-git/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/pssh-git/PKGBUILD b/pssh-git/PKGBUILD
index fc89fcc9f..1c4a741aa 100644
--- a/pssh-git/PKGBUILD
+++ b/pssh-git/PKGBUILD
@@ -3,9 +3,8 @@
# Contributor: Elis Hughes <elishughes@googlemail.com>
pkgname=pssh-git
-pkgver=2.3.4+15+g1399527
-_commit="${pkgver##*+g}"
-pkgrel=13
+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/"
@@ -15,29 +14,33 @@ depends=(
'python<3.14'
'openssh'
)
-makedepends=('git' 'python-setuptools')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
provides=('pssh')
conflicts=('pssh')
-source=(git+https://github.com/lilydjwg/pssh.git#commit=${_commit})
-sha512sums=('SKIP')
+source=("git+https://github.com/lilydjwg/pssh.git#tag=v${pkgver}")
+sha512sums=('b768c5350d40bcb7c8f7478a6f8690c9ca3cf5ac441fb8813ec7cf22646fd655b9e9c88ce9768f3f5e724ef46697e1dfda7b533f7f5322bdcc6f6008fe0bbc15')
pkgver() {
cd "${srcdir}/pssh"
- git describe --long --tags "${_commit}" | \
+ git describe --tags | \
sed '
s/^v//
- y/-/+/
'
}
+build() {
+ cd "${srcdir}/pssh"
+
+ python -m build --wheel --no-isolation
+}
+
package() {
cd "${srcdir}/pssh"
- python setup.py install --root "${pkgdir}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
# fix putty pscp file conflict
mv "${pkgdir}"/usr/bin/pscp "${pkgdir}"/usr/bin/psshscp
- mv "${pkgdir}"/usr/share/man/man1/pscp.1 "${pkgdir}"/usr/share/man/man1/psshscp.1
# license
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/COPYING