# Maintainer: Natanael Copa pkgname=sshuttle pkgver=1.1.1 pkgrel=0 pkgdesc="Transparent proxy server using ssh" url="https://github.com/sshuttle/sshuttle" arch="noarch" license="GPL-2.0-only" depends="python3 py3-psutil" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pytest-cov py3-mock py3-flake8" options="!check" # TODO: fix testsuite source="https://github.com/sshuttle/sshuttle/archive/v$pkgver/sshuttle-$pkgver.tar.gz" build() { echo "version = '$pkgver'" > sshuttle/version.py python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 4f670bee34653e47cf7a0c8550b2ac734230ccf0d4fb6191ae3a0c6404847c788c3cdf033bc1571f49472729029077aa6d6970f4bce78fa4980f1f29ccbd2f7a sshuttle-1.1.1.tar.gz "