diff options
Diffstat (limited to 'main/py-libvirt')
-rw-r--r-- | main/py-libvirt/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/py-libvirt/APKBUILD b/main/py-libvirt/APKBUILD index 40196fcc07..35fd62959e 100644 --- a/main/py-libvirt/APKBUILD +++ b/main/py-libvirt/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-libvirt _pkgname=libvirt-python -pkgver=3.1.0 +pkgver=3.2.0 pkgrel=0 pkgdesc="The libvirt virtualization API python binding" url="http://libvirt.org" @@ -14,10 +14,16 @@ source="http://libvirt.org/sources/python/$_pkgname-$pkgver.tar.gz " builddir="$srcdir/$_pkgname-$pkgver" +check() { + cd "$builddir" + python2 setup.py check + python3 setup.py check +} + build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build } package() { @@ -42,5 +48,5 @@ _py3() { _py python3 } -sha512sums="33b8cff940a66c658b104ef2129d88eff11f2c70fc5f92d448e4963a205c978d3dd218068339dcaa20fabdd666a30e887262d17dd1f5b98cc8566ba2d8276400 libvirt-python-3.1.0.tar.gz +sha512sums="d13cb0fb46844cab512931fbb85225bdd99c44eba0761caaeb13a40f8bf18700d5836f4e24300370810ee103b4f391699db13ae0523e5625a566a9c5b41d12d5 libvirt-python-3.2.0.tar.gz 8aa1d814f8388ebff0736ee138c780323381cd4cf39b4a4faed2e2a1fe5911facc34505a85b0977d8b4240b8ce2f4a6d0414790693c4f45ff7d9592e9d6a3ff8 musl-gnuc-prereq.patch" |