Date: Friday, December 30, 2022 @ 21:24:49 Author: felixonmars Revision: 1372519
upgpkg: haskell-hls-plugin-api 1.3.0.0-1: rebuild with ghcide 1.6.0.0, haskell-language-server 1.6.0.0, hls-alternate-number-format-plugin 1.0.1.0, hls-brittany-plugin 1.0.2.0, hls-call-hierarchy-plugin 1.0.2.0, hls-class-plugin 1.0.2.0, hls-eval-plugin 1.2.1.0, hls-explicit-imports-plugin 1.0.2.0, hls-floskell-plugin 1.0.1.0, hls-fourmolu-plugin 1.0.2.0, hls-graph 1.6.0.0, hls-haddock-comments-plugin 1.0.1.0, hls-hlint-plugin 1.0.3.0, hls-module-name-plugin 1.0.1.0, hls-ormolu-plugin 1.0.2.0, hls-pragmas-plugin 1.0.2.0, hls-plugin-api 1.3.0.0, hls-qualify-imported-names-plugin 1.0.1.0, hls-refine-imports-plugin 1.0.1.0, hls-retrie-plugin 1.0.2.0, hls-selection-range-plugin 1.0.0.0, hls-splice-plugin 1.0.1.0, hls-stylish-haskell-plugin 1.0.1.0, hls-tactics-plugin 1.6.0.0, hls-test-utils 1.2.0.0, lsp 1.4.0.0, lsp-types 1.4.0.1 Modified: haskell-hls-plugin-api/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-12-30 21:22:34 UTC (rev 1372518) +++ PKGBUILD 2022-12-30 21:24:49 UTC (rev 1372519) @@ -2,28 +2,25 @@ _hkgname=hls-plugin-api pkgname=haskell-hls-plugin-api -pkgver=1.2.0.2 -pkgrel=30 +pkgver=1.3.0.0 +pkgrel=1 pkgdesc="Haskell Language Server API for plugin communication" url="https://github.com/haskell/haskell-language-server/hls-plugin-api" license=("Apache") arch=('x86_64') depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 'haskell-dependent-map' - 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 'haskell-ghc-api-compat' - 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 'haskell-lens' - 'haskell-lens-aeson' 'haskell-lsp' 'haskell-optparse-applicative' 'haskell-opentelemetry' - 'haskell-regex-tdfa' 'haskell-unordered-containers') -makedepends=('ghc' 'uusi') -source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz" - hls-plugin-api-aeson-2.patch) -sha512sums=('8654b38529ad8804dfb3296fe789ceafe111f1d7807ffa49a92af8a8cae9b5331167d64f01263efec37b280b1e029e4513455c8a9329349cb0aeba9b85233232' - '330d5a02d13df720252a0de3da311c7d3e549b6d31d7dc936b8a93b3dc5fc555d16f911ba1b59ba6388f93205757b2ecba1bcf3fe4e3558c9767d04df82c18c3') + 'haskell-dependent-sum' 'haskell-dlist' 'haskell-extra' 'haskell-ghc' 'haskell-hashable' + 'haskell-hls-graph' 'haskell-hslogger' 'haskell-lens' 'haskell-lens-aeson' + 'haskell-lsp' 'haskell-optparse-applicative' 'haskell-opentelemetry' 'haskell-regex-tdfa' + 'haskell-unordered-containers') +makedepends=('ghc' 'uusi' 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-hunit' + 'haskell-tasty-rerun') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") +sha512sums=('e110b9a04dda6a1a27f292bc076c13f58c2e27125f8ca84ce39eae898214128ba3bfd558f8faf3c3eae772e7bce82e6c0172b9a7de312aabc1109bac850336c2') prepare() { cd $_hkgname-$pkgver - patch -p2 -i ../hls-plugin-api-aeson-2.patch gen-setup - uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal } build() { @@ -42,6 +39,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