summaryrefslogtreecommitdiff
path: root/community/libvirt-python
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-18 03:29:33 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-18 03:29:33 +0000
commitf4cbb127d45017c14988b232dbae02bc2858c6df (patch)
tree71d864fa346c59efa48d7c029334b366c6597317 /community/libvirt-python
parent953eead14ccfe47904e73cee9cea6e1255f57356 (diff)
Sat Jan 18 03:25:57 UTC 2014
Diffstat (limited to 'community/libvirt-python')
-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
}