diff options
Diffstat (limited to 'testing/sshuttle/APKBUILD')
-rw-r--r-- | testing/sshuttle/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/sshuttle/APKBUILD b/testing/sshuttle/APKBUILD new file mode 100644 index 0000000000..8651e17dce --- /dev/null +++ b/testing/sshuttle/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname="sshuttle" +pkgver="0.78.5" +pkgrel=0 +pkgdesc="Transparent proxy server using ssh" +url="https://github.com/sshuttle/sshuttle" +arch="noarch" +license="GPL-2.0-only" +depends="python3" +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 + no-scm.patch + " +builddir="$srcdir/sshuttle-$pkgver" + +build() { + echo "version = '$pkgver'" > sshuttle/version.py + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="bf76bfbd1025ce8c7b72e946541b9cc8b678ba21049fef65df4929cb7a36684f259fc653b644da0c3c278fd26a38e218202d5debce243659a840b7f36acd5e20 sshuttle-0.78.5.tar.gz +bdfcb1e88b4f2ce3906ed511697083ab789d5a8c1034bce25448cdd3195fb5e26ab403e7f3fdb97d4293cad4875dc08ed5071dafab145c70f654ab9ac40fb160 no-scm.patch" |