Date: Saturday, February 4, 2023 @ 22:59:39
  Author: felixonmars
Revision: 1392479

upgpkg: haskell-hls-test-utils 1.3.0.0-1: rebuild with ghcide 1.7.0.0, 
haskell-language-server 1.7.0.0, hie-bios 0.9.1, 
hls-alternate-number-format-plugin 1.1.0.0, hls-brittany-plugin 1.0.2.1, 
hls-call-hierarchy-plugin 1.0.3.0, hls-change-type-signature-plugin 1.0.1.0, 
hls-class-plugin 1.0.3.0, hls-eval-plugin 1.2.2.0, hls-explicit-imports-plugin 
1.1.0.0, hls-floskell-plugin 1.0.1.1, hls-fourmolu-plugin 1.0.3.0, hls-graph 
1.7.0.0, hls-hlint-plugin 1.0.4.0, hls-module-name-plugin 1.0.2.0, 
hls-ormolu-plugin 1.0.2.1, hls-plugin-api 1.4.0.0, hls-pragmas-plugin 1.0.2.1, 
hls-refine-imports-plugin 1.0.2.0, hls-rename-plugin 1.0.0.2, hls-retrie-plugin 
1.0.2.1, hls-stylish-haskell-plugin 1.0.1.1, hls-tactics-plugin 1.6.2.0, 
hls-test-utils 1.3.0.0

Modified:
  haskell-hls-test-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-04 22:57:49 UTC (rev 1392478)
+++ PKGBUILD    2023-02-04 22:59:39 UTC (rev 1392479)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
-pkgver=1.2.0.0
-pkgrel=11
+pkgver=1.3.0.0
+pkgrel=1
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")
@@ -10,20 +10,16 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
          'haskell-extra' 'haskell-ghcide' 'haskell-hls-graph' 
'haskell-hls-plugin-api'
-         'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
-         'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
-         'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
-         'haskell-unordered-containers')
+         'haskell-lens' 'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 
'haskell-tasty'
+         'haskell-tasty-expected-failure' 'haskell-tasty-golden' 
'haskell-tasty-hunit'
+         'haskell-tasty-rerun' 'haskell-temporary' 
'haskell-unordered-containers')
 makedepends=('ghc' 'uusi')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha512sums=('9df180603e9a41a87cbeb80b9ff0b12ba9aec27902d66b2568db5b0f14c51a551c0717d747ff849b64d9e5a8a1c26073ba865b886a6c9f923fe66d22e7155f79')
+sha512sums=('c552551c9c03936d325b56b34481884b92a8396cdf18f632ddf3c2d4ce96c69d80a875e5bda358b3231dae9fa60cdf41a1d07c3e90acfdfa02292fd8f8b9fef0')
 
 prepare() {
   cd $_hkgname-$pkgver
   gen-setup
-  uusi -u hspec $_hkgname.cabal
-  # https://github.com/haskell/haskell-language-server/issues/1835
-  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
 }
 
 build() {
@@ -42,6 +38,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