Date: Thursday, March 2, 2023 @ 14:02:43
  Author: felixonmars
Revision: 1406900

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lsp/repos/community-staging-x86_64/PKGBUILD
    (from rev 1406898, haskell-lsp/trunk/PKGBUILD)
  haskell-lsp/repos/community-staging-x86_64/lsp-aeson-2.patch
    (from rev 1406899, haskell-lsp/trunk/lsp-aeson-2.patch)
Deleted:
  haskell-lsp/repos/community-staging-x86_64/PKGBUILD
  haskell-lsp/repos/community-staging-x86_64/lsp-aeson-2.patch

-------------------+
 PKGBUILD          |  110 ++++++++++++++++++++++++++--------------------------
 lsp-aeson-2.patch |   76 +++++++++++++++++------------------
 2 files changed, 93 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-02 14:02:35 UTC (rev 1406899)
+++ PKGBUILD    2023-03-02 14:02:43 UTC (rev 1406900)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-_hkgname=lsp
-pkgname=haskell-lsp
-pkgver=1.6.0.0
-pkgrel=4
-pkgdesc="Haskell library for the Microsoft Language Server Protocol"
-url="https://github.com/haskell/lsp";
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-co-log-core'
-         'haskell-data-default' 'haskell-hashable' 'haskell-lens' 
'haskell-lsp-types'
-         'haskell-prettyprinter' 'haskell-random' 'haskell-sorted-list' 
'haskell-temporary'
-         'haskell-text-rope' 'haskell-unliftio-core' 
'haskell-unordered-containers' 'haskell-uuid'
-         'haskell-unliftio')
-makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
-sha512sums=('e943409c6321d87178b8ac2e331ee67e259df9661a7ad4e0d30238ea79b29e79129b45bdb25d420e633e7e74c632ce6f1a1ba6e6a3ead2e0c47db5a3418cf476')
-
-prepare() {
-  cd $_hkgname-$pkgver
-  gen-setup
-}
-
-build() {
-  cd $_hkgname-$pkgver
-
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie' \
-    -fdemo
-
-  runhaskell Setup build $MAKEFLAGS
-  runhaskell Setup register --gen-script
-  runhaskell Setup unregister --gen-script
-  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-  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
-
-  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
-  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-  runhaskell Setup copy --destdir="$pkgdir"
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 1406898, 
haskell-lsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-02 14:02:43 UTC (rev 1406900)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <[email protected]>
+
+_hkgname=lsp
+pkgname=haskell-lsp
+pkgver=1.6.0.0
+pkgrel=5
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/haskell/lsp";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-co-log-core'
+         'haskell-data-default' 'haskell-hashable' 'haskell-lens' 
'haskell-lsp-types'
+         'haskell-prettyprinter' 'haskell-random' 'haskell-sorted-list' 
'haskell-temporary'
+         'haskell-text-rope' 'haskell-unliftio-core' 
'haskell-unordered-containers' 'haskell-uuid'
+         'haskell-unliftio')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('e943409c6321d87178b8ac2e331ee67e259df9661a7ad4e0d30238ea79b29e79129b45bdb25d420e633e7e74c632ce6f1a1ba6e6a3ead2e0c47db5a3418cf476')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie' \
+    -fdemo
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  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
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Deleted: lsp-aeson-2.patch
===================================================================
--- lsp-aeson-2.patch   2023-03-02 14:02:35 UTC (rev 1406899)
+++ lsp-aeson-2.patch   2023-03-02 14:02:43 UTC (rev 1406900)
@@ -1,38 +0,0 @@
-From c974bb0eaa204791c5abb7d051fe5b92ee018d80 Mon Sep 17 00:00:00 2001
-From: Kobayashi <[email protected]>
-Date: Tue, 4 Jan 2022 22:20:20 +0800
-Subject: [PATCH] fix textDocument/selectionRange's method (#388)
-
-* fix selection range
-
-* remove Arbitrary instance for Value when aeson provides it
----
- lsp-types/src/Language/LSP/Types/Method.hs | 2 +-
- lsp/test/JsonSpec.hs                       | 3 +++
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/lsp/test/JsonSpec.hs b/lsp/test/JsonSpec.hs
-index 7d77e940..ab95dbf0 100644
---- a/lsp/test/JsonSpec.hs
-+++ b/lsp/test/JsonSpec.hs
-@@ -1,3 +1,4 @@
-+{-# LANGUAGE CPP                  #-}
- {-# LANGUAGE UndecidableInstances #-}
- {-# LANGUAGE FlexibleContexts     #-}
- {-# LANGUAGE TypeInType           #-}
-@@ -159,6 +160,7 @@ smallList = resize 3 . listOf
- instance (Arbitrary a) => Arbitrary (List a) where
-   arbitrary = List <$> arbitrary
- 
-+#if !MIN_VERSION_aeson(2,0,3)
- instance Arbitrary J.Value where
-   arbitrary = oneof
-     [ J.String <$> arbitrary
-@@ -166,6 +168,7 @@ instance Arbitrary J.Value where
-     , J.Bool <$> arbitrary
-     , pure J.Null
-     ]
-+#endif
- 
- -- ---------------------------------------------------------------------
- 

Copied: haskell-lsp/repos/community-staging-x86_64/lsp-aeson-2.patch (from rev 
1406899, haskell-lsp/trunk/lsp-aeson-2.patch)
===================================================================
--- lsp-aeson-2.patch                           (rev 0)
+++ lsp-aeson-2.patch   2023-03-02 14:02:43 UTC (rev 1406900)
@@ -0,0 +1,38 @@
+From c974bb0eaa204791c5abb7d051fe5b92ee018d80 Mon Sep 17 00:00:00 2001
+From: Kobayashi <[email protected]>
+Date: Tue, 4 Jan 2022 22:20:20 +0800
+Subject: [PATCH] fix textDocument/selectionRange's method (#388)
+
+* fix selection range
+
+* remove Arbitrary instance for Value when aeson provides it
+---
+ lsp-types/src/Language/LSP/Types/Method.hs | 2 +-
+ lsp/test/JsonSpec.hs                       | 3 +++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/lsp/test/JsonSpec.hs b/lsp/test/JsonSpec.hs
+index 7d77e940..ab95dbf0 100644
+--- a/lsp/test/JsonSpec.hs
++++ b/lsp/test/JsonSpec.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP                  #-}
+ {-# LANGUAGE UndecidableInstances #-}
+ {-# LANGUAGE FlexibleContexts     #-}
+ {-# LANGUAGE TypeInType           #-}
+@@ -159,6 +160,7 @@ smallList = resize 3 . listOf
+ instance (Arbitrary a) => Arbitrary (List a) where
+   arbitrary = List <$> arbitrary
+ 
++#if !MIN_VERSION_aeson(2,0,3)
+ instance Arbitrary J.Value where
+   arbitrary = oneof
+     [ J.String <$> arbitrary
+@@ -166,6 +168,7 @@ instance Arbitrary J.Value where
+     , J.Bool <$> arbitrary
+     , pure J.Null
+     ]
++#endif
+ 
+ -- ---------------------------------------------------------------------
+ 

Reply via email to