aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-lxc/APKBUILD
blob: 6cbfffd1b084cad70ab2959ba7f4e42ff56b73c7 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-lxc
pkgver=3.0.4
pkgrel=0
pkgdesc="Python3 bindings for LXC"
options="!check" # No testsuite
url="https://linuxcontainers.org"
arch="all"
license="LGPL-2.1-or-later"
depends="python3"
makedepends="python3-dev lxc-dev"
source="https://linuxcontainers.org/downloads/lxc/python3-lxc-$pkgver.tar.gz"
builddir="$srcdir/python3-lxc-$pkgver"

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

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

sha512sums="37660fe97a2171cc3346c31e736ead8a38e328bfcbea621d6b563042fcd1e70c48b97440f6263fb0f6f02a4f1704af2241661bc526921c124a6456c06a497828  python3-lxc-3.0.4.tar.gz"