Date: Thursday, May 17, 2018 @ 17:50:59
  Author: felixonmars
Revision: 323937

upgpkg: haskell-servant-swagger 1.1.4-73

rebuild with ghc 8.4.2

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-05-17 17:22:09 UTC (rev 323936)
+++ PKGBUILD    2018-05-17 17:50:59 UTC (rev 323937)
@@ -5,13 +5,13 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.4
-pkgrel=72
+pkgrel=73
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger";
 license=("custom:BSD3")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-http-media' 
'haskell-insert-ordered-containers'
-         'haskell-lens' 'haskell-servant' 'haskell-swagger2' 'haskell-text'
+         'haskell-lens' 'haskell-servant' 'haskell-swagger2'
          'haskell-unordered-containers' 'haskell-hspec' 'haskell-quickcheck')
 makedepends=('ghc' 'haskell-aeson-qq' 'haskell-cabal-doctest' 
'haskell-doctest')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
@@ -18,7 +18,9 @@
 
sha512sums=('990e8c03d6ed6da0ac15d80cd4bce5a46f816fce4e6cfb8eb11db664d09662075ae1ef3508a682fc695a76e3952d080c4e406a0cdb12b995e044935e408cd516')
 
 prepare() {
-    sed -i '/test-suite doctests/a \  x-doctest-options: -dynamic' 
$_hkgname-$pkgver/$_hkgname.cabal
+    cd $_hkgname-$pkgver
+    sed -e 's/<.*4.11/<5/' -e 's/<.*0.14/<1/' -e 's/<.*4.16/<5/' \
+        -i $_hkgname.cabal
 }
 
 build() {

Reply via email to