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

Sergej Pupykin spupykin at archlinux.org
Fri Feb 10 11:24:32 UTC 2017


    Date: Friday, February 10, 2017 @ 11:24:31
  Author: spupykin
Revision: 211734

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

Added:
  libvirt-python/repos/community-i686/PKGBUILD
    (from rev 211733, libvirt-python/trunk/PKGBUILD)
  libvirt-python/repos/community-i686/libvirt-python.install
    (from rev 211733, libvirt-python/trunk/libvirt-python.install)
  libvirt-python/repos/community-i686/python3.6.patch
    (from rev 211733, libvirt-python/trunk/python3.6.patch)
  libvirt-python/repos/community-x86_64/PKGBUILD
    (from rev 211733, libvirt-python/trunk/PKGBUILD)
  libvirt-python/repos/community-x86_64/libvirt-python.install
    (from rev 211733, libvirt-python/trunk/libvirt-python.install)
  libvirt-python/repos/community-x86_64/python3.6.patch
    (from rev 211733, libvirt-python/trunk/python3.6.patch)
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                               |   82 ++++++++++++++++++++++++++++++
 /libvirt-python.install                 |    6 ++
 /python3.6.patch                        |   54 +++++++++++++++++++
 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 ---------
 9 files changed, 142 insertions(+), 142 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-02-10 11:24:11 UTC (rev 211733)
+++ community-i686/PKGBUILD	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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=2.5.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/42/e2/40956b304fc69ba4947929398bdaf116c5e4f8a4db1dd57060a45ca84ff1/libvirt-python-$pkgver.tar.gz" #{,.asc}
-        python3.6.patch)
-sha256sums=('f4fd787ad26b4cd4b32afa65b6248c344ef48edffeb42c892c7adb4866f656d1'
-            '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 211733, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-02-10 11:24:31 UTC (rev 211734)
@@ -0,0 +1,41 @@
+# $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"
+}

Deleted: community-i686/libvirt-python.install
===================================================================
--- community-i686/libvirt-python.install	2017-02-10 11:24:11 UTC (rev 211733)
+++ community-i686/libvirt-python.install	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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 211733, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-i686/libvirt-python.install	                        (rev 0)
+++ community-i686/libvirt-python.install	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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-02-10 11:24:11 UTC (rev 211733)
+++ community-i686/python3.6.patch	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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 = {

Copied: libvirt-python/repos/community-i686/python3.6.patch (from rev 211733, libvirt-python/trunk/python3.6.patch)
===================================================================
--- community-i686/python3.6.patch	                        (rev 0)
+++ community-i686/python3.6.patch	2017-02-10 11:24:31 UTC (rev 211734)
@@ -0,0 +1,27 @@
+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-02-10 11:24:11 UTC (rev 211733)
+++ community-x86_64/PKGBUILD	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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=2.5.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/42/e2/40956b304fc69ba4947929398bdaf116c5e4f8a4db1dd57060a45ca84ff1/libvirt-python-$pkgver.tar.gz" #{,.asc}
-        python3.6.patch)
-sha256sums=('f4fd787ad26b4cd4b32afa65b6248c344ef48edffeb42c892c7adb4866f656d1'
-            '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 211733, libvirt-python/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-02-10 11:24:31 UTC (rev 211734)
@@ -0,0 +1,41 @@
+# $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"
+}

Deleted: community-x86_64/libvirt-python.install
===================================================================
--- community-x86_64/libvirt-python.install	2017-02-10 11:24:11 UTC (rev 211733)
+++ community-x86_64/libvirt-python.install	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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 211733, libvirt-python/trunk/libvirt-python.install)
===================================================================
--- community-x86_64/libvirt-python.install	                        (rev 0)
+++ community-x86_64/libvirt-python.install	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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-02-10 11:24:11 UTC (rev 211733)
+++ community-x86_64/python3.6.patch	2017-02-10 11:24:31 UTC (rev 211734)
@@ -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 = {

Copied: libvirt-python/repos/community-x86_64/python3.6.patch (from rev 211733, libvirt-python/trunk/python3.6.patch)
===================================================================
--- community-x86_64/python3.6.patch	                        (rev 0)
+++ community-x86_64/python3.6.patch	2017-02-10 11:24:31 UTC (rev 211734)
@@ -0,0 +1,27 @@
+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