aports/testing/sshuttle/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02:00

32 lines
850 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sshuttle
pkgver=1.1.1
pkgrel=2
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
subpackages="$pkgname-pyc"
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
"