[arch-commits] Commit in haskell-polyparse/trunk (PKGBUILD base-4.12.patch)
Felix Yan
felixonmars at archlinux.org
Thu Apr 23 14:29:32 UTC 2020
Date: Thursday, April 23, 2020 @ 14:29:32
Author: felixonmars
Revision: 618182
upgpkg: haskell-polyparse 1.13-4: rebuild with ghc 8.10.1
Modified:
haskell-polyparse/trunk/PKGBUILD
Deleted:
haskell-polyparse/trunk/base-4.12.patch
-----------------+
PKGBUILD | 7 ++++++-
base-4.12.patch | 20 --------------------
2 files changed, 6 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 14:05:26 UTC (rev 618181)
+++ PKGBUILD 2020-04-23 14:29:32 UTC (rev 618182)
@@ -4,7 +4,7 @@
_hkgname=polyparse
pkgname=haskell-polyparse
pkgver=1.13
-pkgrel=3
+pkgrel=4
pkgdesc="A variety of alternative parser combinator libraries."
url="http://code.haskell.org/~malcolm/polyparse/"
license=("LGPL")
@@ -14,6 +14,11 @@
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('3b66a73f97d6b5b6628193f87cae1ae1a68d63df0058532b2ac9a62af82dabe28e15fe1464075a2f436e70a7d20b57e72fdd7831f8b11035ff8117becb08d18e')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
build() {
cd $_hkgname-$pkgver
Deleted: base-4.12.patch
===================================================================
--- base-4.12.patch 2020-04-23 14:05:26 UTC (rev 618181)
+++ base-4.12.patch 2020-04-23 14:29:32 UTC (rev 618182)
@@ -1,20 +0,0 @@
-diff --git a/src/Text/Parse.hs.orig b/src/Text/Parse.hs
-index 8e50ecd..36cec28 100644
---- a/src/Text/Parse.hs.orig
-+++ b/src/Text/Parse.hs
-@@ -1,3 +1,5 @@
-+{-# LANGUAGE NoMonadFailDesugaring #-}
-+
- module Text.Parse
- ( -- * The Parse class is a replacement for the standard Read class.
- -- $parser
-diff --git a/src/Text/Parse/ByteString.hs.orig b/src/Text/Parse/ByteString.hs
-index a8a8a9b..5483fe8 100644
---- a/src/Text/Parse/ByteString.hs.orig
-+++ b/src/Text/Parse/ByteString.hs
-@@ -1,3 +1,5 @@
-+{-# LANGUAGE NoMonadFailDesugaring #-}
-+
- module Text.Parse.ByteString
- ( -- * The Parse class is a replacement for the standard Read class.
- -- This particular instance reads from ByteString rather than String.
More information about the arch-commits
mailing list