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

Jonas Witschel diabonas at archlinux.org
Sun Jul 12 19:45:51 UTC 2020


    Date: Sunday, July 12, 2020 @ 19:45:51
  Author: diabonas
Revision: 663353

upgpkg: cmark-gfm 0.29.0.gfm.0-2: fix test failure, reproducibility rebuild

Modified:
  cmark-gfm/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-12 18:48:07 UTC (rev 663352)
+++ PKGBUILD	2020-07-12 19:45:51 UTC (rev 663353)
@@ -3,7 +3,7 @@
 
 pkgname=cmark-gfm
 pkgver=0.29.0.gfm.0
-pkgrel=1
+pkgrel=2
 pkgdesc="GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C"
 arch=('x86_64')
 url="https://github.com/github/cmark"
@@ -10,11 +10,17 @@
 license=('custom:BSD2')
 depends=('glibc')
 makedepends=('cmake' 'python')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/github/cmark/archive/$pkgver.tar.gz")
-sha512sums=('54e396e035a43e4d0c86fa7f1c48a6a1283c0caaabdbc56dfcecee92e89e69f6d2e016ae2d9cf4f40258a6455fba7b813c1c6e6d37e53d33a381088ccbc5673e')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/github/cmark/archive/$pkgver.tar.gz"
+        "$pkgname-$pkgver-fix-tests-python-3.8.patch::https://github.com/github/cmark-gfm/commit/7f64038eebb0dcdeba4d3db8e2419586a1c0f9a5.patch")
+sha512sums=('54e396e035a43e4d0c86fa7f1c48a6a1283c0caaabdbc56dfcecee92e89e69f6d2e016ae2d9cf4f40258a6455fba7b813c1c6e6d37e53d33a381088ccbc5673e'
+            '604e0d1fb3b5b684f5c8b1176d48e5adcd406ccddd1f569c51162b71086009736a60cc5769a787b09f8069ce1041ba549c8833d9ae52265817a44278f71990f5')
 
 prepare() {
   mkdir -p build
+
+  cd cmark-gfm-$pkgver
+  # Fix test suite for Python 3.8 (https://github.com/github/cmark-gfm/pull/184)
+  patch -Np1 -i "$srcdir/$pkgname-$pkgver-fix-tests-python-3.8.patch"
 }
 
 build() {



More information about the arch-commits mailing list