[arch-commits] Commit in haskell-language-python/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 15 11:21:57 UTC 2018
Date: Monday, October 15, 2018 @ 11:21:57
Author: felixonmars
Revision: 394074
upgpkg: haskell-language-python 0.5.4-9
rebuild with ghc 8.6.1
Modified:
haskell-language-python/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-15 11:17:23 UTC (rev 394073)
+++ PKGBUILD 2018-10-15 11:21:57 UTC (rev 394074)
@@ -4,7 +4,7 @@
_hkgname=language-python
pkgname=haskell-language-python
pkgver=0.5.4
-pkgrel=8
+pkgrel=9
pkgdesc="Parsing and pretty printing of Python code."
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -20,6 +20,8 @@
cd "${srcdir}/${_hkgname}-${pkgver}"
patch -p1 -i ../ghc-8.2.1.patch
+ sed -i 's/== *0.5/==0.6/' $_hkgname.cabal
+
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
}
More information about the arch-commits
mailing list