aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-lxc/APKBUILD
blob: 41126d493001fec655ffb32f81225d57a5611ebb (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-lxc
pkgver=3.0.3
pkgrel=1
pkgdesc="Python3 bindings for LXC"
url="https://linuxcontainers.org"
arch="all"
license="LGPL-2.1"
depends="python3"
makedepends="python3-dev lxc-dev"
install=""
subpackages=""
source="https://linuxcontainers.org/downloads/lxc/python3-lxc-$pkgver.tar.gz"
builddir="$srcdir/python3-lxc-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="32f444df47d46b998d9d4aa88316817a49c5bd22e77debef7b06dfe470654320c0f43a72969cf3a7c6849b8badc1206e7d1e438e2c10ee2744c6f0b26e50d748  python3-lxc-3.0.3.tar.gz"