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

Felix Yan felixonmars at archlinux.org
Wed Dec 9 09:34:50 UTC 2020


    Date: Wednesday, December 9, 2020 @ 09:34:49
  Author: felixonmars
Revision: 772373

upstream update (including a workaround for https://github.com/haskell/c2hs/pull/266)

Modified:
  c2hs/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-09 09:34:18 UTC (rev 772372)
+++ PKGBUILD	2020-12-09 09:34:49 UTC (rev 772373)
@@ -2,8 +2,8 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=c2hs
-pkgver=0.28.6
-pkgrel=137
+pkgver=0.28.7
+pkgrel=1
 pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
 url="https://github.com/haskell/c2hs"
 license=("GPL2")
@@ -12,15 +12,18 @@
 makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
              'haskell-shelly')
 source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        c2hs-shelly-1.9.patch::https://github.com/haskell/c2hs/pull/258.patch)
-sha512sums=('848693ddf787244cc0f100f533030889a1efcef283f06ef609574d9cd0005679fab373172a949408ce6d4b9c97d15a56b0ec11fe39b466ad3f84aa527d2ab1c9'
-            'c76f68e393114512c4c217a37aab1c72df271666a30a958b0d4ea18f286c51b3f49352e4dec4d8158a89329f8c9e884f4f39548e4b72258a1ec82f4f7516740c')
+        https://github.com/haskell/c2hs/archive/fbb4c2fa6ec5528aa068512f1b691298db420321.tar.gz)
+sha512sums=('69c877349ae4864763d20664edae07a67aa1c55f5d4fccc3fcb6d06e94eb14d6b4b0201fc2840a9ebbc45a2a21ab55ad0e79f9cd88c00003df67abf5c1fd62d6'
+            '2953a07fecc95cfd5086b973a0d12b7407417f16bf73ad0f7d261e9e1884cf14b18663c15d86c8bf047dff05de70d4f01195e5d70c3225c86695fc57c8cf70e9')
 
 prepare() {
-    patch -d c2hs-$pkgver -p1 < c2hs-shelly-1.9.patch
     sed -i 's/cmd "ghc"/cmd "ghc" "-dynamic"/' c2hs-$pkgver/tests/test-*.hs
     sed -i 's/HC=ghc/HC="ghc -dynamic"/' c2hs-$pkgver/tests/system/Makefile
     sed -i 's/"ghc", \["-/"ghc", ["-dynamic", "-/' c2hs-$pkgver/tests/test-*.hs
+
+    # Missing test files
+    cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/bugs/issue-242 c2hs-$pkgver/tests/bugs/
+    cp -r c2hs-fbb4c2fa6ec5528aa068512f1b691298db420321/tests/system/interruptible c2hs-$pkgver/tests/system/
 }
 
 build() {



More information about the arch-commits mailing list