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

Felix Yan felixonmars at archlinux.org
Sat Mar 13 16:20:39 UTC 2021


    Date: Saturday, March 13, 2021 @ 16:20:38
  Author: felixonmars
Revision: 890338

upgpkg: haskell-swagger2 2.6-131: rebuild with optics-core 0.4, optics-extra 0.4, optics-th 0.4

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-13 16:16:21 UTC (rev 890337)
+++ PKGBUILD	2021-03-13 16:20:38 UTC (rev 890338)
@@ -4,7 +4,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.6
-pkgrel=130
+pkgrel=131
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2"
 license=("BSD")
@@ -15,7 +15,7 @@
          'haskell-optics-th' 'haskell-quickcheck' 'haskell-scientific'
          'haskell-transformers-compat' 'haskell-unordered-containers' 'haskell-vector'
          'haskell-uuid-types')
-makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-quickcheck-instances'
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hunit' 'haskell-quickcheck-instances'
              'haskell-hspec-discover' 'haskell-doctest' 'haskell-cabal-doctest' 'haskell-glob'
              'haskell-utf8-string')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
@@ -23,7 +23,7 @@
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i 's/< *2.14/<3/;s/< *1.5/<2/' $_hkgname.cabal
+    uusi -u QuickCheck -u aeson -u optics-core -u optics-th $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list