Date: Thursday, March 25, 2021 @ 21:48:02 Author: felixonmars Revision: 904198
upgpkg: haskell-lens 5-1: rebuild with lens 5 Modified: haskell-lens/trunk/PKGBUILD ----------+ PKGBUILD | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-03-25 21:17:37 UTC (rev 904197) +++ PKGBUILD 2021-03-25 21:48:02 UTC (rev 904198) @@ -3,36 +3,25 @@ _hkgname=lens pkgname=haskell-lens -pkgver=4.19.2 -pkgrel=96 +pkgver=5 +pkgrel=1 pkgdesc="Lenses, Folds and Traversals" url="https://github.com/ekmett/lens/" license=("BSD") arch=('x86_64') -depends=('ghc-libs' 'haskell-base-orphans' 'haskell-bifunctors' 'haskell-call-stack' 'haskell-comonad' - 'haskell-contravariant' 'haskell-distributive' 'haskell-free' - 'haskell-hashable' 'haskell-kan-extensions' 'haskell-parallel' 'haskell-profunctors' - 'haskell-reflection' 'haskell-semigroupoids' 'haskell-tagged' 'haskell-th-abstraction' +depends=('ghc-libs' 'haskell-assoc' 'haskell-base-orphans' 'haskell-bifunctors' + 'haskell-call-stack' 'haskell-comonad' 'haskell-contravariant' 'haskell-distributive' + 'haskell-free' 'haskell-hashable' 'haskell-indexed-traversable' + 'haskell-indexed-traversable-instances' 'haskell-kan-extensions' 'haskell-parallel' + 'haskell-profunctors' 'haskell-reflection' 'haskell-semigroupoids' 'haskell-strict' + 'haskell-tagged' 'haskell-th-abstraction' 'haskell-these' 'haskell-transformers-compat' 'haskell-unordered-containers' 'haskell-vector') -makedepends=('ghc' 'uusi' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-generic-deriving' 'haskell-hunit' - 'haskell-quickcheck' 'haskell-simple-reflect' 'haskell-test-framework' - 'haskell-test-framework-hunit' 'haskell-test-framework-quickcheck2') +makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-simple-reflect' + 'haskell-test-framework' 'haskell-test-framework-hunit' + 'haskell-test-framework-quickcheck2') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('f1627c950457c38b0363a71717b76c0c84eafdcebaf14904da632ea295195dee1fd11db07ca524988729254b0e018da4417e40c0cb4f8ff086fbe412ce89f4c6') +sha512sums=('56b07cacdd936130f587360bace5068600211c2d2a3d78a8585bc817080fb782918eb9fa25b2da050a828c67e90e6a275ccf4723de0956765ef113be0ab871e3') -prepare() { - cd $_hkgname-$pkgver - sed -i '/nats/d;/semigroups *>= 0.9/d' $_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() { cd $_hkgname-$pkgver
