Date: Monday, January 23, 2017 @ 17:19:50 Author: spupykin Revision: 208612
archrelease: copy trunk to community-i686, community-x86_64 Added: libvirt-python/repos/community-i686/PKGBUILD (from rev 208611, libvirt-python/trunk/PKGBUILD) libvirt-python/repos/community-i686/libvirt-python.install (from rev 208611, libvirt-python/trunk/libvirt-python.install) libvirt-python/repos/community-i686/python3.6.patch (from rev 208611, libvirt-python/trunk/python3.6.patch) libvirt-python/repos/community-x86_64/PKGBUILD (from rev 208611, libvirt-python/trunk/PKGBUILD) libvirt-python/repos/community-x86_64/libvirt-python.install (from rev 208611, libvirt-python/trunk/libvirt-python.install) libvirt-python/repos/community-x86_64/python3.6.patch (from rev 208611, 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 | 42 --------------- community-i686/libvirt-python.install | 3 - community-i686/python3.6.patch | 27 --------- community-x86_64/PKGBUILD | 42 --------------- community-x86_64/libvirt-python.install | 3 - community-x86_64/python3.6.patch | 27 --------- 9 files changed, 142 insertions(+), 144 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2017-01-23 17:19:31 UTC (rev 208611) +++ community-i686/PKGBUILD 2017-01-23 17:19:50 UTC (rev 208612) @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Jonathan Wiersma <archaur at jonw dot org> - -pkgbase=libvirt-python -pkgname=(libvirt-python libvirt-python3) -pkgver=2.2.0 -pkgrel=2 -pkgdesc="libvirt python binding" -arch=('i686' 'x86_64') -url="http://libvirt.org/" -license=('LGPL') -makedepends=('python' 'python2' 'libvirt') -options=('emptydirs') -install="libvirt-python.install" -validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F') -source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz"{,.asc} - python3.6.patch) -sha256sums=('ba6b2eb3f018275e9720498d7b771959c2d51ebd54f6e956de5055f912afea76' - 'SKIP' - '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 208611, libvirt-python/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-01-23 17:19:50 UTC (rev 208612) @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+a...@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" +} Deleted: community-i686/libvirt-python.install =================================================================== --- community-i686/libvirt-python.install 2017-01-23 17:19:31 UTC (rev 208611) +++ community-i686/libvirt-python.install 2017-01-23 17:19:50 UTC (rev 208612) @@ -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 208611, libvirt-python/trunk/libvirt-python.install) =================================================================== --- community-i686/libvirt-python.install (rev 0) +++ community-i686/libvirt-python.install 2017-01-23 17:19:50 UTC (rev 208612) @@ -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-01-23 17:19:31 UTC (rev 208611) +++ community-i686/python3.6.patch 2017-01-23 17:19:50 UTC (rev 208612) @@ -1,27 +0,0 @@ -From f5edaf1ba5bc2db38ae0c7f595e17aff9d89dcfa Mon Sep 17 00:00:00 2001 -From: "Daniel P. Berrange" <berra...@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 <berra...@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 208611, libvirt-python/trunk/python3.6.patch) =================================================================== --- community-i686/python3.6.patch (rev 0) +++ community-i686/python3.6.patch 2017-01-23 17:19:50 UTC (rev 208612) @@ -0,0 +1,27 @@ +From f5edaf1ba5bc2db38ae0c7f595e17aff9d89dcfa Mon Sep 17 00:00:00 2001 +From: "Daniel P. Berrange" <berra...@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 <berra...@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-01-23 17:19:31 UTC (rev 208611) +++ community-x86_64/PKGBUILD 2017-01-23 17:19:50 UTC (rev 208612) @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Jonathan Wiersma <archaur at jonw dot org> - -pkgbase=libvirt-python -pkgname=(libvirt-python libvirt-python3) -pkgver=2.2.0 -pkgrel=2 -pkgdesc="libvirt python binding" -arch=('i686' 'x86_64') -url="http://libvirt.org/" -license=('LGPL') -makedepends=('python' 'python2' 'libvirt') -options=('emptydirs') -install="libvirt-python.install" -validpgpkeys=('C74415BA7C9C7F78F02E1DC34606B8A5DE95BC1F') -source=("http://libvirt.org/sources/python/libvirt-python-$pkgver.tar.gz"{,.asc} - python3.6.patch) -sha256sums=('ba6b2eb3f018275e9720498d7b771959c2d51ebd54f6e956de5055f912afea76' - 'SKIP' - '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 208611, libvirt-python/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-01-23 17:19:50 UTC (rev 208612) @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 101980 2013-12-03 09:48:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+a...@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" +} Deleted: community-x86_64/libvirt-python.install =================================================================== --- community-x86_64/libvirt-python.install 2017-01-23 17:19:31 UTC (rev 208611) +++ community-x86_64/libvirt-python.install 2017-01-23 17:19:50 UTC (rev 208612) @@ -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 208611, libvirt-python/trunk/libvirt-python.install) =================================================================== --- community-x86_64/libvirt-python.install (rev 0) +++ community-x86_64/libvirt-python.install 2017-01-23 17:19:50 UTC (rev 208612) @@ -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-01-23 17:19:31 UTC (rev 208611) +++ community-x86_64/python3.6.patch 2017-01-23 17:19:50 UTC (rev 208612) @@ -1,27 +0,0 @@ -From f5edaf1ba5bc2db38ae0c7f595e17aff9d89dcfa Mon Sep 17 00:00:00 2001 -From: "Daniel P. Berrange" <berra...@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 <berra...@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 208611, libvirt-python/trunk/python3.6.patch) =================================================================== --- community-x86_64/python3.6.patch (rev 0) +++ community-x86_64/python3.6.patch 2017-01-23 17:19:50 UTC (rev 208612) @@ -0,0 +1,27 @@ +From f5edaf1ba5bc2db38ae0c7f595e17aff9d89dcfa Mon Sep 17 00:00:00 2001 +From: "Daniel P. Berrange" <berra...@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 <berra...@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 = {