mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/py3-python-lxns: new aport
New dependency for bubblejail
This commit is contained in:
parent
78df5bb479
commit
60b1d6eba7
26
community/py3-lxns/APKBUILD
Normal file
26
community/py3-lxns/APKBUILD
Normal file
@ -0,0 +1,26 @@
|
||||
# Maintainer: Donoban <donoban@riseup.net>
|
||||
pkgname=py3-lxns
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="Python library to control Linux kernel namespaces"
|
||||
url="https://github.com/igo95862/python-lxns"
|
||||
arch="all"
|
||||
license="MPL-2.0"
|
||||
makedepends="meson python3-dev linux-headers"
|
||||
source="python-lxns-$pkgver.tar.gz::https://github.com/igo95862/python-lxns/archive/refs/tags/$pkgver.tar.gz"
|
||||
options="!check" # They need ns permissions
|
||||
|
||||
build() {
|
||||
mv python-lxns-$pkgver/* .
|
||||
abuild-meson output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
cd src
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a8ed564e6df3f6b51ca551637efd8476e7578ccdbea6b8f19ad2f1c0973a11524fcb0e922a3267e93acdaa534fe538940a6936f95e13d1c9e0b34d08aee5c202 python-lxns-0.1.0.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user