diff --git a/srcpkgs/sshuttle/template b/srcpkgs/sshuttle/template index 3f53d836164..dd8b1b43e7d 100644 --- a/srcpkgs/sshuttle/template +++ b/srcpkgs/sshuttle/template @@ -1,9 +1,9 @@ # Template file for 'sshuttle' pkgname=sshuttle -version=1.1.1 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools_scm python3-Sphinx" +version=1.1.2 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core python3-Sphinx" depends="python3-psutil" checkdepends="python3-flake8 python3-mock python3-pytest" short_desc="Transparent proxy server that forwards TCP packets over ssh" @@ -11,16 +11,11 @@ maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://github.com/sshuttle/sshuttle" changelog="https://github.com/sshuttle/sshuttle/raw/master/CHANGES.rst" -distfiles="${PYPI_SITE}/s/sshuttle/sshuttle-${version}.tar.gz" -checksum=f5a3ed1e5ab1213c7a6df860af41f1a903ab2cafbfef71f371acdcff21e69ee6 - -post_extract() { - # BUG: wrong permissions (https://github.com/sshuttle/sshuttle/issues/217) - chmod -R go+rX . -} +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=85dc603af59ab45a30f96273fe971821b73d8686659c922f76b1f039f16f5e8e pre_check() { - sed -i -e '/addopts/d' setup.cfg + vsed -i -e '/addopts/d' setup.cfg } post_install() {