blob: d2f16e5f573a1d7d1ac00aadeef9579c3e3bb9b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=py3-sshuttle
_pyname=sshuttle
pkgver=0.78.5
pkgrel=1
pkgdesc="Transparent proxy server that works as a poor man's VPN using ssh"
url="https://github.com/sshuttle/sshuttle"
arch="noarch"
license="LGPL-2.1-or-later"
depends="py3-setuptools"
makedepends="py3-setuptools_scm"
checkdepends="py3-mock py3-pytest py3-pytest-mock py3-pytest-cov
py3-pytest-runner py3-pytest-flake8"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
case "$CARCH" in
mips*) options="!check";;
esac
builddir=$srcdir/$_pyname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
chmod -R a+r "$pkgdir" # allow regular user
}
sha512sums="562acbf0e825ad41458c5b6065592a45b8bac92cd64b20619027fe4d0bec60a22c5191c7a7ed6b216d8cf5c9e027f58a6cdca69dd3a11ec6f6d348ef2f13bb38 sshuttle-0.78.5.tar.gz"
|