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

Felix Yan felixonmars at archlinux.org
Fri May 14 19:27:16 UTC 2021


    Date: Friday, May 14, 2021 @ 19:27:15
  Author: felixonmars
Revision: 934305

upgpkg: haskell-monad-dijkstra 0.1.1.3-111: rebuild with hspec 2.8.0, hspec-core 2.8.0, hspec-discover 2.8.0, tasty-hspec 1.1.7

Modified:
  haskell-monad-dijkstra/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 19:08:46 UTC (rev 934304)
+++ PKGBUILD	2021-05-14 19:27:15 UTC (rev 934305)
@@ -3,16 +3,22 @@
 _hkgname=monad-dijkstra
 pkgname=haskell-monad-dijkstra
 pkgver=0.1.1.3
-pkgrel=110
+pkgrel=111
 pkgdesc="A monad transformer for weighted graph searches"
 url="https://github.com/ennocramer/monad-dijkstra"
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-free' 'haskell-psqueues')
-makedepends=('ghc' 'hlint' 'haskell-tasty' 'haskell-tasty-hspec')
+makedepends=('ghc' 'uusi' 'hlint' 'haskell-tasty' 'haskell-tasty-hspec')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha256sums=('6c6270f94d27203b6974563398e4b7e81ae53e6110cffaecf8ff6297c11ceb8f')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -r tasty-hspec:tasty-hspec,hspec $_hkgname.cabal
+  sed -i '/Test.Tasty.Hspec/a import Test.Hspec' test/Main.hs
+}
+
 build() {
   cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list