void-packages/srcpkgs/sshuttle/template
2022-04-27 22:26:24 -04:00

29 lines
883 B
Bash

# Template file for 'sshuttle'
pkgname=sshuttle
version=1.1.0
revision=1
build_style=python3-module
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 <daniel@santana.tech>"
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=21fb91bdf392b50e78db6b8d75e95b73ac9dafd361e2657e784e674561219315
post_extract() {
# 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
}