[arch-commits] Commit in libvirt-python/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri Jan 17 14:09:04 UTC 2014


    Date: Friday, January 17, 2014 @ 15:09:04
  Author: spupykin
Revision: 104322

upgpkg: libvirt-python 1.2.1-1

upd

Modified:
  libvirt-python/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-17 14:08:56 UTC (rev 104321)
+++ PKGBUILD	2014-01-17 14:09:04 UTC (rev 104322)
@@ -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')
+source=("$pkgname::git://libvirt.org/libvirt-python.git#tag=v1.2.1")
+md5sums=('SKIP')
 
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  patch -p1 <$srcdir/python-fix.patch
-}
-
 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
 }




More information about the arch-commits mailing list