[arch-commits] Commit in pyalpm/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 08:49:19 UTC 2020


    Date: Tuesday, November 10, 2020 @ 08:49:19
  Author: foutrelis
Revision: 400050

Prepare bump to 0.9.2 for Python 3.9

Modified:
  pyalpm/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 08:21:26 UTC (rev 400049)
+++ PKGBUILD	2020-11-10 08:49:19 UTC (rev 400050)
@@ -1,27 +1,25 @@
 # Maintainer : Rémy Oudompheng <remy at archlinux.org>
 
 pkgname=pyalpm
-pkgver=0.9.1
-pkgrel=3
-pkgdesc="Libalpm bindings for Python 3"
+pkgver=0.9.2
+pkgrel=0
+pkgdesc="Python 3 bindings for libalpm"
 arch=('x86_64')
-url="https://git.archlinux.org/pyalpm.git/"
+url="https://gitlab.archlinux.org/archlinux/pyalpm"
 license=('GPL')
 makedepends=('git' 'python-setuptools' 'python-pytest')
-depends=('python>=3.6' 'pacman>=5.0')
-source=("git+https://git.archlinux.org/pyalpm.git#commit=81a1749b87793737961147a6843468b0dc3dd1e7" "memleak.patch"
-        pyalpm-gcc10.patch::https://git.archlinux.org/pyalpm.git/patch/?id=eaebfe83ba2b685156d3ed3cf000ee47ca5c5fb4)
+depends=('python' 'pacman')
+source=("git+https://gitlab.archlinux.org/archlinux/pyalpm.git#tag=$pkgver"
+        "memleak.patch")
 validpgpkeys=('E499C79F53C96A54E572FEE1C06086337C50773E')
 sha512sums=('SKIP'
-            'b7dacb28bc13f5c9fb9c9295d1a3d323b7b7c0893d69b110f3036b73a4930e8463b5a19011b0e5996ff55157768376c2e53ab97c557afe29bbe3b5d0c8a1e027'
-            '279b4cd4da9c67dde90132654cea7e0ef097e11c72a3b7bfe8259c9ec02d88e5d832d61ebde9b163e5e935c8ae113bd505e87c00786967745ea9368899a1a66b')
+            'b7dacb28bc13f5c9fb9c9295d1a3d323b7b7c0893d69b110f3036b73a4930e8463b5a19011b0e5996ff55157768376c2e53ab97c557afe29bbe3b5d0c8a1e027')
 
 prepare() {
   cd ${srcdir}/${pkgname}
-  # Rever memleak patch
+  # Revert memleak patch which causes 'random' segfauts since
+  # the handle is still used while it's already cleaned up.
   patch -NRp1 -i ${srcdir}/memleak.patch
-
-  patch -p1 -i ../pyalpm-gcc10.patch
 }
 
 build() {


More information about the arch-commits mailing list