update to libvirt-python-1.2.20

This commit is contained in:
jasper 2015-10-08 10:03:00 +00:00
parent 01c938c782
commit a9cdae2b8a
3 changed files with 5 additions and 20 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.19 2015/09/03 07:44:48 jasper Exp $
# $OpenBSD: Makefile,v 1.20 2015/10/08 10:03:00 jasper Exp $
SHARED_ONLY = Yes
COMMENT = libvirt virtualization API python bindings
MODPY_EGG_VERSION = 1.2.19
MODPY_EGG_VERSION = 1.2.20
DISTNAME = libvirt-python-${MODPY_EGG_VERSION}
CATEGORIES = sysutils
@ -30,7 +30,7 @@ TEST_DEPENDS = devel/py-nose \
${BASE_PKGPATH}=${MODPY_EGG_VERSION}
do-test:
perl -pi -e 's,/usr/bin/nosetests,${LOCALBASE}/bin/nosetests,' \
sed -i 's,/usr/bin/nosetests,${LOCALBASE}/bin/nosetests,' \
${WRKSRC}/setup.py
@${MODPY_TEST_TARGET}

View File

@ -1,2 +1,2 @@
SHA256 (libvirt-python-1.2.19.tar.gz) = iKtjsMU+Q1vSxuhVGAX+JzNTcI79Tfq5CCV9xfN77Ek=
SIZE (libvirt-python-1.2.19.tar.gz) = 172149
SHA256 (libvirt-python-1.2.20.tar.gz) = 4eoJdUbtx8sOf9AeLKmQasEsxPFtB/Ffjw9RVGJrpEY=
SIZE (libvirt-python-1.2.20.tar.gz) = 170437

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-generator_py,v 1.2 2015/09/02 06:35:26 jasper Exp $
https://bugzilla.redhat.com/show_bug.cgi?id=1222795
--- generator.py.orig Wed Sep 2 08:33:58 2015
+++ generator.py Wed Sep 2 08:34:11 2015
@@ -136,7 +136,7 @@ class docParser(xml.sax.handler.ContentHandler):
elif attrs['file'] == "libvirt-qemu":
qemu_enum(attrs['type'],attrs['name'],attrs['value'])
elif tag == "macro":
- if "string" in attrs:
+ if "string" in attrs.keys():
params.append((attrs['name'], attrs['string']))
def end(self, tag):