[arch-commits] Commit in haskell-language-python/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 18 20:31:29 UTC 2018


    Date: Friday, May 18, 2018 @ 20:31:28
  Author: felixonmars
Revision: 324303

upgpkg: haskell-language-python 0.5.4-7

rebuild with ghc 8.4.2

Modified:
  haskell-language-python/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-18 20:08:03 UTC (rev 324302)
+++ PKGBUILD	2018-05-18 20:31:28 UTC (rev 324303)
@@ -5,7 +5,7 @@
 _hkgname=language-python
 pkgname=haskell-language-python
 pkgver=0.5.4
-pkgrel=6
+pkgrel=7
 pkgdesc="Parsing and pretty printing of Python code."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -20,6 +20,9 @@
 prepare() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     patch -p1 -i ../ghc-8.2.1.patch
+
+    sed -i '/import Data.Data/i import Prelude hiding ((<>))' src/Language/Python/Common/SrcLocation.hs
+    sed -i '/import Language.Python.Common.AST/i import Prelude hiding ((<>))' src/Language/Python/Common/PrettyAST.hs
 }
 
 build() {



More information about the arch-commits mailing list