Date: Monday, October 10, 2022 @ 20:52:51
  Author: felixonmars
Revision: 1327596

upgpkg: haskell-yesod-core 1.6.24.0-44: rebuild with yesod-core (enable tests)

Modified:
  haskell-yesod-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-10 20:46:42 UTC (rev 1327595)
+++ PKGBUILD    2022-10-10 20:52:51 UTC (rev 1327596)
@@ -4,7 +4,7 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.6.24.0
-pkgrel=43
+pkgrel=44
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/";
 license=("MIT")
@@ -17,7 +17,8 @@
          'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 
'haskell-unix-compat'
          'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
          'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 
'haskell-word8')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-async' 'haskell-hspec'
+             'haskell-hspec-expectations' 'haskell-network' 
'haskell-streaming-commons')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
 
sha512sums=('9e12fb59884e521213a5b47a01f0806278008f27121dcd5a706666f04f8b47d443f9e3759330b550bcf865534dd9f464e6a3c1770fb0c882325a058bbcbdbd89')
 
@@ -30,7 +31,7 @@
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
@@ -39,6 +40,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test --show-details=direct
+}
+
 package() {
     cd $_hkgname-$pkgver
     

Reply via email to