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

Evangelos Foutras foutrelis at archlinux.org
Thu Dec 3 16:35:13 UTC 2020


    Date: Thursday, December 3, 2020 @ 16:35:13
  Author: foutrelis
Revision: 769704

upgpkg: libsigrokdecode 0.5.3-3: fix with Python 3.9 (FS#64518)

Modified:
  libsigrokdecode/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-03 16:25:58 UTC (rev 769703)
+++ PKGBUILD	2020-12-03 16:35:13 UTC (rev 769704)
@@ -4,15 +4,22 @@
 
 pkgname=libsigrokdecode
 pkgver=0.5.3
-pkgrel=2
+pkgrel=3
 pkgdesc='C library that provides protocol decoding for logic analyzers, protocol decoders, etc.'
 arch=('x86_64')
 url='https://www.sigrok.org/wiki/Libsigrokdecode'
 license=('GPL3')
 depends=('glib2' 'python')
-source=("https://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-$pkgver.tar.gz")
-sha512sums=('23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e')
+source=("https://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-$pkgver.tar.gz"
+        $pkgname-py39.patch::https://github.com/sigrokproject/libsigrokdecode/commit/9b0ad5177bd6.patch)
+sha512sums=('23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e'
+            'f1b26c227fc0eb5e831563e328a20beeb2412576bc50a0a241923dad1ebd1bd0eb07f2b3a4230ba99e3bf8db04cac6480ed8724e9727514d65cb3afe6838e189')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../$pkgname-py39.patch
+}
+
 build() {
   cd $pkgname-$pkgver
 



More information about the arch-commits mailing list