# Maintainer: Natanael Copa pkgname=py-libvirt pkgver=1.2.17 pkgrel=0 pkgdesc="The libvirt virtualization API python binding" url="http://libvirt.org" arch="all" license="LGPLv2+" depends="" depends_dev="" makedepends="$depends_dev python-dev libvirt-dev" install="" subpackages="" source="http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz musl-gnuc-prereq.patch " _builddir="$srcdir"/libvirt-python-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="a695e323e33db562d86e947f7ac77f09 libvirt-python-1.2.17.tar.gz 51a120926a0c664e972f207215e4a7a0 musl-gnuc-prereq.patch" sha256sums="f4d3db4012a800a2519e62bbef4ce14a37e030a20ab18f5b66759533a39b36ed libvirt-python-1.2.17.tar.gz a3be754db64e05679d72587f60e7455a946c87102d591119c991765016a8b458 musl-gnuc-prereq.patch" sha512sums="bd77558bc59f2abedb55582fed56bb73b33089cfa5de4a109c145bb087dfaa258ad4b022ca00b30fbac5c09f53f7a60fc270e658afd1cc57e618568b89adbfcd libvirt-python-1.2.17.tar.gz 8aa1d814f8388ebff0736ee138c780323381cd4cf39b4a4faed2e2a1fe5911facc34505a85b0977d8b4240b8ce2f4a6d0414790693c4f45ff7d9592e9d6a3ff8 musl-gnuc-prereq.patch"