[arch-commits] Commit in libvirt-python/repos (8 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu Dec 5 21:16:19 UTC 2013


    Date: Thursday, December 5, 2013 @ 22:16:17
  Author: spupykin
Revision: 102148

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libvirt-python/repos/community-i686/PKGBUILD
    (from rev 102147, libvirt-python/trunk/PKGBUILD)
  libvirt-python/repos/community-i686/libvirt-python.install
    (from rev 102147, libvirt-python/trunk/libvirt-python.install)
  libvirt-python/repos/community-x86_64/PKGBUILD
    (from rev 102147, libvirt-python/trunk/PKGBUILD)
  libvirt-python/repos/community-x86_64/libvirt-python.install
    (from rev 102147, libvirt-python/trunk/libvirt-python.install)
Deleted:
  libvirt-python/repos/community-i686/PKGBUILD
  libvirt-python/repos/community-i686/libvirt-python.install
  libvirt-python/repos/community-x86_64/PKGBUILD
  libvirt-python/repos/community-x86_64/libvirt-python.install

-----------------------------------------+
 /PKGBUILD                               |   66 ++++++++++++++++++++++++++++++
 /libvirt-python.install                 |    6 ++
 community-i686/PKGBUILD                 |   36 ----------------
 community-i686/libvirt-python.install   |    3 -
 community-x86_64/PKGBUILD               |   36 ----------------
 community-x86_64/libvirt-python.install |    3 -
 6 files changed, 72 insertions(+), 78 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-12-05 21:16:03 UTC (rev 102147)
+++ community-i686/PKGBUILD	2013-12-05 21:16:17 UTC (rev 102148)
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jonathan Wiersma <archaur at jonw dot org>
-
-pkgname=libvirt-python
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="libvirt python binding"
-arch=('i686' 'x86_64')
-url="http://libvirt.org/"
-license=('LGPL')
-depends=('python2' 'libvirt')
-options=('emptydirs')
-install="libvirt-python.install"
-source=("ftp://libvirt.org/libvirt/python/$pkgname-$pkgver.tar.gz")
-md5sums=('38158e5740be65f17eef9f99ffa5dadf')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  export PYTHON=`which python2`
-  for file in $(find . -name '*.py' -print); do
-    sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
-    sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
-    sed -i 's_"python"_"python2"_g' $file
-  done
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py build
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py install --root=$pkgdir
-}

Copied: libvirt-python/repos/community-i686/PKGBUILD (from rev 102147, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-12-05 21:16:17 UTC (rev 102148)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgname=libvirt-python
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="libvirt python binding"
+arch=('i686' 'x86_64')
+url="http://libvirt.org/"
+license=('LGPL')
+depends=('python2' 'libvirt')
+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
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python2 setup.py install --root=$pkgdir
+}

Deleted: community-i686/libvirt-python.install
===================================================================
--- community-i686/libvirt-python.install	2013-12-05 21:16:03 UTC (rev 102147)
+++ community-i686/libvirt-python.install	2013-12-05 21:16:17 UTC (rev 102148)
@@ -1,3 +0,0 @@
-post_remove() {
-   rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
-}

Copied: libvirt-python/repos/community-i686/libvirt-python.install (from rev 102147, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-i686/libvirt-python.install	                        (rev 0)
+++ community-i686/libvirt-python.install	2013-12-05 21:16:17 UTC (rev 102148)
@@ -0,0 +1,3 @@
+post_remove() {
+   rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-12-05 21:16:03 UTC (rev 102147)
+++ community-x86_64/PKGBUILD	2013-12-05 21:16:17 UTC (rev 102148)
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jonathan Wiersma <archaur at jonw dot org>
-
-pkgname=libvirt-python
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="libvirt python binding"
-arch=('i686' 'x86_64')
-url="http://libvirt.org/"
-license=('LGPL')
-depends=('python2' 'libvirt')
-options=('emptydirs')
-install="libvirt-python.install"
-source=("ftp://libvirt.org/libvirt/python/$pkgname-$pkgver.tar.gz")
-md5sums=('38158e5740be65f17eef9f99ffa5dadf')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  export PYTHON=`which python2`
-  for file in $(find . -name '*.py' -print); do
-    sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
-    sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
-    sed -i 's_"python"_"python2"_g' $file
-  done
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py build
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  python2 setup.py install --root=$pkgdir
-}

Copied: libvirt-python/repos/community-x86_64/PKGBUILD (from rev 102147, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-12-05 21:16:17 UTC (rev 102148)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgname=libvirt-python
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="libvirt python binding"
+arch=('i686' 'x86_64')
+url="http://libvirt.org/"
+license=('LGPL')
+depends=('python2' 'libvirt')
+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
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python2 setup.py install --root=$pkgdir
+}

Deleted: community-x86_64/libvirt-python.install
===================================================================
--- community-x86_64/libvirt-python.install	2013-12-05 21:16:03 UTC (rev 102147)
+++ community-x86_64/libvirt-python.install	2013-12-05 21:16:17 UTC (rev 102148)
@@ -1,3 +0,0 @@
-post_remove() {
-   rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
-}

Copied: libvirt-python/repos/community-x86_64/libvirt-python.install (from rev 102147, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-x86_64/libvirt-python.install	                        (rev 0)
+++ community-x86_64/libvirt-python.install	2013-12-05 21:16:17 UTC (rev 102148)
@@ -0,0 +1,3 @@
+post_remove() {
+   rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
+}




More information about the arch-commits mailing list