From 1139b2770897a2fe6d243ac913601f97408a31da Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 27 Apr 2021 15:03:45 -0400 Subject: [PATCH] sshuttle: update to 1.0.5. --- srcpkgs/sshuttle/template | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/srcpkgs/sshuttle/template b/srcpkgs/sshuttle/template index b7e8505d4fa..eadcff89acc 100644 --- a/srcpkgs/sshuttle/template +++ b/srcpkgs/sshuttle/template @@ -1,28 +1,28 @@ # Template file for 'sshuttle' pkgname=sshuttle -version=1.0.4 -revision=2 +version=1.0.5 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools python3-Sphinx" -depends="python3-setuptools iptables" +hostmakedepends="python3-setuptools_scm python3-Sphinx" +depends="python3-psutil" +checkdepends="python3-flake8 python3-mock python3-pytest" short_desc="Transparent proxy server that forwards TCP packets over ssh" maintainer="Daniel Santana " 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=21a11f3f0f710de92241d8ffca58bebb969f689f650d59e97ba366d7407e16e5 +checksum=fd8c691aac2cb80933aae7f94d9d9e271a820efc5c48e73408f1a90da426a1bd post_extract() { - sed -i setup.py \ - -e '/setup_requires=/d' \ - -e '/use_scm_version/,+3d' \ - -e "/name=/ a\ - version='${version}'," # BUG: wrong permissions (https://github.com/sshuttle/sshuttle/issues/217) chmod -R go+rX . } +pre_check() { + sed -i -e '/addopts/d' setup.cfg +} + post_install() { make -C docs man vman docs/_build/man/sshuttle.1