Date: Tuesday, October 4, 2022 @ 20:04:35
  Author: felixonmars
Revision: 1321271

upgpkg: haskell-brittany 0.14.0.0-1

Modified:
  haskell-brittany/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-04 20:04:20 UTC (rev 1321270)
+++ PKGBUILD    2022-10-04 20:04:35 UTC (rev 1321271)
@@ -2,26 +2,27 @@
 
 _hkgname=brittany
 pkgname=haskell-brittany
-pkgver=0.13.1.2
-pkgrel=14
+pkgver=0.14.0.0
+pkgrel=1
 pkgdesc="Haskell source code formatter"
 url="https://github.com/lspitzner/brittany/";
 license=("AGPL")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-butcher' 'haskell-cmdargs' 
'haskell-czipwith'
-         'haskell-data-tree-print' 'haskell-extra' 'haskell-ghc-exactprint' 
'haskell-ghc-paths'
+         'haskell-data-tree-print' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-exactprint'
          'haskell-monad-memo' 'haskell-multistate' 'haskell-random' 
'haskell-safe'
-         'haskell-strict' 'haskell-syb' 'haskell-uniplate' 'haskell-unsafe' 
'haskell-yaml')
+         'haskell-strict' 'haskell-syb' 'haskell-uniplate' 'haskell-yaml')
 makedepends=('ghc' 'uusi' 'haskell-hspec')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha512sums=('4f18de98284979e6c1f78af5eefa0d6699f044ae562b94e58244e454f4a7c2f7dd3a2861fb58da8c9413caa39a2183d6a3d8517140c6fc8da9b705b6154e7062')
+sha512sums=('eccc1113e7ce64d7ec8e283fe4c71eeae8dc4b1694f3a919ee658f220f6f7b07b4a7b440227972a44172cec8823dd5b384b1ebe0624045281b2c14143b42c274')
 
 prepare() {
   cd $_hkgname-$pkgver
-  uusi -r semigroups:Cabal $_hkgname.cabal
+  uusi -r semigroups:Cabal -u hspec $_hkgname.cabal
+  gen-setup
 
   # Hack to use Cabal's compatibility layer of semigroups
-  sed -i 's/import Data.Semigroup.Generic/import 
Distribution.Compat.Semigroup/' 
src/Language/Haskell/Brittany/Internal/Config/Types.hs
+  sed -i 's/import Data.Semigroup.Generic/import 
Distribution.Compat.Semigroup/' 
source/library/Language/Haskell/Brittany/Internal/Config/Types.hs
 }
 
 build() {
@@ -42,6 +43,7 @@
 
 check() {
   cd $_hkgname-$pkgver
+  mkdir output
   runhaskell Setup test --show-details=direct
 }
 

Reply via email to