[arch-commits] Commit in haskell-lens/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jan 31 00:27:18 UTC 2021
Date: Sunday, January 31, 2021 @ 00:27:17
Author: felixonmars
Revision: 836810
upgpkg: haskell-lens 4.19.2-74: rebuild with vector 0.12.2.0
Modified:
haskell-lens/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-31 00:25:26 UTC (rev 836809)
+++ PKGBUILD 2021-01-31 00:27:17 UTC (rev 836810)
@@ -4,7 +4,7 @@
_hkgname=lens
pkgname=haskell-lens
pkgver=4.19.2
-pkgrel=73
+pkgrel=74
pkgdesc="Lenses, Folds and Traversals"
url="https://github.com/ekmett/lens/"
license=("BSD")
@@ -23,7 +23,14 @@
prepare() {
cd $_hkgname-$pkgver
sed -i '/nats/d;/semigroups *>= 0.9/d' $_hkgname.cabal
- uusi $_hkgname.cabal
+ uusi -u call-stack -u doctest -u th-abstraction $_hkgname.cabal
+
+ # https://github.com/ekmett/lens/issues/969
+ sed -e 's/import Data.Vector as Vector/import Data.Vector as Vector hiding (foldMap)/' \
+ -e 's/import Data.Vector.Primitive as Prim/import Data.Vector.Primitive as Prim hiding (foldMap)/' \
+ -e 's/import Data.Vector.Unboxed as Unboxed/import Data.Vector.Unboxed as Unboxed hiding (foldMap)/' \
+ -e 's/import Data.Vector.Storable as Storable/import Data.Vector.Storable as Storable hiding (foldMap)/' \
+ -i src/Control/Lens/Wrapped.hs
}
build() {
More information about the arch-commits
mailing list