aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-libvirt/APKBUILD
blob: 66b5468f85ae2edee52384527669f959012f5fe6 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-libvirt
_pkgname=libvirt-python
pkgver=1.3.4
pkgrel=0
pkgdesc="The libvirt virtualization API python binding"
url="http://libvirt.org"
arch="all"
license="LGPLv2+"
depends=""
makedepends="python-dev libvirt-dev"
source="http://libvirt.org/sources/python/$_pkgname-$pkgver.tar.gz
	musl-gnuc-prereq.patch
	"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python setup.py build || return 1
}

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

md5sums="4d2d5810e04b213be6aa667cdcc95ffd  libvirt-python-1.3.4.tar.gz
51a120926a0c664e972f207215e4a7a0  musl-gnuc-prereq.patch"
sha256sums="badd2f51b07d5b03be7c01c45d8f52fea181ba9386ced5b12241ffdcf7e4f7a7  libvirt-python-1.3.4.tar.gz
a3be754db64e05679d72587f60e7455a946c87102d591119c991765016a8b458  musl-gnuc-prereq.patch"
sha512sums="18063021edf28b6c7b6b407590ec94eda45272c6b976ef560b4e81a8b212a5c7d2c1ce844e066855cda0a1bca4e98028936314c58e12261952783bd606501f59  libvirt-python-1.3.4.tar.gz
8aa1d814f8388ebff0736ee138c780323381cd4cf39b4a4faed2e2a1fe5911facc34505a85b0977d8b4240b8ce2f4a6d0414790693c4f45ff7d9592e9d6a3ff8  musl-gnuc-prereq.patch"