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

Felix Yan felixonmars at archlinux.org
Tue Dec 15 19:33:34 UTC 2020


    Date: Tuesday, December 15, 2020 @ 19:33:34
  Author: felixonmars
Revision: 776101

upgpkg: haskell-cborg 0.2.4.0-48: rebuild with base16-bytestring 1.0.0.0, casa-types 0.0.2

Modified:
  haskell-cborg/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-15 19:32:40 UTC (rev 776100)
+++ PKGBUILD	2020-12-15 19:33:34 UTC (rev 776101)
@@ -3,13 +3,13 @@
 _hkgname=cborg
 pkgname=haskell-cborg
 pkgver=0.2.4.0
-pkgrel=47
+pkgrel=48
 pkgdesc="Concise Binary Object Representation (CBOR)"
 url="https://github.com/well-typed/cborg"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-half' 'haskell-primitive')
-makedepends=('ghc' 'haskell-aeson' 'haskell-base-orphans' 'haskell-base16-bytestring'
+makedepends=('ghc' 'uusi' 'haskell-aeson' 'haskell-base-orphans' 'haskell-base16-bytestring'
              'haskell-base64-bytestring' 'haskell-quickcheck' 'haskell-scientific' 'haskell-tasty'
              'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-vector')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
@@ -17,7 +17,8 @@
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i 's/< *1.2/<2/' $_hkgname.cabal
+    uusi -u base16-bytestring -u base64-bytestring $_hkgname.cabal
+    sed -i 's/fst (Base16.decode encoded16)/Base16.decodeLenient encoded16/' tests/Tests/Reference/TestVectors.hs
 }
 
 build() {



More information about the arch-commits mailing list