summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrent s2018-05-10 18:58:32 -0400
committerbrent s2018-05-10 18:58:32 -0400
commit794be0a1435b24b526c7e072329d43cb5744f966 (patch)
treee3e6b782b596652728a697880b893ce293d8404e
parentf9a07aaf4fcc792954a655507aa627c514be2a71 (diff)
downloadaur-794be0a1435b24b526c7e072329d43cb5744f966.tar.gz
version bump upstream
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD21
-rw-r--r--guestfs-1.38.0.tar.gz.sig16
-rw-r--r--guestfs-1.38.1.tar.gz.sigbin0 -> 566 bytes
-rw-r--r--python3_fix.patch15
-rw-r--r--python3_fix.patch.sigbin0 -> 566 bytes
6 files changed, 42 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00aeeeab653..eced85fc26f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,25 @@
# Generated by mksrcinfo v8
-# Wed Feb 28 05:28:37 UTC 2018
+# Thu May 10 22:58:32 UTC 2018
pkgbase = python-libguestfs
pkgdesc = Python bindings for libguestfs
- pkgver = 1.38.0
- pkgrel = 2
+ pkgver = 1.38.1
+ pkgrel = 1
url = http://libguestfs.org/
arch = any
license = LGPL3
makedepends = python-setuptools
makedepends = python2-setuptools
makedepends = libguestfs
- source = http://download.libguestfs.org/python/guestfs-1.38.0.tar.gz
- source = guestfs-1.38.0.tar.gz.sig
- sha512sums = 35aa80c6889fd11aeac364436e6dfe5199b5a9771937085a45c9cc1d6943559cd33fda7e28d62f54ba06e10b5f0f8e462dc94d35621c7da3bc82467f60d988cd
+ depends = python
+ depends = libguestfs
+ source = http://download.libguestfs.org/python/guestfs-1.38.1.tar.gz
+ source = python3_fix.patch
+ source = guestfs-1.38.1.tar.gz.sig
+ source = python3_fix.patch
+ sha512sums = 0e8ddbfd9d7cd737728434863dfa32c6089adde28bf5cac34229cb114096ad493cacc46c78fffbc2edb708faafe5156a101d6a28bd4dfb8d32d927691df10120
+ sha512sums = 8e67eda29a5663e7da428a76f2884d6140a70591568a30cdcd7a735631bc170efd6cca740da55b6523a652c3451dcb2215a248e6fea80339ee318a281756b0f5
+ sha512sums = SKIP
sha512sums = SKIP
pkgname = python-libguestfs
- depends = python
- depends = libguestfs
diff --git a/PKGBUILD b/PKGBUILD
index 98b3c2957ce..4d639d30920 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,30 @@ validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=python-libguestfs
-pkgver=1.38.0
-pkgrel=2
+pkgver=1.38.1
+pkgrel=1
pkgdesc="Python bindings for libguestfs"
arch=('any')
url="http://libguestfs.org/"
license=('LGPL3')
_pkgname=guestfs
makedepends=('python-setuptools' 'python2-setuptools' 'libguestfs')
+depends=('python' 'libguestfs')
source=("http://download.libguestfs.org/python/${_pkgname}-${pkgver}.tar.gz"
- "${_pkgname}-${pkgver}.tar.gz.sig")
-sha512sums=('35aa80c6889fd11aeac364436e6dfe5199b5a9771937085a45c9cc1d6943559cd33fda7e28d62f54ba06e10b5f0f8e462dc94d35621c7da3bc82467f60d988cd'
+ "python3_fix.patch"
+ "${_pkgname}-${pkgver}.tar.gz.sig"
+ "python3_fix.patch")
+sha512sums=('0e8ddbfd9d7cd737728434863dfa32c6089adde28bf5cac34229cb114096ad493cacc46c78fffbc2edb708faafe5156a101d6a28bd4dfb8d32d927691df10120'
+ '8e67eda29a5663e7da428a76f2884d6140a70591568a30cdcd7a735631bc170efd6cca740da55b6523a652c3451dcb2215a248e6fea80339ee318a281756b0f5'
+ 'SKIP'
'SKIP')
-package_python-libguestfs() {
- depends=('python' 'libguestfs')
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ patch -p1 < ${srcdir}/python3_fix.patch
+}
+
+package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
diff --git a/guestfs-1.38.0.tar.gz.sig b/guestfs-1.38.0.tar.gz.sig
deleted file mode 100644
index 4e80d2ac128..00000000000
--- a/guestfs-1.38.0.tar.gz.sig
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCgAdFiEEdIIx68vYCKFPXoXSjABML5NIH2sFAlqWPZgACgkQjABML5NI
-H2v9/RAArJI8zv1MX6y9TxFrjuc/NCjVivDkc+V7CH5sSxbM3LWL+VcH+4Cy/dok
-A1lAXRNAHMNEW/DrW0JMsCvNJwO2qUOGkw6oaIZwXvC3vADtDoMbdtvUZqwkgDRf
-5g+jOJdZivIpQZpCvTGtezGU38wiIsk+uLcgWXBVLK0RU1dKgFbg15WqjbzECL1w
-mOhlQwYKvcJpqEQP/jRyuvkNQ+q8oGTidK67YgIocao3naN1lxjH/vK/9rotsmCl
-NGoCSvE8o3q/OS4HCBrPwCV9N5Z8gUUmWbiJBrL9rSGK8mM31RSh4yFyImuHqTNf
-+W15m15HgWy1tXM+6MBOuHIbrH82kxKl0MxgYUYA4ACxOGGMHorAZo/k3Mrrk8/1
-yqeP9Hg6PESdFS41EhjcJM5TuK7CJ6nLSdp6qntmKoHUErjEdNeNr1Crn8jh2ABk
-mi6o3EwO7E9H5eibJCtt0NjS0qhBE9Ef9Oph5yCJEqXNQ2DxPtOsGLDGYo9fTLo8
-i6RlPcGoAbfX+ddyHnltkpc2qJSIzoo0w7mZzn/MfacMKm73+3kv3YBom3dPnFK5
-HSnpqXWn9+D8E+I0vNdRkrf4pYNNUQBQUjeB3pUz4Bgr09KZfsiMBuLuprHobEMK
-G9/8tKQ+DnNMzQL4W0u2E4apJykKpM/cf1aZJPLumJZ7h/bCg6Q=
-=sTyx
------END PGP SIGNATURE-----
diff --git a/guestfs-1.38.1.tar.gz.sig b/guestfs-1.38.1.tar.gz.sig
new file mode 100644
index 00000000000..f6290351650
--- /dev/null
+++ b/guestfs-1.38.1.tar.gz.sig
Binary files differ
diff --git a/python3_fix.patch b/python3_fix.patch
new file mode 100644
index 00000000000..55f02ca3e54
--- /dev/null
+++ b/python3_fix.patch
@@ -0,0 +1,15 @@
+Thanks to
+https://www.mail-archive.com/libguestfs@redhat.com/msg13973.html
+
+--- a/actions.h 2018-02-28 00:39:13.189935224 -0500
++++ b/actions.h 2018-02-28 00:40:33.010503002 -0500
+@@ -57,9 +57,6 @@
+ {
+ assert (g);
+ #ifndef HAVE_PYCAPSULE_NEW
+- return
+- PyCObject_FromVoidPtrAndDesc ((void *) g, (char *) "guestfs_h", NULL);
+-#else
+ return PyCapsule_New ((void *) g, "guestfs_h", NULL);
+ #endif
+ }
diff --git a/python3_fix.patch.sig b/python3_fix.patch.sig
new file mode 100644
index 00000000000..23f1f504274
--- /dev/null
+++ b/python3_fix.patch.sig
Binary files differ