summaryrefslogtreecommitdiff
path: root/community/libvirt-python/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvirt-python/PKGBUILD')
-rw-r--r--community/libvirt-python/PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/community/libvirt-python/PKGBUILD b/community/libvirt-python/PKGBUILD
index 3e592fdfd..27eba642e 100644
--- a/community/libvirt-python/PKGBUILD
+++ b/community/libvirt-python/PKGBUILD
@@ -3,31 +3,25 @@
# Contributor: Jonathan Wiersma <archaur at jonw dot org>
pkgname=libvirt-python
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.2.1
+pkgrel=1
pkgdesc="libvirt python binding"
arch=('i686' 'x86_64')
url="http://libvirt.org/"
license=('LGPL')
depends=('python2' 'libvirt')
+makedepends=('git')
options=('emptydirs')
install="libvirt-python.install"
-source=("ftp://libvirt.org/libvirt/python/$pkgname-$pkgver.tar.gz"
- "python-fix.patch::http://libvirt.org/git/?p=libvirt-python.git;a=patch;h=9d9e2513c09e7ba7474c94455e5f82b3d00e6396")
-md5sums=('38158e5740be65f17eef9f99ffa5dadf'
- 'ba2e5b0d5906a25a6e8a857156d55b61')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 <$srcdir/python-fix.patch
-}
+source=("$pkgname::git://libvirt.org/libvirt-python.git#tag=v1.2.1")
+md5sums=('SKIP')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
python2 setup.py build
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
python2 setup.py install --root=$pkgdir
}