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

Sergej Pupykin spupykin at archlinux.org
Fri Mar 3 19:11:39 UTC 2017


    Date: Friday, March 3, 2017 @ 19:11:38
  Author: spupykin
Revision: 214673

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

Added:
  libvirt-python/repos/community-i686/PKGBUILD
    (from rev 214672, libvirt-python/trunk/PKGBUILD)
  libvirt-python/repos/community-i686/libvirt-python.install
    (from rev 214672, libvirt-python/trunk/libvirt-python.install)
  libvirt-python/repos/community-x86_64/PKGBUILD
    (from rev 214672, libvirt-python/trunk/PKGBUILD)
  libvirt-python/repos/community-x86_64/libvirt-python.install
    (from rev 214672, 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-i686/python3.6.patch
  libvirt-python/repos/community-x86_64/PKGBUILD
  libvirt-python/repos/community-x86_64/libvirt-python.install
  libvirt-python/repos/community-x86_64/python3.6.patch

-----------------------------------------+
 /PKGBUILD                               |   70 ++++++++++++++++++++++++++++++
 /libvirt-python.install                 |    6 ++
 community-i686/PKGBUILD                 |   41 -----------------
 community-i686/libvirt-python.install   |    3 -
 community-i686/python3.6.patch          |   27 -----------
 community-x86_64/PKGBUILD               |   41 -----------------
 community-x86_64/libvirt-python.install |    3 -
 community-x86_64/python3.6.patch        |   27 -----------
 8 files changed, 76 insertions(+), 142 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-03 19:11:23 UTC (rev 214672)
+++ community-i686/PKGBUILD	2017-03-03 19:11:38 UTC (rev 214673)
@@ -1,41 +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>
-
-pkgbase=libvirt-python
-pkgname=(libvirt-python libvirt-python3)
-pkgver=3.0.0
-pkgrel=1
-pkgdesc="libvirt python binding"
-arch=('i686' 'x86_64')
-url="https://pypi.python.org/pypi/libvirt-python"
-license=('LGPL')
-makedepends=('python' 'python2' 'libvirt')
-options=('emptydirs')
-install="libvirt-python.install"
-validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
-source=("https://pypi.python.org/packages/4d/22/b415c2b6907fcb1d0b9b81f6a1c585f7ee9fef44b906ac479f60a002cf0b/libvirt-python-$pkgver.tar.gz" #{,.asc}
-        python3.6.patch)
-sha256sums=('94a7c1c57a643afad43f9068c70774e1146ed051ecfca0280d5127011c5e44c1'
-            'dee0682e6b1378d7a6ec0fe84a951ce4fa9766b656ef17c54d60455ceba97bf0')
-
-prepare() {
-  cd $pkgbase-$pkgver
-#  patch -p1 -i ../python3.6.patch
-}
-
-package_libvirt-python() {
-  depends=('python2' 'libvirt')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  python2 setup.py clean
-  python2 setup.py install --root="$pkgdir"
-}
-
-package_libvirt-python3() {
-  depends=('python' 'libvirt')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  python setup.py clean
-  python setup.py install --root="$pkgdir"
-}

Copied: libvirt-python/repos/community-i686/PKGBUILD (from rev 214672, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-03 19:11:38 UTC (rev 214673)
@@ -0,0 +1,35 @@
+# $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>
+
+pkgbase=libvirt-python
+pkgname=(libvirt-python libvirt-python3)
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="libvirt python binding"
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/libvirt-python"
+license=('LGPL')
+makedepends=('python' 'python2' 'libvirt')
+options=('emptydirs')
+install="libvirt-python.install"
+validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
+#source=("https://pypi.python.org/packages/4d/22/b415c2b6907fcb1d0b9b81f6a1c585f7ee9fef44b906ac479f60a002cf0b/libvirt-python-$pkgver.tar.gz") #{,.asc}
+source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz")
+sha256sums=('f36a62ace3b815ef1f14a760a5feee31bd502bed0daf92ab75d21d516123a218')
+
+package_libvirt-python() {
+  depends=('python2' 'libvirt')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  python2 setup.py clean
+  python2 setup.py install --root="$pkgdir"
+}
+
+package_libvirt-python3() {
+  depends=('python' 'libvirt')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  python setup.py clean
+  python setup.py install --root="$pkgdir"
+}

Deleted: community-i686/libvirt-python.install
===================================================================
--- community-i686/libvirt-python.install	2017-03-03 19:11:23 UTC (rev 214672)
+++ community-i686/libvirt-python.install	2017-03-03 19:11:38 UTC (rev 214673)
@@ -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 214672, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-i686/libvirt-python.install	                        (rev 0)
+++ community-i686/libvirt-python.install	2017-03-03 19:11:38 UTC (rev 214673)
@@ -0,0 +1,3 @@
+post_remove() {
+   rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
+}

Deleted: community-i686/python3.6.patch
===================================================================
--- community-i686/python3.6.patch	2017-03-03 19:11:23 UTC (rev 214672)
+++ community-i686/python3.6.patch	2017-03-03 19:11:38 UTC (rev 214673)
@@ -1,27 +0,0 @@
-From f5edaf1ba5bc2db38ae0c7f595e17aff9d89dcfa Mon Sep 17 00:00:00 2001
-From: "Daniel P. Berrange" <berrange at redhat.com>
-Date: Wed, 21 Dec 2016 10:35:17 +0000
-Subject: [PATCH] Remove bogus \o escape in regex
-
-One of the regexes has a bogus \o instead of plain 'o'. Somehow
-this magically worked on all versions of python, until 3.6 came
-along and complained
-
-Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
----
- generator.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/generator.py b/generator.py
-index 730e456..2c3b667 100755
---- a/generator.py
-+++ b/generator.py
-@@ -1091,7 +1091,7 @@ def is_integral_type (name):
-     return not re.search ("^(unsigned)? ?(int|long)$", name) is None
- 
- def is_optional_arg(info):
--    return re.search("^\(?\optional\)?", info) is not None
-+    return re.search("^\(?optional\)?", info) is not None
- # Functions returning lists which need special rules to check for errors
- # and raise exceptions.
- functions_list_exception_test = {

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-03 19:11:23 UTC (rev 214672)
+++ community-x86_64/PKGBUILD	2017-03-03 19:11:38 UTC (rev 214673)
@@ -1,41 +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>
-
-pkgbase=libvirt-python
-pkgname=(libvirt-python libvirt-python3)
-pkgver=3.0.0
-pkgrel=1
-pkgdesc="libvirt python binding"
-arch=('i686' 'x86_64')
-url="https://pypi.python.org/pypi/libvirt-python"
-license=('LGPL')
-makedepends=('python' 'python2' 'libvirt')
-options=('emptydirs')
-install="libvirt-python.install"
-validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
-source=("https://pypi.python.org/packages/4d/22/b415c2b6907fcb1d0b9b81f6a1c585f7ee9fef44b906ac479f60a002cf0b/libvirt-python-$pkgver.tar.gz" #{,.asc}
-        python3.6.patch)
-sha256sums=('94a7c1c57a643afad43f9068c70774e1146ed051ecfca0280d5127011c5e44c1'
-            'dee0682e6b1378d7a6ec0fe84a951ce4fa9766b656ef17c54d60455ceba97bf0')
-
-prepare() {
-  cd $pkgbase-$pkgver
-#  patch -p1 -i ../python3.6.patch
-}
-
-package_libvirt-python() {
-  depends=('python2' 'libvirt')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  python2 setup.py clean
-  python2 setup.py install --root="$pkgdir"
-}
-
-package_libvirt-python3() {
-  depends=('python' 'libvirt')
-
-  cd "$srcdir/$pkgbase-$pkgver"
-  python setup.py clean
-  python setup.py install --root="$pkgdir"
-}

Copied: libvirt-python/repos/community-x86_64/PKGBUILD (from rev 214672, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-03 19:11:38 UTC (rev 214673)
@@ -0,0 +1,35 @@
+# $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>
+
+pkgbase=libvirt-python
+pkgname=(libvirt-python libvirt-python3)
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="libvirt python binding"
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/libvirt-python"
+license=('LGPL')
+makedepends=('python' 'python2' 'libvirt')
+options=('emptydirs')
+install="libvirt-python.install"
+validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F')
+#source=("https://pypi.python.org/packages/4d/22/b415c2b6907fcb1d0b9b81f6a1c585f7ee9fef44b906ac479f60a002cf0b/libvirt-python-$pkgver.tar.gz") #{,.asc}
+source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz")
+sha256sums=('f36a62ace3b815ef1f14a760a5feee31bd502bed0daf92ab75d21d516123a218')
+
+package_libvirt-python() {
+  depends=('python2' 'libvirt')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  python2 setup.py clean
+  python2 setup.py install --root="$pkgdir"
+}
+
+package_libvirt-python3() {
+  depends=('python' 'libvirt')
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  python setup.py clean
+  python setup.py install --root="$pkgdir"
+}

Deleted: community-x86_64/libvirt-python.install
===================================================================
--- community-x86_64/libvirt-python.install	2017-03-03 19:11:23 UTC (rev 214672)
+++ community-x86_64/libvirt-python.install	2017-03-03 19:11:38 UTC (rev 214673)
@@ -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 214672, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-x86_64/libvirt-python.install	                        (rev 0)
+++ community-x86_64/libvirt-python.install	2017-03-03 19:11:38 UTC (rev 214673)
@@ -0,0 +1,3 @@
+post_remove() {
+   rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
+}

Deleted: community-x86_64/python3.6.patch
===================================================================
--- community-x86_64/python3.6.patch	2017-03-03 19:11:23 UTC (rev 214672)
+++ community-x86_64/python3.6.patch	2017-03-03 19:11:38 UTC (rev 214673)
@@ -1,27 +0,0 @@
-From f5edaf1ba5bc2db38ae0c7f595e17aff9d89dcfa Mon Sep 17 00:00:00 2001
-From: "Daniel P. Berrange" <berrange at redhat.com>
-Date: Wed, 21 Dec 2016 10:35:17 +0000
-Subject: [PATCH] Remove bogus \o escape in regex
-
-One of the regexes has a bogus \o instead of plain 'o'. Somehow
-this magically worked on all versions of python, until 3.6 came
-along and complained
-
-Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
----
- generator.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/generator.py b/generator.py
-index 730e456..2c3b667 100755
---- a/generator.py
-+++ b/generator.py
-@@ -1091,7 +1091,7 @@ def is_integral_type (name):
-     return not re.search ("^(unsigned)? ?(int|long)$", name) is None
- 
- def is_optional_arg(info):
--    return re.search("^\(?\optional\)?", info) is not None
-+    return re.search("^\(?optional\)?", info) is not None
- # Functions returning lists which need special rules to check for errors
- # and raise exceptions.
- functions_list_exception_test = {


More information about the arch-commits mailing list