1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-wg-netns/APKBUILD
2023-08-21 15:15:41 +00: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.0
pkgrel=0
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="
d37605df47eec642869a3991929b38023215f60c00f1a6c6ead15018cc1019d17d6c3d6a301276d86a15adfaf763418a7666ec1fab4b26c129029aa44961ac31 py3-wg-netns-2.3.0.tar.gz
"