[arch-commits] Commit in libvirt-python/trunk (PKGBUILD python3.6.patch)

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


    Date: Friday, March 3, 2017 @ 19:11:23
  Author: spupykin
Revision: 214672

upgpkg: libvirt-python 3.1.0-1

upd

Modified:
  libvirt-python/trunk/PKGBUILD
Deleted:
  libvirt-python/trunk/python3.6.patch

-----------------+
 PKGBUILD        |   14 ++++----------
 python3.6.patch |   27 ---------------------------
 2 files changed, 4 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-03 19:11:16 UTC (rev 214671)
+++ PKGBUILD	2017-03-03 19:11:23 UTC (rev 214672)
@@ -4,7 +4,7 @@
 
 pkgbase=libvirt-python
 pkgname=(libvirt-python libvirt-python3)
-pkgver=3.0.0
+pkgver=3.1.0
 pkgrel=1
 pkgdesc="libvirt python binding"
 arch=('i686' 'x86_64')
@@ -14,16 +14,10 @@
 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')
+#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')
 
-prepare() {
-  cd $pkgbase-$pkgver
-#  patch -p1 -i ../python3.6.patch
-}
-
 package_libvirt-python() {
   depends=('python2' 'libvirt')
 

Deleted: python3.6.patch
===================================================================
--- python3.6.patch	2017-03-03 19:11:16 UTC (rev 214671)
+++ python3.6.patch	2017-03-03 19:11:23 UTC (rev 214672)
@@ -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