aports/testing/py3-wg-netns/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

31 lines
892 B
Text

# Contributor: Fabricio Silva <hi@fabricio.dev>
# Maintainer: Fabricio Silva <hi@fabricio.dev>
pkgname=py3-wg-netns
_pkgname=wg-netns
pkgver=2.3.1
pkgrel=1
pkgdesc="A Python script that implements the steps described at wireguard.com/netns"
url="https://github.com/dadevel/wg-netns"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-poetry-core py3-gpep517 py3-installer"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dadevel/wg-netns/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # no tests
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
30ea08d2144e1d49d7fb8e10d6529717116364c9cf1628e67edaddb8e7595cfdb3a2d2ba03c87725e9e3b1fefaffe1956db3a047c3e91f5a49461ea3843f1753 py3-wg-netns-2.3.1.tar.gz
"