[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, October 4, 2021 @ 14:20:15 Author: felixonmars Revision: 1027417 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1027416, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1027416, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1027416, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-04 14:20:15 UTC (rev 1027417) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=67 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$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' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1027416, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-10-04 14:20:15 UTC (rev 1027417) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Saturday, October 2, 2021 @ 14:15:21 Author: felixonmars Revision: 1026863 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1026862, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1026862, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1026862, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-02 14:15:21 UTC (rev 1026863) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=66 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$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' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1026862, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-10-02 14:15:21 UTC (rev 1026863) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Sunday, September 26, 2021 @ 03:17:31 Author: felixonmars Revision: 1025441 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1025440, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1025440, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1025440, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-26 03:17:31 UTC (rev 1025441) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=65 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$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' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1025440, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-26 03:17:31 UTC (rev 1025441) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Saturday, September 25, 2021 @ 04:30:09 Author: felixonmars Revision: 1024308 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1024307, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1024307, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1024307, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-25 04:30:09 UTC (rev 1024308) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=64 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$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' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1024307, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-25 04:30:09 UTC (rev 1024308) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, September 23, 2021 @ 10:24:31 Author: felixonmars Revision: 1021774 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1021773, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1021773, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1021773, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-23 10:24:31 UTC (rev 1021774) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=63 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$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' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1021773, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-23 10:24:31 UTC (rev 1021774) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, September 20, 2021 @ 21:40:47 Author: felixonmars Revision: 1019813 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1019812, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1019812, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1019812, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-20 21:40:47 UTC (rev 1019813) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=62 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1019812, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-20 21:40:47 UTC (rev 1019813) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, September 20, 2021 @ 11:26:50 Author: felixonmars Revision: 1018729 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1018728, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1018728, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1018728, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-20 11:26:50 UTC (rev 1018729) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=61 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1018728, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-20 11:26:50 UTC (rev 1018729) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Friday, September 17, 2021 @ 13:26:27 Author: felixonmars Revision: 1016763 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1016762, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1016762, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1016762, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-17 13:26:27 UTC (rev 1016763) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=60 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1016762, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-17 13:26:27 UTC (rev 1016763) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Wednesday, September 15, 2021 @ 14:10:35 Author: felixonmars Revision: 1015554 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1015553, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1015553, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1015553, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-15 14:10:35 UTC (rev 1015554) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=59 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1015553, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-15 14:10:35 UTC (rev 1015554) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, September 9, 2021 @ 20:09:18 Author: felixonmars Revision: 1013143 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1013142, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1013142, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1013142, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-09 20:09:18 UTC (rev 1013143) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=58 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1013142, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-09 20:09:18 UTC (rev 1013143) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Wednesday, September 8, 2021 @ 06:28:59 Author: felixonmars Revision: 1012514 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1012513, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1012513, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1012513, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-08 06:28:59 UTC (rev 1012514) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=57 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1012513, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-08 06:28:59 UTC (rev 1012514) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Saturday, September 4, 2021 @ 14:38:42 Author: felixonmars Revision: 1011287 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1011286, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1011286, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1011286, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-09-04 14:38:42 UTC (rev 1011287) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=56 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1011286, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-09-04 14:38:42 UTC (rev 1011287) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Sunday, August 29, 2021 @ 11:20:57 Author: felixonmars Revision: 1009155 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1009154, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1009154, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1009154, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-29 11:20:57 UTC (rev 1009155) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=55 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1009154, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-29 11:20:57 UTC (rev 1009155) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions,
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, August 26, 2021 @ 17:01:54 Author: felixonmars Revision: 1006363 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1006362, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1006362, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1006362, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-26 17:01:54 UTC (rev 1006363) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=54 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1006362, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-26 17:01:54 UTC (rev 1006363) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Tuesday, August 17, 2021 @ 21:53:05 Author: felixonmars Revision: 1002743 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1002742, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1002742, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1002742, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-17 21:53:05 UTC (rev 1002743) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=53 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1002742, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-17 21:53:05 UTC (rev 1002743) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, August 16, 2021 @ 07:13:29 Author: felixonmars Revision: 1000113 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1000112, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1000112, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 1000112, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-16 07:13:29 UTC (rev 1000113) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=52 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 1000112, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-16 07:13:29 UTC (rev 1000113) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions,
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Friday, August 13, 2021 @ 17:57:39 Author: felixonmars Revision: 998245 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 998244, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 998244, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 998244, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-13 17:57:39 UTC (rev 998245) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=51 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 998244, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-13 17:57:39 UTC (rev 998245) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, August 12, 2021 @ 17:53:48 Author: felixonmars Revision: 997710 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 997709, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 997709, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 997709, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-12 17:53:48 UTC (rev 997710) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=50 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 997709, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-12 17:53:48 UTC (rev 997710) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, August 9, 2021 @ 03:47:12 Author: felixonmars Revision: 996380 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 996379, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 996379, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 996379, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-09 03:47:12 UTC (rev 996380) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=49 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 996379, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-09 03:47:12 UTC (rev 996380) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Friday, August 6, 2021 @ 11:29:17 Author: felixonmars Revision: 994258 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 994257, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 994257, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 994257, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-06 11:29:17 UTC (rev 994258) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=48 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 994257, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-06 11:29:17 UTC (rev 994258) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, August 2, 2021 @ 22:21:28 Author: felixonmars Revision: 993174 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 993173, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 993173, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 993173, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-02 22:21:28 UTC (rev 993174) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=47 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 993173, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-02 22:21:28 UTC (rev 993174) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, August 2, 2021 @ 13:01:36 Author: felixonmars Revision: 992444 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 992443, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 992443, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 992443, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-08-02 13:01:36 UTC (rev 992444) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=46 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 992443, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-08-02 13:01:36 UTC (rev 992444) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Saturday, July 31, 2021 @ 21:33:40 Author: felixonmars Revision: 991487 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 991486, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 991486, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 991486, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-31 21:33:40 UTC (rev 991487) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=45 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 991486, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-31 21:33:40 UTC (rev 991487) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, July 29, 2021 @ 19:14:12 Author: felixonmars Revision: 990584 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 990583, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 990583, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 990583, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-29 19:14:12 UTC (rev 990584) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=44 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 990583, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-29 19:14:12 UTC (rev 990584) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Wednesday, July 28, 2021 @ 22:04:39 Author: felixonmars Revision: 989593 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 989592, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 989592, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 989592, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-28 22:04:39 UTC (rev 989593) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=43 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 989592, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-28 22:04:39 UTC (rev 989593) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Wednesday, July 28, 2021 @ 13:59:41 Author: felixonmars Revision: 988895 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 988894, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 988894, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 988894, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-28 13:59:41 UTC (rev 988895) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=42 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 988894, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-28 13:59:41 UTC (rev 988895) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Tuesday, July 27, 2021 @ 18:38:28 Author: felixonmars Revision: 988010 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 988009, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 988009, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 988009, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-27 18:38:28 UTC (rev 988010) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=41 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 988009, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-27 18:38:28 UTC (rev 988010) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Tuesday, July 27, 2021 @ 09:05:30 Author: felixonmars Revision: 986681 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 986680, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 986680, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 986680, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-27 09:05:30 UTC (rev 986681) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=40 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 986680, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-27 09:05:30 UTC (rev 986681) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Friday, July 23, 2021 @ 10:37:17 Author: felixonmars Revision: 984328 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 984327, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 984327, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 984327, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-23 10:37:17 UTC (rev 984328) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=39 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 984327, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-23 10:37:17 UTC (rev 984328) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, July 22, 2021 @ 04:20:57 Author: felixonmars Revision: 982822 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 982821, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 982821, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 982821, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-22 04:20:57 UTC (rev 982822) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=38 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 982821, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-22 04:20:57 UTC (rev 982822) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Tuesday, July 20, 2021 @ 17:38:09 Author: felixonmars Revision: 980396 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 980395, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 980395, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 980395, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-20 17:38:09 UTC (rev 980396) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=37 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 980395, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-20 17:38:09 UTC (rev 980396) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Saturday, July 17, 2021 @ 07:14:08 Author: felixonmars Revision: 977908 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 977907, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 977907, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 977907, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-17 07:14:08 UTC (rev 977908) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=36 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 977907, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-17 07:14:08 UTC (rev 977908) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Thursday, July 8, 2021 @ 04:00:26 Author: felixonmars Revision: 975474 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 975473, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 975473, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 975473, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-08 04:00:26 UTC (rev 975474) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=35 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 975473, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-08 04:00:26 UTC (rev 975474) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Wednesday, July 7, 2021 @ 08:43:57 Author: felixonmars Revision: 974233 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 974232, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 974232, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 974232, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-07 08:43:57 UTC (rev 974233) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=34 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 974232, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-07 08:43:57 UTC (rev 974233) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Friday, July 2, 2021 @ 11:57:40 Author: felixonmars Revision: 970715 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 970714, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 970714, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 970714, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-07-02 11:57:40 UTC (rev 970715) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=33 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 970714, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-07-02 11:57:40 UTC (rev 970715) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +
[arch-commits] Commit in haskell-hie-bios/repos (3 files)
Date: Monday, June 28, 2021 @ 12:53:47 Author: felixonmars Revision: 967694 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-bios/repos/community-staging-x86_64/ haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 967693, haskell-hie-bios/trunk/PKGBUILD) haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 967693, haskell-hie-bios/trunk/ghc9.patch) + PKGBUILD | 66 + ghc9.patch | 761 +++ 2 files changed, 827 insertions(+) Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 967693, haskell-hie-bios/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-28 12:53:47 UTC (rev 967694) @@ -0,0 +1,66 @@ +# Maintainer: Felix Yan + +_hkgname=hie-bios +pkgname=haskell-hie-bios +pkgver=0.7.5 +pkgrel=31 +pkgdesc="Set up a GHC API session" +url="https://github.com/mpickering/hie-bios; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' + 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger' + 'haskell-optparse-applicative' 'haskell-temporary' 'haskell-unix-compat' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml') +makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit') +checkdepends=('cabal-install') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz; +ghc9.patch) +sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262' + '2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b') + +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../ghc9.patch + + # Additional fixes for dynamic ghc + sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs + uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat $_hkgname.cabal + + # https://github.com/mpickering/hie-bios/issues/290 + chmod +x tests/projects/*/*.sh +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + 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 + cabal update # Generate cabal config for tests + 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-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 967693, haskell-hie-bios/trunk/ghc9.patch) === --- community-staging-x86_64/ghc9.patch (rev 0) +++ community-staging-x86_64/ghc9.patch 2021-06-28 12:53:47 UTC (rev 967694) @@ -0,0 +1,761 @@ +From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001 +From: Fendor +Date: Sat, 5 Sep 2020 13:50:09 +0200 +Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD + +--- + hie-bios.cabal | 3 +- + src/HIE/Bios/Environment.hs | 19 +++--- + src/HIE/Bios/Ghc/Api.hs | 3 +- + src/HIE/Bios/Ghc/Check.hs | 2 +- + src/HIE/Bios/Ghc/Doc.hs | 10 +++- + src/HIE/Bios/Ghc/Gap.hs | 113 ++-- + src/HIE/Bios/Ghc/Load.hs| 6 +- + src/HIE/Bios/Ghc/Logger.hs | 23 +--- + 8 files changed, 145 insertions(+), 34 deletions(-) + +diff --git a/hie-bios.cabal b/hie-bios.cabal +index 1ee5a8c0..735efe34 100644 +--- a/hie-bios.cabal b/hie-bios.cabal +@@ -156,8 +156,9 @@ Library + filepath >= 1.4.1 && < 1.5, + time >= 1.8.0 && < 1.12, + extra>= 1.6.14 && < 1.8, ++exceptions, +