From 4228312313586fdd0284c049dc8c0aafd58d81b1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 17 Jan 2025 15:23:59 +0100 Subject: pssh-git: 2.3.4+15+g1399527-13 -> 2.3.5-1 --- pssh-git/PKGBUILD | 23 +++++++++++++---------- 1 file 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 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 -- cgit v1.2.3-70-g09d2