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

Allan McRae allan at archlinux.org
Sat May 23 02:59:48 UTC 2020


    Date: Saturday, May 23, 2020 @ 02:59:47
  Author: allan
Revision: 387438

reproducibility fixes, disable broken test

Modified:
  gpgme/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 02:55:39 UTC (rev 387437)
+++ PKGBUILD	2020-05-23 02:59:47 UTC (rev 387438)
@@ -5,7 +5,7 @@
 pkgbase=gpgme
 pkgname=(gpgme qgpgme python-gpgme)
 pkgver=1.13.1
-pkgrel=5
+pkgrel=6
 pkgdesc="A C wrapper library for GnuPG"
 arch=('x86_64')
 url='https://www.gnupg.org/related_software/gpgme/'
@@ -16,6 +16,13 @@
             'SKIP')
 validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
 
+prepare() {
+  cd ${pkgbase}-${pkgver}
+
+  # touch python sources for reproducibility
+  find lang/python -name *.py -exec touch -d @$SOURCE_DATE_EPOCH {} +
+}
+
 build() {
   cd ${pkgbase}-${pkgver}
 
@@ -30,6 +37,9 @@
 check() {
   cd ${pkgbase}-${pkgver}
 
+  # this test fails with gnupg (FS#66572)
+  sed -i 's#"t-keylist-secret",##' tests/json/t-json.c
+
   make check
 }
 


More information about the arch-commits mailing list