[arch-commits] Commit in postgrest/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 05:04:28
  Author: felixonmars
Revision: 941238

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 941237, postgrest/trunk/PKGBUILD)

--+
 PKGBUILD |   71 +
 1 file changed, 71 insertions(+)

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 941237, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 05:04:28 UTC (rev 941238)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=318
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-parsec' 'haskell-protolude' 'haskell-regex-tdfa' 
'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz";)
+sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+uusi $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${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 \
+-f-CI --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 $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createdb postgrest_test
+
+# TODO: user authentication issue?
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || echo 
"Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in postgrest/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 05:04:14
  Author: felixonmars
Revision: 941237

upgpkg: postgrest 7.0.1-318: rebuild with hashable 1.3.2.0

Modified:
  postgrest/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 05:00:57 UTC (rev 941236)
+++ PKGBUILD2021-05-22 05:04:14 UTC (rev 941237)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=317
+pkgrel=318
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest";
 license=("MIT")


[arch-commits] Commit in haskell-interpolatedstring-perl6/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 05:00:57
  Author: felixonmars
Revision: 941236

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-interpolatedstring-perl6/repos/community-staging-x86_64/
  haskell-interpolatedstring-perl6/repos/community-staging-x86_64/PKGBUILD
(from rev 941235, haskell-interpolatedstring-perl6/trunk/PKGBUILD)

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: 
haskell-interpolatedstring-perl6/repos/community-staging-x86_64/PKGBUILD (from 
rev 941235, haskell-interpolatedstring-perl6/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 05:00:57 UTC (rev 941236)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=interpolatedstring-perl6
+pkgname=haskell-interpolatedstring-perl6
+pkgver=1.0.2
+pkgrel=140
+pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings"
+url="https://github.com/audreyt/interpolatedstring-perl6";
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('660e2fafe2f5a03baf16d56fa298e9fe0df677023fff7b3e5d8879910a76066b95a753fffc0c6374fd405de67f54c1410d4542f6d85823e8e87277bde28624a7')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
\
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-interpolatedstring-perl6/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 05:00:43
  Author: felixonmars
Revision: 941235

upgpkg: haskell-interpolatedstring-perl6 1.0.2-140: rebuild with hashable 
1.3.2.0

Modified:
  haskell-interpolatedstring-perl6/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:59:59 UTC (rev 941234)
+++ PKGBUILD2021-05-22 05:00:43 UTC (rev 941235)
@@ -3,7 +3,7 @@
 _hkgname=interpolatedstring-perl6
 pkgname=haskell-interpolatedstring-perl6
 pkgver=1.0.2
-pkgrel=139
+pkgrel=140
 pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings"
 url="https://github.com/audreyt/interpolatedstring-perl6";
 license=('custom:PublicDomain')


[arch-commits] Commit in haskell-hspec-wai-json/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:59:59
  Author: felixonmars
Revision: 941234

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-wai-json/repos/community-staging-x86_64/
  haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD
(from rev 941233, haskell-hspec-wai-json/trunk/PKGBUILD)

--+
 PKGBUILD |   48 
 1 file changed, 48 insertions(+)

Copied: haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD (from 
rev 941233, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:59:59 UTC (rev 941234)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai-json
+pkgname=haskell-hspec-wai-json
+pkgver=0.11.0
+pkgrel=136
+pkgdesc="Testing JSON APIs with hspec-wai"
+url="https://github.com/hspec/hspec-wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-qq' 
'haskell-case-insensitive'
+ 'haskell-hspec-wai')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('db14622fd95bfb9f52a48da4e8fa345c9fdd7014aeec1cb10d75573738f8020f36d97f7085373b9b2e865a9874f377d5532e29c1f31e27f41bf5c6c89fe68546')
+
+prepare() {
+uusi -u hspec-wai $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-wai-json/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:59:45
  Author: felixonmars
Revision: 941233

upgpkg: haskell-hspec-wai-json 0.11.0-136: rebuild with hashable 1.3.2.0

Modified:
  haskell-hspec-wai-json/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:58:46 UTC (rev 941232)
+++ PKGBUILD2021-05-22 04:59:45 UTC (rev 941233)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=135
+pkgrel=136
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai";
 license=("MIT")


[arch-commits] Commit in haskell-aeson-qq/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:58:46
  Author: felixonmars
Revision: 941232

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-qq/repos/community-staging-x86_64/
  haskell-aeson-qq/repos/community-staging-x86_64/PKGBUILD
(from rev 941231, haskell-aeson-qq/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-aeson-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
941231, haskell-aeson-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:58:46 UTC (rev 941232)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-qq
+pkgname=haskell-aeson-qq
+pkgver=0.8.3
+pkgrel=188
+pkgdesc="JSON quasiquoter for Haskell"
+url="https://github.com/sol/aeson-qq";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat' 
'haskell-src-meta'
+ 'haskell-scientific' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('f7ef90529b4c9661ffc54ab8ebfc73c9966e6338591b871678be2a6e63ecf30089fd33279a074bd8d1905d71c8198ea5cc24c828d6e940e7af7585ba826a0c29')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-aeson-qq/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:58:12
  Author: felixonmars
Revision: 941231

upgpkg: haskell-aeson-qq 0.8.3-188: rebuild with hashable 1.3.2.0

Modified:
  haskell-aeson-qq/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:57:12 UTC (rev 941230)
+++ PKGBUILD2021-05-22 04:58:12 UTC (rev 941231)
@@ -4,7 +4,7 @@
 _hkgname=aeson-qq
 pkgname=haskell-aeson-qq
 pkgver=0.8.3
-pkgrel=187
+pkgrel=188
 pkgdesc="JSON quasiquoter for Haskell"
 url="https://github.com/sol/aeson-qq";
 license=("MIT")


[arch-commits] Commit in clash-ghc/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:57:12
  Author: felixonmars
Revision: 941230

archrelease: copy trunk to community-staging-x86_64

Added:
  clash-ghc/repos/community-staging-x86_64/
  clash-ghc/repos/community-staging-x86_64/PKGBUILD
(from rev 941229, clash-ghc/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: clash-ghc/repos/community-staging-x86_64/PKGBUILD (from rev 941229, 
clash-ghc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:57:12 UTC (rev 941230)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=clash-ghc
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="CAES Language for Synchronous Hardware"
+url="https://clash-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-clash-lib' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
+ 'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc')
+conflicts=('clash')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('3d50d7379626af851207e8a838734f6714f816d6e21f3f4c90c3b1062480ce8968bf185a121bc4ebb02058ea428b006e9d7c1ce8a7383c3ec679dad6dd594c28')
+
+build() {
+  cd $pkgname-$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
+}
+
+package() {
+  cd $pkgname-$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
+}


[arch-commits] Commit in clash-ghc/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:56:58
  Author: felixonmars
Revision: 941229

upgpkg: clash-ghc 1.4.2-3: rebuild with hashable 1.3.2.0

Modified:
  clash-ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:54:01 UTC (rev 941228)
+++ PKGBUILD2021-05-22 04:56:58 UTC (rev 941229)
@@ -2,7 +2,7 @@
 
 pkgname=clash-ghc
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="CAES Language for Synchronous Hardware"
 url="https://clash-lang.org/";
 license=("BSD")


[arch-commits] Commit in haskell-clash-lib/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:54:01
  Author: felixonmars
Revision: 941228

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-lib/repos/community-staging-x86_64/
  haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD
(from rev 941227, haskell-clash-lib/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
941227, haskell-clash-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:54:01 UTC (rev 941228)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-lib
+pkgname=haskell-clash-lib
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="Clash: a functional hardware description language - As a library"
+url="https://clash-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default' 'haskell-dlist' 'haskell-errors' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 
'haskell-interpolate' 'haskell-lens'
+ 'haskell-ordered-containers' 'haskell-parsers' 'haskell-pretty-show'
+ 'haskell-prettyprinter' 'haskell-primitive' 'haskell-reducers' 
'haskell-temporary'
+ 'haskell-terminal-size' 'haskell-text-show' 'haskell-trifecta'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances')
+makedepends=('ghc' 'uusi' 'haskell-ghc-typelits-knownnat' 
'haskell-quickcheck-text' 'haskell-src-exts'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('ec4a6c2ecb36e806aaf5792ac5d735d2e1e071e72c3a9b7a6726e74b6cc0d1d5c15b84b85ca27be061a47bf68e7b5920bbeb044e689b1b2956618857c29f0e0c')
+
+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
+  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
+}


[arch-commits] Commit in haskell-clash-lib/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:53:48
  Author: felixonmars
Revision: 941227

upgpkg: haskell-clash-lib 1.4.2-3: rebuild with hashable 1.3.2.0

Modified:
  haskell-clash-lib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:48:50 UTC (rev 941226)
+++ PKGBUILD2021-05-22 04:53:48 UTC (rev 941227)
@@ -3,7 +3,7 @@
 _hkgname=clash-lib
 pkgname=haskell-clash-lib
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Clash: a functional hardware description language - As a library"
 url="https://clash-lang.org/";
 license=("BSD")


[arch-commits] Commit in haskell-clash-prelude/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:48:50
  Author: felixonmars
Revision: 941226

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-prelude/repos/community-staging-x86_64/
  haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD
(from rev 941225, haskell-clash-prelude/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD (from rev 
941225, haskell-clash-prelude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:48:50 UTC (rev 941226)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-prelude
+pkgname=haskell-clash-prelude
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="Clash: a functional hardware description language - Prelude library"
+url="https://github.com/clash-lang/clash-prelude";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-arrows' 'haskell-bifunctors' 'haskell-constraints'
+ 'haskell-data-binary-ieee754' 'haskell-data-default-class' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-half'
+ 'haskell-hashable' 'haskell-interpolate' 'haskell-lens' 
'haskell-quickcheck'
+ 'haskell-recursion-schemes' 'haskell-reflection' 'haskell-singletons'
+ 'haskell-th-abstraction' 'haskell-th-lift' 'haskell-text-show' 
'haskell-th-orphans'
+ 'haskell-type-errors' 'haskell-uniplate' 'haskell-vector')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hedgehog'
+ 'haskell-hint' 'haskell-quickcheck-classes-base' 'haskell-tasty'
+ 'haskell-tasty-hedgehog' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-th')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('368b2946bb4abea395a4769d423d897f7e712a64cc46b71eb0be585995f60ea5c661896971360aab44c6d60fff77daed0dbce5143563ca9504e4674e03ebe16d')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-clash-prelude/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:48:36
  Author: felixonmars
Revision: 941225

upgpkg: haskell-clash-prelude 1.4.2-3: rebuild with hashable 1.3.2.0

Modified:
  haskell-clash-prelude/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:35:38 UTC (rev 941224)
+++ PKGBUILD2021-05-22 04:48:36 UTC (rev 941225)
@@ -3,7 +3,7 @@
 _hkgname=clash-prelude
 pkgname=haskell-clash-prelude
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Clash: a functional hardware description language - Prelude library"
 url="https://github.com/clash-lang/clash-prelude";
 license=('BSD')


[arch-commits] Commit in logrotate/repos (3 files)

2021-05-21 Thread Pierre Schmitz via arch-commits
Date: Saturday, May 22, 2021 @ 04:45:32
  Author: pierre
Revision: 415850

archrelease: copy trunk to testing-x86_64

Added:
  logrotate/repos/testing-x86_64/
  logrotate/repos/testing-x86_64/PKGBUILD
(from rev 415849, logrotate/trunk/PKGBUILD)
  logrotate/repos/testing-x86_64/logrotate.conf
(from rev 415849, logrotate/trunk/logrotate.conf)

+
 PKGBUILD   |   51 +++
 logrotate.conf |   38 ++
 2 files changed, 89 insertions(+)

Copied: logrotate/repos/testing-x86_64/PKGBUILD (from rev 415849, 
logrotate/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-05-22 04:45:32 UTC (rev 415850)
@@ -0,0 +1,51 @@
+# Maintainer: Pierre Schmitz 
+
+pkgname=logrotate
+pkgver=3.18.1
+pkgrel=1
+pkgdesc="Rotates system logs automatically"
+arch=('x86_64')
+url="https://github.com/logrotate/logrotate";
+license=('GPL')
+depends=('popt' 'gzip' 'acl')
+backup=('etc/logrotate.conf')
+source=("https://github.com/logrotate/logrotate/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
+'logrotate.conf')
+sha256sums=('14a924e4804b3974e85019a9f9352c2a69726702e6656155c48bcdeace68a5dc'
+'SKIP'
+'42e289081a4d6b144c89dbfc49bde7a01b383055bf90a05a764f8c3dee25a6ce')
+validpgpkeys=('992A96E075056E79CD8214F9873DB37572A37B36')
+
+build() {
+   cd "$srcdir/${pkgname}-${pkgver}"
+
+   ./configure \
+   --prefix=/usr \
+   --sbindir=/usr/bin \
+   --mandir=/usr/share/man \
+   --with-compress-command=/usr/bin/gzip \
+   --with-uncompress-command=/usr/bin/gunzip \
+   --with-default-mail-command=/usr/bin/mail \
+   --with-acl
+   make
+}
+
+check() {
+   cd "$srcdir/${pkgname}-${pkgver}"
+
+   make test
+}
+
+package() {
+   cd "$srcdir/${pkgname}-${pkgver}"
+
+   make DESTDIR="$pkgdir" install
+
+   install -dm755 "$pkgdir/etc/logrotate.d"
+   install -Dm644 "$srcdir/logrotate.conf" "$pkgdir/etc/logrotate.conf"
+
+   install -D -m644 examples/logrotate.timer 
"${pkgdir}/usr/lib/systemd/system/logrotate.timer"
+   install -D -m644 examples/logrotate.service 
"${pkgdir}/usr/lib/systemd/system/logrotate.service"
+   install -d -m755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
+   ln -s ../logrotate.timer 
"$pkgdir/usr/lib/systemd/system/timers.target.wants/logrotate.timer"
+}

Copied: logrotate/repos/testing-x86_64/logrotate.conf (from rev 415849, 
logrotate/trunk/logrotate.conf)
===
--- testing-x86_64/logrotate.conf   (rev 0)
+++ testing-x86_64/logrotate.conf   2021-05-22 04:45:32 UTC (rev 415850)
@@ -0,0 +1,38 @@
+# see "man logrotate" for details
+# rotate log files weekly
+weekly
+
+# keep 4 weeks worth of backlogs
+rotate 4
+
+# restrict maximum size of log files
+#size 20M
+
+# create new (empty) log files after rotating old ones
+create
+
+# uncomment this if you want your log files compressed
+#compress
+
+# Logs are moved into directory for rotation
+# olddir /var/log/archive
+
+# Ignore pacman saved files
+tabooext + .pacorig .pacnew .pacsave
+
+# Arch packages drop log rotation information into this directory
+include /etc/logrotate.d
+
+/var/log/wtmp {
+monthly
+create 0664 root utmp
+minsize 1M
+rotate 1
+}
+
+/var/log/btmp {
+missingok
+monthly
+create 0600 root utmp
+rotate 1
+}


[arch-commits] Commit in logrotate/trunk (PKGBUILD)

2021-05-21 Thread Pierre Schmitz via arch-commits
Date: Saturday, May 22, 2021 @ 04:45:28
  Author: pierre
Revision: 415849

upgpkg: logrotate 3.18.1-1

Modified:
  logrotate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:44:11 UTC (rev 415848)
+++ PKGBUILD2021-05-22 04:45:28 UTC (rev 415849)
@@ -1,7 +1,7 @@
 # Maintainer: Pierre Schmitz 
 
 pkgname=logrotate
-pkgver=3.18.0
+pkgver=3.18.1
 pkgrel=1
 pkgdesc="Rotates system logs automatically"
 arch=('x86_64')
@@ -11,7 +11,7 @@
 backup=('etc/logrotate.conf')
 
source=("https://github.com/logrotate/logrotate/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
 'logrotate.conf')
-sha256sums=('841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5'
+sha256sums=('14a924e4804b3974e85019a9f9352c2a69726702e6656155c48bcdeace68a5dc'
 'SKIP'
 '42e289081a4d6b144c89dbfc49bde7a01b383055bf90a05a764f8c3dee25a6ce')
 validpgpkeys=('992A96E075056E79CD8214F9873DB37572A37B36')


[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Pierre Schmitz via arch-commits
Date: Saturday, May 22, 2021 @ 04:44:11
  Author: pierre
Revision: 415848

archrelease: copy trunk to extra-any

Added:
  composer/repos/extra-any/PKGBUILD
(from rev 415847, composer/trunk/PKGBUILD)
Deleted:
  composer/repos/extra-any/PKGBUILD

--+
 PKGBUILD |  102 ++---
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:44:07 UTC (rev 415847)
+++ PKGBUILD2021-05-22 04:44:11 UTC (rev 415848)
@@ -1,51 +0,0 @@
-# Maintainer: Pierre Schmitz 
-
-pkgname=composer
-pkgver=2.0.13
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='https://getcomposer.org/'
-depends=('php' 'unzip')
-makedepends=('git')
-source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}";
-   
"${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar";)
-sha256sums=('SKIP'
-'116fdf07cc926af646635a6abc92d88aff7b02a5dc36538f81c50a7d27366dbf')
-
-prepare() {
-   cd "${srcdir}/${pkgname}"
-
-   php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction 
--no-dev --no-progress --prefer-dist
-}
-
-build() {
-   cd "${srcdir}/${pkgname}"
-
-   php -d phar.readonly=Off bin/compile
-}
-
-check() {
-   cd "${srcdir}"
-
-   mkdir integration-test
-   cd integration-test
-
-   php "${srcdir}/${pkgname}/composer.phar" init \
-   --no-interaction \
-   --type=project \
-   --name='archlinux/test' \
-   --description='Composer Test Project' \
-   --license='GPL-3.0-or-later' \
-   --require='symfony/console:*'
-   php "${srcdir}/${pkgname}/composer.phar" update --no-interaction 
--no-progress --prefer-dist
-   php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction
-}
-
-package() {
-   cd "${srcdir}/${pkgname}"
-
-   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-   install -Dm755 composer.phar "${pkgdir}/usr/bin/composer"
-}

Copied: composer/repos/extra-any/PKGBUILD (from rev 415847, 
composer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:44:11 UTC (rev 415848)
@@ -0,0 +1,51 @@
+# Maintainer: Pierre Schmitz 
+
+pkgname=composer
+pkgver=2.0.14
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php' 'unzip')
+makedepends=('git')
+source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}";
+   
"${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar";)
+sha256sums=('SKIP'
+'29454b41558968ca634bf5e2d4d07ff2275d91b637a76d7a05e6747d36dd3473')
+
+prepare() {
+   cd "${srcdir}/${pkgname}"
+
+   php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction 
--no-dev --no-progress --prefer-dist
+}
+
+build() {
+   cd "${srcdir}/${pkgname}"
+
+   php -d phar.readonly=Off bin/compile
+}
+
+check() {
+   cd "${srcdir}"
+
+   mkdir integration-test
+   cd integration-test
+
+   php "${srcdir}/${pkgname}/composer.phar" init \
+   --no-interaction \
+   --type=project \
+   --name='archlinux/test' \
+   --description='Composer Test Project' \
+   --license='GPL-3.0-or-later' \
+   --require='symfony/console:*'
+   php "${srcdir}/${pkgname}/composer.phar" update --no-interaction 
--no-progress --prefer-dist
+   php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction
+}
+
+package() {
+   cd "${srcdir}/${pkgname}"
+
+   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+   install -Dm755 composer.phar "${pkgdir}/usr/bin/composer"
+}


[arch-commits] Commit in composer/trunk (PKGBUILD)

2021-05-21 Thread Pierre Schmitz via arch-commits
Date: Saturday, May 22, 2021 @ 04:44:07
  Author: pierre
Revision: 415847

upgpkg: composer 2.0.14-1

Modified:
  composer/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-21 21:11:22 UTC (rev 415846)
+++ PKGBUILD2021-05-22 04:44:07 UTC (rev 415847)
@@ -1,7 +1,7 @@
 # Maintainer: Pierre Schmitz 
 
 pkgname=composer
-pkgver=2.0.13
+pkgver=2.0.14
 pkgrel=1
 pkgdesc="Dependency Manager for PHP"
 arch=('any')
@@ -12,7 +12,7 @@
 
source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}";

"${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar";)
 sha256sums=('SKIP'
-'116fdf07cc926af646635a6abc92d88aff7b02a5dc36538f81c50a7d27366dbf')
+'29454b41558968ca634bf5e2d4d07ff2275d91b637a76d7a05e6747d36dd3473')
 
 prepare() {
cd "${srcdir}/${pkgname}"


[arch-commits] Commit in haskell-language-server/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:35:38
  Author: felixonmars
Revision: 941224

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-server/repos/community-staging-x86_64/
  haskell-language-server/repos/community-staging-x86_64/PKGBUILD
(from rev 941223, haskell-language-server/trunk/PKGBUILD)

--+
 PKGBUILD |   64 +
 1 file changed, 64 insertions(+)

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 941223, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:35:38 UTC (rev 941224)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-language-server
+pkgname=haskell-language-server
+pkgver=1.1.0.0
+pkgrel=10
+pkgdesc="LSP server for GHC"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-floskell' 'haskell-fourmolu' 'haskell-fuzzy' 
'haskell-ghc'
+ 'haskell-ghc-paths' 'haskell-ghcide' 'haskell-gitrev' 
'haskell-hashable' 'haskell-hie-bios'
+ 'haskell-hiedb' 'haskell-hls-brittany-plugin' 
'haskell-hls-class-plugin'
+ 'haskell-hls-eval-plugin' 'haskell-hls-explicit-imports-plugin'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-retrie-plugin' 'haskell-hls-splice-plugin'
+ 'haskell-hls-stylish-haskell-plugin' 'haskell-hls-tactics-plugin' 
'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp' 'haskell-optparse-applicative' 
'haskell-optparse-simple'
+ 'haskell-ormolu' 'haskell-regex-tdfa' 'haskell-safe-exceptions' 
'haskell-shake'
+ 'haskell-sqlite-simple' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 
'haskell-hspec-expectations' 'haskell-lsp-test'
+ 'haskell-lsp-types')
+checkdepends=('cabal-install')
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz";)
+sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+
+prepare() {
+  cd haskell-language-server-1.1.0
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+}
+
+build() {
+  cd haskell-language-server-1.1.0
+
+  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 haskell-language-server-1.1.0
+  
PATH="$PWD/dist/build/haskell-language-server:$PWD/dist/build/haskell-language-server-wrapper:$PATH"
 LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd haskell-language-server-1.1.0
+
+  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
+}


[arch-commits] Commit in haskell-language-server/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:35:23
  Author: felixonmars
Revision: 941223

upgpkg: haskell-language-server 1.1.0.0-10: rebuild with hashable 1.3.2.0

Modified:
  haskell-language-server/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:31:55 UTC (rev 941222)
+++ PKGBUILD2021-05-22 04:35:23 UTC (rev 941223)
@@ -3,7 +3,7 @@
 _hkgname=haskell-language-server
 pkgname=haskell-language-server
 pkgver=1.1.0.0
-pkgrel=9
+pkgrel=10
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")


[arch-commits] Commit in stack/repos (4 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:31:55
  Author: felixonmars
Revision: 941222

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 941221, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/optparse-applicative-0.16.patch
(from rev 941221, stack/trunk/optparse-applicative-0.16.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 941221, stack/trunk/stack.install)

-+
 PKGBUILD|   81 ++
 optparse-applicative-0.16.patch |   25 +++
 stack.install   |4 +
 3 files changed, 110 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 941221, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:31:55 UTC (rev 941222)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.5.1
+pkgrel=209
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-project-template'
+ 'haskell-regex-applicative-text' 'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
+ 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
+ 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
+optparse-applicative-0.16.patch)
+sha512sums=('SKIP'
+
'3ed61162edd869d5634e7e8485d784b9a192c97626da817635e6c756ca651454b5b806085aea6d7f8fd54041ae06e1613d9547958a85b777d2dfc35b02c0fbea')
+
+prepare() {
+  cd $pkgname
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+  sed -i '1i{-# LANGUAGE DataKinds #-}' src/Stack/Storage/User.hs 
src/Stack/Storage/Project.hs
+  patch -p1 -i ../optparse-applicative-0.16.patch
+}
+
+build() {
+  cd $pkgname
+
+  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 \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --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 $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test --show-details=direct
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE

[arch-commits] Commit in stack/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:31:34
  Author: felixonmars
Revision: 941221

upgpkg: stack 2.5.1-209: rebuild with hashable 1.3.2.0

Modified:
  stack/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:24:07 UTC (rev 941220)
+++ PKGBUILD2021-05-22 04:31:34 UTC (rev 941221)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.5.1
-pkgrel=208
+pkgrel=209
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")


[arch-commits] Commit in haskell-optparse-simple/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:24:07
  Author: felixonmars
Revision: 941220

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optparse-simple/repos/community-staging-x86_64/
  haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD
(from rev 941219, haskell-optparse-simple/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD (from 
rev 941219, haskell-optparse-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:24:07 UTC (rev 941220)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=optparse-simple
+pkgname=haskell-optparse-simple
+pkgver=0.1.1.3
+pkgrel=159
+pkgdesc="Simple interface to optparse-applicative"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-githash' 'haskell-optparse-applicative')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9ab7208b459a196ec54511de6b51c98eabe29f5756c09c1f23653a0ff12cbd402ab8366ccfdc12467dce4be0fa1cae96571925ac5858d12478f0ed41168ecdf9')
+
+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 \
+ -f-build-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-optparse-simple/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:23:53
  Author: felixonmars
Revision: 941219

upgpkg: haskell-optparse-simple 0.1.1.3-159: rebuild with hashable 1.3.2.0

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:23:30 UTC (rev 941218)
+++ PKGBUILD2021-05-22 04:23:53 UTC (rev 941219)
@@ -4,7 +4,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.1.1.3
-pkgrel=158
+pkgrel=159
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")


[arch-commits] Commit in perl-test-simple/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:23:30
  Author: felixonmars
Revision: 941218

archrelease: copy trunk to community-any

Added:
  perl-test-simple/repos/community-any/PKGBUILD
(from rev 941217, perl-test-simple/trunk/PKGBUILD)
Deleted:
  perl-test-simple/repos/community-any/PKGBUILD

--+
 PKGBUILD |   58 +-
 1 file changed, 29 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:23:13 UTC (rev 941217)
+++ PKGBUILD2021-05-22 04:23:30 UTC (rev 941218)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=perl-test-simple
-pkgver=1.302184
-pkgrel=1
-pkgdesc="Basic utilities for writing tests"
-arch=('any')
-license=('PerlArtistic')
-url="https://metacpan.org/release/Test-Simple";
-depends=('perl')
-options=('!emptydirs')
-source=("https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-$pkgver.tar.gz";)
-sha512sums=('03022c6711ba106f5d95e0ce1417a1752cb3836d9e67defbfa7047e03dc197083f9de8a1ccc100742c45b10881c1cebf88feb2c5791ce6ca780666b4f2085445')
-
-build() {
-  cd Test-Simple-$pkgver
-  perl Makefile.PL INSTALLDIRS=vendor
-  make
-}
-
-check() {
-  cd Test-Simple-$pkgver
-  make test
-}
-
-package() {
-  cd Test-Simple-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: perl-test-simple/repos/community-any/PKGBUILD (from rev 941217, 
perl-test-simple/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:23:30 UTC (rev 941218)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan 
+
+pkgname=perl-test-simple
+pkgver=1.302185
+pkgrel=1
+pkgdesc="Basic utilities for writing tests"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Test-Simple";
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-$pkgver.tar.gz";)
+sha512sums=('3d0566b6be65b1a00ae1ddaef1aa8a75b32980bd2ce223ce2595c03de7fc6c2d997a329896bdbf19b60f4a52a1e1b7ac3382dbe165f1d9cf33aeeffb2f7ed3d6')
+
+build() {
+  cd Test-Simple-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Test-Simple-$pkgver
+  make test
+}
+
+package() {
+  cd Test-Simple-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in haskell-githash/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:23:11
  Author: felixonmars
Revision: 941216

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-githash/repos/community-staging-x86_64/
  haskell-githash/repos/community-staging-x86_64/PKGBUILD
(from rev 941215, haskell-githash/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: haskell-githash/repos/community-staging-x86_64/PKGBUILD (from rev 
941215, haskell-githash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:23:11 UTC (rev 941216)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=githash
+pkgname=haskell-githash
+pkgver=0.1.5.0
+pkgrel=121
+pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
+url="https://github.com/snoyberg/githash";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'git')
+makedepends=('ghc' 'haskell-hpack' 'haskell-hspec' 'haskell-temporary' 
'haskell-unliftio')
+source=("git+https://github.com/snoyberg/githash.git#tag=githash-$pkgver";)
+sha512sums=('SKIP')
+
+prepare() {
+cd $_hkgname
+hpack
+}
+
+build() {
+cd $_hkgname
+
+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
+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
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in perl-test-simple/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:23:13
  Author: felixonmars
Revision: 941217

upgpkg: perl-test-simple 1.302185-1

Modified:
  perl-test-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:23:11 UTC (rev 941216)
+++ PKGBUILD2021-05-22 04:23:13 UTC (rev 941217)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=perl-test-simple
-pkgver=1.302184
+pkgver=1.302185
 pkgrel=1
 pkgdesc="Basic utilities for writing tests"
 arch=('any')
@@ -10,7 +10,7 @@
 depends=('perl')
 options=('!emptydirs')
 
source=("https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-$pkgver.tar.gz";)
-sha512sums=('03022c6711ba106f5d95e0ce1417a1752cb3836d9e67defbfa7047e03dc197083f9de8a1ccc100742c45b10881c1cebf88feb2c5791ce6ca780666b4f2085445')
+sha512sums=('3d0566b6be65b1a00ae1ddaef1aa8a75b32980bd2ce223ce2595c03de7fc6c2d997a329896bdbf19b60f4a52a1e1b7ac3382dbe165f1d9cf33aeeffb2f7ed3d6')
 
 build() {
   cd Test-Simple-$pkgver


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:22:57
  Author: felixonmars
Revision: 941215

upgpkg: haskell-githash 0.1.5.0-121: rebuild with hashable 1.3.2.0

Modified:
  haskell-githash/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:21:50 UTC (rev 941214)
+++ PKGBUILD2021-05-22 04:22:57 UTC (rev 941215)
@@ -3,7 +3,7 @@
 _hkgname=githash
 pkgname=haskell-githash
 pkgver=0.1.5.0
-pkgrel=120
+pkgrel=121
 pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
 url="https://github.com/snoyberg/githash";
 license=('BSD')


[arch-commits] Commit in throttled/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:21:44
  Author: felixonmars
Revision: 941213

archrelease: copy trunk to community-any

Added:
  throttled/repos/community-any/PKGBUILD
(from rev 941212, throttled/trunk/PKGBUILD)
Deleted:
  throttled/repos/community-any/PKGBUILD

--+
 PKGBUILD |   74 ++---
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:21:36 UTC (rev 941212)
+++ PKGBUILD2021-05-22 04:21:44 UTC (rev 941213)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Kenneth Endfinger 
-
-pkgname=throttled
-pkgver=0.8
-pkgrel=2
-pkgdesc="Workaround for Intel throttling issues in Linux."
-arch=('any')
-url="https://github.com/erpalma/throttled";
-license=('MIT')
-depends=('python-dbus' 'python-gobject')
-conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
-replaces=('lenovo-throttling-fix')
-backup=('etc/lenovo_fix.conf')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/erpalma/$pkgname/archive/v$pkgver.tar.gz";)
-sha512sums=('bbefbd6c49c5221ee99857067dfe2013d3d33b4b2a63435c67ebec11d23441b0441513a723bd0d54e7720f329b803086cfde6b53d02bf683eab77da56786e51d')
-
-prepare() {
-  sed -i "s|ExecStart=.*|ExecStart=/usr/lib/$pkgname/lenovo_fix.py|" 
$pkgname-$pkgver/systemd/lenovo_fix.service
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python -m compileall *.py
-}
-
-package() {
-  cd throttled-$pkgver
-  install -Dm644 etc/lenovo_fix.conf "$pkgdir"/etc/lenovo_fix.conf
-  install -Dm644 systemd/lenovo_fix.service 
"$pkgdir"/usr/lib/systemd/system/lenovo_fix.service
-  install -Dm755 lenovo_fix.py "$pkgdir"/usr/lib/$pkgname/lenovo_fix.py
-  install -Dm755 mmio.py "$pkgdir"/usr/lib/$pkgname/mmio.py
-  cp -a __pycache__ "$pkgdir"/usr/lib/$pkgname/
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: throttled/repos/community-any/PKGBUILD (from rev 941212, 
throttled/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:21:44 UTC (rev 941213)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Contributor: Kenneth Endfinger 
+
+pkgname=throttled
+pkgver=0.9
+pkgrel=1
+pkgdesc="Workaround for Intel throttling issues in Linux."
+arch=('any')
+url="https://github.com/erpalma/throttled";
+license=('MIT')
+depends=('python-dbus' 'python-gobject')
+conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
+replaces=('lenovo-throttling-fix')
+backup=('etc/lenovo_fix.conf')
+source=("https://github.com/erpalma/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('1a5b3ced2a6d841d8cdcc064b97b737dac25649eedd0b506c8965da349a0f0b7fabd4dad0c9b6b558a22b8d308eac3c933f7cf8fecbd8f16ab7ed93ee6a998dc')
+
+prepare() {
+  sed -i "s|ExecStart=.*|ExecStart=/usr/lib/$pkgname/lenovo_fix.py|" 
$pkgname-$pkgver/systemd/lenovo_fix.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m compileall *.py
+}
+
+package() {
+  cd throttled-$pkgver
+  install -Dm644 etc/lenovo_fix.conf "$pkgdir"/etc/lenovo_fix.conf
+  install -Dm644 systemd/lenovo_fix.service 
"$pkgdir"/usr/lib/systemd/system/lenovo_fix.service
+  install -Dm755 lenovo_fix.py "$pkgdir"/usr/lib/$pkgname/lenovo_fix.py
+  install -Dm755 mmio.py "$pkgdir"/usr/lib/$pkgname/mmio.py
+  cp -a __pycache__ "$pkgdir"/usr/lib/$pkgname/
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in haskell-pantry/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:21:50
  Author: felixonmars
Revision: 941214

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-pantry/repos/community-staging-x86_64/
  haskell-pantry/repos/community-staging-x86_64/PKGBUILD
(from rev 941213, haskell-pantry/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
941213, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:21:50 UTC (rev 941214)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.1.5
+pkgrel=28
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-resourcet'
+ 'haskell-rio' 'haskell-rio-orphans' 'haskell-rio-prettyprint' 
'haskell-tar-conduit'
+ 'haskell-text-metrics' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-quickcheck'
+ 'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1be5d91e08f43bf7ea7013cac2650235b822d4d34a46a13ca8586e074baaeb41528c80dfaaeec82f0e5a884ab828b578b4065a1288ca6895fc18853fa7e8b7c9')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+uusi -d persistent-template $_hkgname.cabal
+}
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:21:36
  Author: felixonmars
Revision: 941212

upgpkg: haskell-pantry 0.5.1.5-28: rebuild with hashable 1.3.2.0

Modified:
  haskell-pantry/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:21:27 UTC (rev 941211)
+++ PKGBUILD2021-05-22 04:21:36 UTC (rev 941212)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.1.5
-pkgrel=27
+pkgrel=28
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry";
 license=('BSD')


[arch-commits] Commit in throttled/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:21:27
  Author: felixonmars
Revision: 941211

upgpkg: throttled 0.9-1

Modified:
  throttled/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:19:48 UTC (rev 941210)
+++ PKGBUILD2021-05-22 04:21:27 UTC (rev 941211)
@@ -2,8 +2,8 @@
 # Contributor: Kenneth Endfinger 
 
 pkgname=throttled
-pkgver=0.8
-pkgrel=2
+pkgver=0.9
+pkgrel=1
 pkgdesc="Workaround for Intel throttling issues in Linux."
 arch=('any')
 url="https://github.com/erpalma/throttled";
@@ -12,8 +12,8 @@
 conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
 replaces=('lenovo-throttling-fix')
 backup=('etc/lenovo_fix.conf')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/erpalma/$pkgname/archive/v$pkgver.tar.gz";)
-sha512sums=('bbefbd6c49c5221ee99857067dfe2013d3d33b4b2a63435c67ebec11d23441b0441513a723bd0d54e7720f329b803086cfde6b53d02bf683eab77da56786e51d')
+source=("https://github.com/erpalma/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('1a5b3ced2a6d841d8cdcc064b97b737dac25649eedd0b506c8965da349a0f0b7fabd4dad0c9b6b558a22b8d308eac3c933f7cf8fecbd8f16ab7ed93ee6a998dc')
 
 prepare() {
   sed -i "s|ExecStart=.*|ExecStart=/usr/lib/$pkgname/lenovo_fix.py|" 
$pkgname-$pkgver/systemd/lenovo_fix.service


[arch-commits] Commit in python-faker/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:19:48
  Author: felixonmars
Revision: 941210

archrelease: copy trunk to community-any

Added:
  python-faker/repos/community-any/PKGBUILD
(from rev 941209, python-faker/trunk/PKGBUILD)
Deleted:
  python-faker/repos/community-any/PKGBUILD

--+
 PKGBUILD |   82 ++---
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:19:34 UTC (rev 941209)
+++ PKGBUILD2021-05-22 04:19:48 UTC (rev 941210)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Jeremy "Ichimonji10" Audet 
-# Contributor: dnuux 
-
-pkgname=python-faker
-pkgver=8.2.0
-pkgrel=1
-pkgdesc='Faker generates fake data for you.'
-arch=('any')
-url='https://faker.readthedocs.io/en/master/'
-license=('MIT')
-provides=("python-fake-factory=$pkgver")
-conflicts=('python-fake-factory')
-replaces=('python-fake-factory')
-depends=('python-setuptools' 'python-dateutil' 'python-text-unidecode')
-makedepends=('python-pip' 'python-wheel' 'python-pytest-runner')
-checkdepends=('python-validators' 'python-ukpostcodeparser' 'python-random2'
-  'python-freezegun')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz";)
-sha512sums=('b0e4e9a9142f697bfb45fa47eb7665f35e97cbf6bad56ab9e94a02165a4f0204f531cd7dbb5a58ba6890684ecefdc57d20a24af8cecff7f5db4cb5c149851284')
-
-prepare() {
-  sed -i -e 's/==/>=/' faker-$pkgver/setup.py
-}
-
-build() {
-  cd faker-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd faker-$pkgver
-  python setup.py egg_info
-  python -m pytest
-}
-
-package() {
-  cd faker-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm 644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
-}

Copied: python-faker/repos/community-any/PKGBUILD (from rev 941209, 
python-faker/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:19:48 UTC (rev 941210)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Jeremy "Ichimonji10" Audet 
+# Contributor: dnuux 
+
+pkgname=python-faker
+pkgver=8.2.1
+pkgrel=1
+pkgdesc='Faker generates fake data for you.'
+arch=('any')
+url='https://faker.readthedocs.io/en/master/'
+license=('MIT')
+provides=("python-fake-factory=$pkgver")
+conflicts=('python-fake-factory')
+replaces=('python-fake-factory')
+depends=('python-setuptools' 'python-dateutil' 'python-text-unidecode')
+makedepends=('python-pip' 'python-wheel' 'python-pytest-runner')
+checkdepends=('python-validators' 'python-ukpostcodeparser' 'python-random2'
+  'python-freezegun')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz";)
+sha512sums=('5f03c52b85346c14c771676718b154fa74b019500d5716fbb79ef6e6613bbcfd0c145e0b5624782f7542e775c145c2c7477bf8b1cbb742f4726759a1622b3044')
+
+prepare() {
+  sed -i -e 's/==/>=/' faker-$pkgver/setup.py
+}
+
+build() {
+  cd faker-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd faker-$pkgver
+  python setup.py egg_info
+  python -m pytest
+}
+
+package() {
+  cd faker-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm 644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.txt
+}


[arch-commits] Commit in python-faker/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:19:34
  Author: felixonmars
Revision: 941209

upgpkg: python-faker 8.2.1-1

Modified:
  python-faker/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:17:24 UTC (rev 941208)
+++ PKGBUILD2021-05-22 04:19:34 UTC (rev 941209)
@@ -3,7 +3,7 @@
 # Contributor: dnuux 
 
 pkgname=python-faker
-pkgver=8.2.0
+pkgver=8.2.1
 pkgrel=1
 pkgdesc='Faker generates fake data for you.'
 arch=('any')
@@ -17,7 +17,7 @@
 checkdepends=('python-validators' 'python-ukpostcodeparser' 'python-random2'
   'python-freezegun')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/joke2k/faker/archive/v$pkgver.tar.gz";)
-sha512sums=('b0e4e9a9142f697bfb45fa47eb7665f35e97cbf6bad56ab9e94a02165a4f0204f531cd7dbb5a58ba6890684ecefdc57d20a24af8cecff7f5db4cb5c149851284')
+sha512sums=('5f03c52b85346c14c771676718b154fa74b019500d5716fbb79ef6e6613bbcfd0c145e0b5624782f7542e775c145c2c7477bf8b1cbb742f4726759a1622b3044')
 
 prepare() {
   sed -i -e 's/==/>=/' faker-$pkgver/setup.py


[arch-commits] Commit in haskell-hpack/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:17:24
  Author: felixonmars
Revision: 941208

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hpack/repos/community-staging-x86_64/
  haskell-hpack/repos/community-staging-x86_64/PKGBUILD
(from rev 941207, haskell-hpack/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: haskell-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 941207, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:17:24 UTC (rev 941208)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.34.4
+pkgrel=29
+pkgdesc="A modern format for Haskell packages"
+url="https://github.com/sol/hpack#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-bifunctors' 'haskell-cryptonite' 
'haskell-glob'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types'
+ 'haskell-infer-license' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-interpolate'
+ 'haskell-mockery' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz";)
+sha512sums=('90dee8766955e44fd760ac9bead2f68de23763f56778dd7691d30a71cb37e5834093f3c9b382ffaa677bbbef0a3c0c9f7abeeb34343906e6d6b692481eacd7c9')
+
+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
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test || echo "https://github.com/sol/hpack/issues/358";
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:17:10
  Author: felixonmars
Revision: 941207

upgpkg: haskell-hpack 0.34.4-29: rebuild with hashable 1.3.2.0

Modified:
  haskell-hpack/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:14:41 UTC (rev 941206)
+++ PKGBUILD2021-05-22 04:17:10 UTC (rev 941207)
@@ -5,7 +5,7 @@
 pkgname=haskell-hpack
 _hkgname=hpack
 pkgver=0.34.4
-pkgrel=28
+pkgrel=29
 pkgdesc="A modern format for Haskell packages"
 url="https://github.com/sol/hpack#readme";
 license=("MIT")


[arch-commits] Commit in haskell-interpolate/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:14:41
  Author: felixonmars
Revision: 941206

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-interpolate/repos/community-staging-x86_64/
  haskell-interpolate/repos/community-staging-x86_64/PKGBUILD
(from rev 941205, haskell-interpolate/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: haskell-interpolate/repos/community-staging-x86_64/PKGBUILD (from rev 
941205, haskell-interpolate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:14:41 UTC (rev 941206)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=interpolate
+pkgname=haskell-interpolate
+pkgver=0.2.1
+pkgrel=117
+pkgdesc="String interpolation done right"
+url="https://github.com/sol/interpolate";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1cfeef31d5f41b598763001f9571a60fee7069528479b652cea162c582085f60172e8c5fe7d60ddb2eaf800ab9133dd76710d29564e9ecf638ecc2e2a54adc7b')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:14:28
  Author: felixonmars
Revision: 941205

upgpkg: haskell-interpolate 0.2.1-117: rebuild with hashable 1.3.2.0

Modified:
  haskell-interpolate/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:13:25 UTC (rev 941204)
+++ PKGBUILD2021-05-22 04:14:28 UTC (rev 941205)
@@ -4,7 +4,7 @@
 _hkgname=interpolate
 pkgname=haskell-interpolate
 pkgver=0.2.1
-pkgrel=116
+pkgrel=117
 pkgdesc="String interpolation done right"
 url="https://github.com/sol/interpolate";
 license=("MIT")


[arch-commits] Commit in haskell-persistent-mysql/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:13:25
  Author: felixonmars
Revision: 941204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-mysql/repos/community-staging-x86_64/
  haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD
(from rev 941203, haskell-persistent-mysql/trunk/PKGBUILD)

--+
 PKGBUILD |   65 +
 1 file changed, 65 insertions(+)

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 941203, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:13:25 UTC (rev 941204)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.12.1.0
+pkgrel=10
+pkgdesc="Backend for the persistent library using MySQL database server."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-builder' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-mysql' 'haskell-mysql-simple' 'haskell-persistent' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-persistent-qq' 'haskell-persistent-test' 
'haskell-quickcheck-instances')
+#checkdepends=('percona-server' 'percona-server-clients')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('8b994faa7b4f8aecb2e731fd048ebe3af382003c94e3d93ffedab5a2b5f3b1a3f65a02822986b7353b2daf7718e1f45f48ef8fef6f3a2ee99443e6199452b02a')
+
+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
+  mkdir -p /tmp/mysql_test
+  # TODO: Try to make percona work?
+  #mysqld --no-defaults --initialize-insecure --datadir=/tmp/mysql_test 
+  #mysqld --no-defaults --datadir=/tmp/mysql_test 
--secure-file-priv=/tmp/mysql_test --socket=/tmp/socket.mysql 
--bind-address=127.0.0.1 --skip-grant-tables &
+  
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS persistent;"
+
+  # Compatibility issue with mariadb: 
https://github.com/yesodweb/persistent/issues/1158
+  TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+  kill $MYSQL_PID
+}
+
+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
+}


[arch-commits] Commit in haskell-persistent-mysql/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:13:09
  Author: felixonmars
Revision: 941203

upgpkg: haskell-persistent-mysql 2.12.1.0-10: rebuild with hashable 1.3.2.0

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:12:55 UTC (rev 941202)
+++ PKGBUILD2021-05-22 04:13:09 UTC (rev 941203)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.12.1.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")


[arch-commits] Commit in pass/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Daniel M. Capella via arch-commits
Date: Saturday, May 22, 2021 @ 04:12:55
  Author: polyzen
Revision: 941202

archrelease: copy trunk to community-any

Added:
  pass/repos/community-any/PKGBUILD
(from rev 941201, pass/trunk/PKGBUILD)
Deleted:
  pass/repos/community-any/PKGBUILD

--+
 PKGBUILD |   77 ++---
 1 file changed, 38 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:12:43 UTC (rev 941201)
+++ PKGBUILD2021-05-22 04:12:55 UTC (rev 941202)
@@ -1,39 +0,0 @@
-# Maintainer: Lukas Fleischer 
-# Contributor: Simon Zimmermann 
-# Contributor: Daniel M. Capella 
-
-pkgname='pass'
-pkgver=1.7.3
-pkgrel=3
-pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
-arch=('any')
-url='https://www.passwordstore.org/'
-license=('GPL2')
-depends=('bash' 'gnupg' 'tree')
-checkdepends=('git')
-optdepends=('git: for Git support'
-'dmenu: for passmenu'
-'xdotool: to type passwords with passmenu'
-'qrencode: for QR code support'
-'vim-plugin-runtime: for redact_pass.vim'
-'wl-clipboard: for clipboard support on Wayland'
-'xclip: for clipboard support on X11')
-replaces=('passmenu')
-provides=('passmenu')
-conflicts=('passmenu')
-source=("https://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz";)
-sha256sums=('2b6c65846ebace9a15a118503dcd31b6440949a30d3b5291dfb5b1615b99a3f4')
-
-check() {
-  cd "${srcdir}/password-store-$pkgver/"
-  make test
-}
-
-package() {
-  cd "${srcdir}/password-store-$pkgver/"
-  make DESTDIR="${pkgdir}" WITH_ALLCOMP=yes install
-
-  install -Dm0755 -t "${pkgdir}/usr/bin" contrib/dmenu/passmenu
-  install -Dm0644 -t "${pkgdir}/usr/share/vim/vimfiles/plugin" \
-contrib/vim/redact_pass.vim
-}

Copied: pass/repos/community-any/PKGBUILD (from rev 941201, pass/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:12:55 UTC (rev 941202)
@@ -0,0 +1,38 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Simon Zimmermann 
+# Contributor: Daniel M. Capella 
+
+pkgname='pass'
+pkgver=1.7.3
+pkgrel=4
+pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
+arch=('any')
+url='https://www.passwordstore.org/'
+license=('GPL2')
+depends=('bash' 'gnupg' 'tree')
+checkdepends=('git')
+optdepends=('git: for Git support'
+'dmenu: for passmenu'
+'xdotool: to type passwords with passmenu'
+'qrencode: for QR code support'
+'vim-plugin-runtime: for redact_pass.vim'
+'xclip: for clipboard support on X11')
+replaces=('passmenu')
+provides=('passmenu')
+conflicts=('passmenu')
+source=("https://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz";)
+sha256sums=('2b6c65846ebace9a15a118503dcd31b6440949a30d3b5291dfb5b1615b99a3f4')
+
+check() {
+  cd "${srcdir}/password-store-$pkgver/"
+  make test
+}
+
+package() {
+  cd "${srcdir}/password-store-$pkgver/"
+  make DESTDIR="${pkgdir}" WITH_ALLCOMP=yes install
+
+  install -Dm0755 -t "${pkgdir}/usr/bin" contrib/dmenu/passmenu
+  install -Dm0644 -t "${pkgdir}/usr/share/vim/vimfiles/plugin" \
+contrib/vim/redact_pass.vim
+}


[arch-commits] Commit in python-qiniu/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:12:43
  Author: felixonmars
Revision: 941201

archrelease: copy trunk to community-any

Added:
  python-qiniu/repos/community-any/PKGBUILD
(from rev 941200, python-qiniu/trunk/PKGBUILD)
Deleted:
  python-qiniu/repos/community-any/PKGBUILD

--+
 PKGBUILD |   70 ++---
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:12:30 UTC (rev 941200)
+++ PKGBUILD2021-05-22 04:12:43 UTC (rev 941201)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=python-qiniu
-pkgver=7.3.1
-pkgrel=1
-pkgdesc="Qiniu Resource Storage SDK for Python"
-arch=('any')
-url='https://github.com/qiniu/python-sdk'
-license=('MIT')
-depends=('python-requests' 'python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/qiniu/python-sdk/archive/v$pkgver.tar.gz";)
-sha512sums=('c753ae4e5d6630da678e4103b6952c523baa56542aab129856d74c51cfc358a6d2f41a3d00c1ecf69ed13e97a52ded4d184bea4abf7d381bca7a0b4f673824fa')
-
-build() {
-  cd python-sdk-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Extracted from .travis.yml
-  export QINIU_TEST_BUCKET="pythonsdk"
-  export QINIU_TEST_DOMAIN="pythonsdk.qiniudn.com"
-  export QINIU_TEST_ENV="travis"
-
-  cd python-sdk-$pkgver
-  python setup.py pytest || echo "Tests failed"
-}
-
-package() {
-  cd python-sdk-$pkgver
-  python setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-qiniu/repos/community-any/PKGBUILD (from rev 941200, 
python-qiniu/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:12:43 UTC (rev 941201)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-qiniu
+pkgver=7.4.0
+pkgrel=1
+pkgdesc="Qiniu Resource Storage SDK for Python"
+arch=('any')
+url='https://github.com/qiniu/python-sdk'
+license=('MIT')
+depends=('python-requests' 'python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/qiniu/python-sdk/archive/v$pkgver.tar.gz";)
+sha512sums=('30b3b37106972d1e4c9edb7177130c239143a0d942494994b381d13ccc324a6abc64436636814dceab7fb50ecea7453b8c640c2a261dc930fb4f3825545a096b')
+
+build() {
+  cd python-sdk-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Extracted from .travis.yml
+  export QINIU_TEST_BUCKET="pythonsdk"
+  export QINIU_TEST_DOMAIN="pythonsdk.qiniudn.com"
+  export QINIU_TEST_ENV="travis"
+
+  cd python-sdk-$pkgver
+  python setup.py pytest || echo "Tests failed"
+}
+
+package() {
+  cd python-sdk-$pkgver
+  python setup.py install -O1 --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in pass/trunk (PKGBUILD)

2021-05-21 Thread Daniel M. Capella via arch-commits
Date: Saturday, May 22, 2021 @ 04:12:30
  Author: polyzen
Revision: 941200

upgpkg: pass 1.7.3-4: wl-clipboard support not yet released

Fixes FS#70945

Modified:
  pass/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:12:27 UTC (rev 941199)
+++ PKGBUILD2021-05-22 04:12:30 UTC (rev 941200)
@@ -4,7 +4,7 @@
 
 pkgname='pass'
 pkgver=1.7.3
-pkgrel=3
+pkgrel=4
 pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely'
 arch=('any')
 url='https://www.passwordstore.org/'
@@ -16,7 +16,6 @@
 'xdotool: to type passwords with passmenu'
 'qrencode: for QR code support'
 'vim-plugin-runtime: for redact_pass.vim'
-'wl-clipboard: for clipboard support on Wayland'
 'xclip: for clipboard support on X11')
 replaces=('passmenu')
 provides=('passmenu')


[arch-commits] Commit in python-qiniu/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:12:27
  Author: felixonmars
Revision: 941199

upgpkg: python-qiniu 7.4.0-1

Modified:
  python-qiniu/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:12:14 UTC (rev 941198)
+++ PKGBUILD2021-05-22 04:12:27 UTC (rev 941199)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-qiniu
-pkgver=7.3.1
+pkgver=7.4.0
 pkgrel=1
 pkgdesc="Qiniu Resource Storage SDK for Python"
 arch=('any')
@@ -10,7 +10,7 @@
 depends=('python-requests' 'python-setuptools')
 checkdepends=('python-pytest-runner')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/qiniu/python-sdk/archive/v$pkgver.tar.gz";)
-sha512sums=('c753ae4e5d6630da678e4103b6952c523baa56542aab129856d74c51cfc358a6d2f41a3d00c1ecf69ed13e97a52ded4d184bea4abf7d381bca7a0b4f673824fa')
+sha512sums=('30b3b37106972d1e4c9edb7177130c239143a0d942494994b381d13ccc324a6abc64436636814dceab7fb50ecea7453b8c640c2a261dc930fb4f3825545a096b')
 
 build() {
   cd python-sdk-$pkgver


[arch-commits] Commit in python-identify/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:11:57
  Author: felixonmars
Revision: 941197

upgpkg: python-identify 2.2.5-1

Modified:
  python-identify/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:11:35 UTC (rev 941196)
+++ PKGBUILD2021-05-22 04:11:57 UTC (rev 941197)
@@ -3,7 +3,7 @@
 
 _name=identify
 pkgname=python-identify
-pkgver=2.2.4
+pkgver=2.2.5
 pkgrel=1
 pkgdesc="File identification library for Python"
 arch=('any')
@@ -14,8 +14,8 @@
 checkdepends=('python-editdistance-s' 'python-pytest')
 optdepends=('python-editdistance-s: for returning license identifiers')
 
source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz";)
-sha512sums=('25e255fd62d0e75aafa7037085362b7bf2ba8ae142bfb11e0e20452d503d8ec3f90ec84c8ef8966fb021fe1054c226862b3ce99d2288ec9aaa758a8971d1c87a')
-b2sums=('9473a157ce2aed13ed45d6e8d83b4510c40ae977406b9d7b211caa70c27d1850cf49da8848495841281b1f192b576d269a5372215effd7d89c9211e51d51151d')
+sha512sums=('8aafd160e6e38cd225525066e34b4e35af7a0228cfcc4c420fe55b886c57432b9a34b0f410fd8b57c445b6bc83757c0fe2e8320d3e708f58a8f94933f3a7cb47')
+b2sums=('8652a7b47563c55104c44dfb8bb079ce809812cae676c7e5545f402a688fb7d0683f20c3555f206e167bd30c9bca69c8274d0a898b3d4f6d74b767f66882814b')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"


[arch-commits] Commit in python-identify/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:12:14
  Author: felixonmars
Revision: 941198

archrelease: copy trunk to community-any

Added:
  python-identify/repos/community-any/PKGBUILD
(from rev 941197, python-identify/trunk/PKGBUILD)
Deleted:
  python-identify/repos/community-any/PKGBUILD

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 04:11:57 UTC (rev 941197)
+++ PKGBUILD2021-05-22 04:12:14 UTC (rev 941198)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge 
-# Contributor: Felix Yan 
-
-_name=identify
-pkgname=python-identify
-pkgver=2.2.4
-pkgrel=1
-pkgdesc="File identification library for Python"
-arch=('any')
-url="https://github.com/chriskuehl/identify";
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-editdistance-s' 'python-pytest')
-optdepends=('python-editdistance-s: for returning license identifiers')
-source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz";)
-sha512sums=('25e255fd62d0e75aafa7037085362b7bf2ba8ae142bfb11e0e20452d503d8ec3f90ec84c8ef8966fb021fe1054c226862b3ce99d2288ec9aaa758a8971d1c87a')
-b2sums=('9473a157ce2aed13ed45d6e8d83b4510c40ae977406b9d7b211caa70c27d1850cf49da8848495841281b1f192b576d269a5372215effd7d89c9211e51d51151d')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
---optimize=1 \
---root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-identify/repos/community-any/PKGBUILD (from rev 941197, 
python-identify/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 04:12:14 UTC (rev 941198)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge 
+# Contributor: Felix Yan 
+
+_name=identify
+pkgname=python-identify
+pkgver=2.2.5
+pkgrel=1
+pkgdesc="File identification library for Python"
+arch=('any')
+url="https://github.com/chriskuehl/identify";
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-editdistance-s' 'python-pytest')
+optdepends=('python-editdistance-s: for returning license identifiers')
+source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz";)
+sha512sums=('8aafd160e6e38cd225525066e34b4e35af7a0228cfcc4c420fe55b886c57432b9a34b0f410fd8b57c445b6bc83757c0fe2e8320d3e708f58a8f94933f3a7cb47')
+b2sums=('8652a7b47563c55104c44dfb8bb079ce809812cae676c7e5545f402a688fb7d0683f20c3555f206e167bd30c9bca69c8274d0a898b3d4f6d74b767f66882814b')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in haskell-persistent-postgresql/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:11:35
  Author: felixonmars
Revision: 941196

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-postgresql/repos/community-staging-x86_64/
  haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD
(from rev 941195, haskell-persistent-postgresql/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD 
(from rev 941195, haskell-persistent-postgresql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:11:35 UTC (rev 941196)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-postgresql
+pkgname=haskell-persistent-postgresql
+pkgver=2.12.0.0
+pkgrel=13
+pkgdesc="Backend for the persistent library using postgresql."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-postgresql-libpq'
+ 'haskell-postgresql-simple' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-string-conversions' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-persistent-qq' 
'haskell-persistent-test'
+ 'haskell-quickcheck-instances' 'haskell-unliftio' 
'haskell-unordered-containers'
+ 'haskell-vector')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('2ce34e558747b70c613af876c3cdf9dccd0e46a303aba7cd4b8483de306989d5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # pifpaf's default port
+  sed -i 's/port=5432/port=9824/' test/PgInit.hs
+}
+
+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
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser postgres
+  createdb test
+  runhaskell Setup test --show-details=direct
+  pifpaf_stop
+}
+
+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
+}


[arch-commits] Commit in haskell-persistent-postgresql/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:11:19
  Author: felixonmars
Revision: 941195

upgpkg: haskell-persistent-postgresql 2.12.0.0-13: rebuild with hashable 1.3.2.0

Modified:
  haskell-persistent-postgresql/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:09:29 UTC (rev 941194)
+++ PKGBUILD2021-05-22 04:11:19 UTC (rev 941195)
@@ -3,7 +3,7 @@
 _hkgname=persistent-postgresql
 pkgname=haskell-persistent-postgresql
 pkgver=2.12.0.0
-pkgrel=12
+pkgrel=13
 pkgdesc="Backend for the persistent library using postgresql."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")


[arch-commits] Commit in haskell-persistent-qq/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:09:29
  Author: felixonmars
Revision: 941194

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-qq/repos/community-staging-x86_64/
  haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD
(from rev 941193, haskell-persistent-qq/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
941193, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:09:29 UTC (rev 941194)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.0
+pkgrel=12
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-resourcet'
+ 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('36e6fd8eaa8bdf6edf93809a6b9bfca495ba71a70c636073d10355ddcdd3a75946ac15c2a5270c9ca9f9f810fa075d3d1f3f3db17f0d4b1c7d41c37f08684db7')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-persistent-qq/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:09:15
  Author: felixonmars
Revision: 941193

upgpkg: haskell-persistent-qq 2.12.0.0-12: rebuild with hashable 1.3.2.0

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:07:36 UTC (rev 941192)
+++ PKGBUILD2021-05-22 04:09:15 UTC (rev 941193)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.0
-pkgrel=11
+pkgrel=12
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent";
 license=('MIT')


[arch-commits] Commit in haskell-here/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:07:36
  Author: felixonmars
Revision: 941192

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-here/repos/community-staging-x86_64/
  haskell-here/repos/community-staging-x86_64/PKGBUILD
(from rev 941191, haskell-here/trunk/PKGBUILD)

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Copied: haskell-here/repos/community-staging-x86_64/PKGBUILD (from rev 941191, 
haskell-here/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:07:36 UTC (rev 941192)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=here
+pkgname=haskell-here
+pkgver=1.2.13
+pkgrel=225
+pkgdesc="Here docs & interpolated strings via quasiquotation"
+url="https://github.com/tmhedberg/here";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-src-meta")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('aa6ddfad039a90950389c50699dd5f7230bd1ac9b2b9345d5d0c8e8470707216093553dfe89480c31f19374b905e319b8216b8939051278ae41d79ccc5b160fb')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:07:22
  Author: felixonmars
Revision: 941191

upgpkg: haskell-here 1.2.13-225: rebuild with hashable 1.3.2.0

Modified:
  haskell-here/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:06:39 UTC (rev 941190)
+++ PKGBUILD2021-05-22 04:07:22 UTC (rev 941191)
@@ -4,7 +4,7 @@
 _hkgname=here
 pkgname=haskell-here
 pkgver=1.2.13
-pkgrel=224
+pkgrel=225
 pkgdesc="Here docs & interpolated strings via quasiquotation"
 url="https://github.com/tmhedberg/here";
 license=("BSD")


[arch-commits] Commit in haskell-src-meta/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:06:26
  Author: felixonmars
Revision: 941189

upgpkg: haskell-src-meta 0.8.7-17: rebuild with hashable 1.3.2.0

Modified:
  haskell-src-meta/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:05:25 UTC (rev 941188)
+++ PKGBUILD2021-05-22 04:06:26 UTC (rev 941189)
@@ -4,7 +4,7 @@
 _hkgname=haskell-src-meta
 pkgname=haskell-src-meta
 pkgver=0.8.7
-pkgrel=16
+pkgrel=17
 pkgdesc="Parse source to template-haskell abstract syntax"
 url="https://github.com/bmillwood/haskell-src-meta";
 license=("BSD")


[arch-commits] Commit in haskell-src-meta/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:06:39
  Author: felixonmars
Revision: 941190

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-src-meta/repos/community-staging-x86_64/
  haskell-src-meta/repos/community-staging-x86_64/PKGBUILD
(from rev 941189, haskell-src-meta/trunk/PKGBUILD)

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Copied: haskell-src-meta/repos/community-staging-x86_64/PKGBUILD (from rev 
941189, haskell-src-meta/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:06:39 UTC (rev 941190)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=haskell-src-meta
+pkgname=haskell-src-meta
+pkgver=0.8.7
+pkgrel=17
+pkgdesc="Parse source to template-haskell abstract syntax"
+url="https://github.com/bmillwood/haskell-src-meta";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-exts' 'haskell-syb' 'haskell-th-orphans')
+makedepends=('ghc' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9a4d376be83b21b6289125a6b21dd309ebb336996f35cd72ff0e93bab7071f25b505897aa60d2f9b7809c18d6f03cb5335c2bfbf895edf4423b34801dd608f94')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-src-exts-util/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:05:25
  Author: felixonmars
Revision: 941188

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-src-exts-util/repos/community-staging-x86_64/
  haskell-src-exts-util/repos/community-staging-x86_64/PKGBUILD
(from rev 941187, haskell-src-exts-util/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: haskell-src-exts-util/repos/community-staging-x86_64/PKGBUILD (from rev 
941187, haskell-src-exts-util/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:05:25 UTC (rev 941188)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-src-exts-util
+pkgname=haskell-src-exts-util
+pkgver=0.2.5
+pkgrel=149
+pkgdesc="Helper functions for working with haskell-src-exts trees"
+url="https://github.com/pepeiborra/haskell-src-exts-util";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-src-exts' 
'haskell-uniplate')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0497d8e2206402cc295289b1893f326c8f5fa7fc00177279b7af389b3351a94a123d7eb754d8a245981bae51d1a978684791d9b111befca2888bc7fe22f07147')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-src-exts-util/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:05:11
  Author: felixonmars
Revision: 941187

upgpkg: haskell-src-exts-util 0.2.5-149: rebuild with hashable 1.3.2.0

Modified:
  haskell-src-exts-util/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 04:04:23 UTC (rev 941186)
+++ PKGBUILD2021-05-22 04:05:11 UTC (rev 941187)
@@ -3,7 +3,7 @@
 _hkgname=haskell-src-exts-util
 pkgname=haskell-src-exts-util
 pkgver=0.2.5
-pkgrel=148
+pkgrel=149
 pkgdesc="Helper functions for working with haskell-src-exts trees"
 url="https://github.com/pepeiborra/haskell-src-exts-util";
 license=("BSD")


[arch-commits] Commit in git-annex/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:04:23
  Author: felixonmars
Revision: 941186

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
(from rev 941185, git-annex/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 941185, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 04:04:23 UTC (rev 941186)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20210428
+pkgrel=15
+pkgdesc="Manage files with git, without checking their contents into git"
+url="https://git-annex.branchable.com/";
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 
'haskell-aws'
+ 'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 
'haskell-case-insensitive'
+ 'haskell-clientsession' 'haskell-concurrent-output' 
'haskell-connection' 'haskell-conduit'
+ 'haskell-criterion' 'haskell-crypto-api' 'haskell-cryptonite' 
'haskell-data-default'
+ 'haskell-dav' 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist'
+ 'haskell-edit-distance' 'haskell-fdo-notify' 'haskell-feed' 
'haskell-filepath-bytestring'
+ 'haskell-git-lfs' 'haskell-hinotify' 'haskell-http-client' 
'haskell-http-client-restricted'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-ifelse'
+ 'haskell-magic' 'haskell-memory' 'haskell-microlens' 
'haskell-monad-control'
+ 'haskell-monad-logger' 'haskell-mountpoints' 'haskell-network' 
'haskell-network-info'
+ 'haskell-network-multicast' 'haskell-network-uri' 'haskell-old-locale'
+ 'haskell-optparse-applicative' 'haskell-path-pieces' 
'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-quickcheck' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-safesemaphore' 'haskell-sandi' 
'haskell-securemem'
+ 'haskell-shakespeare' 'haskell-socks' 'haskell-split' 
'haskell-stm-chans' 'haskell-tagsoup'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun'
+ 'haskell-torrent' 'haskell-unix-compat' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-uuid' 
'haskell-vector'
+ 'haskell-wai' 'haskell-wai-extra' 'haskell-warp' 'haskell-warp-tls' 
'haskell-yesod'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static')
+makedepends=('chrpath' 'ghc' 'uusi')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver";)
+sha512sums=('SKIP')
+
+prepare() {
+  cd git-annex
+  # persistent-template was merged into persistent
+  uusi -d persistent-template git-annex.cabal
+  sed -i 's/MIN_VERSION_persistent_template/MIN_VERSION_persistent/' 
Database/ContentIdentifier.hs Database/Export.hs Database/Fsck.hs 
Database/Keys/SQL.hs
+}
+
+build() {
+  cd git-annex
+  sed -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+  -i Makefile
+  make GHC="ghc -dynamic" BUILDER=./Setup BUILDEROPTIONS=$MAKEFLAGS
+}
+
+package() {
+  cd git-annex
+  make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}


[arch-commits] Commit in git-annex/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 04:04:10
  Author: felixonmars
Revision: 941185

upgpkg: git-annex 8.20210428-15: rebuild with hashable 1.3.2.0

Modified:
  git-annex/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:58:12 UTC (rev 941184)
+++ PKGBUILD2021-05-22 04:04:10 UTC (rev 941185)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210428
-pkgrel=14
+pkgrel=15
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/";
 license=("AGPL3")


[arch-commits] Commit in hedgewars/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:58:12
  Author: felixonmars
Revision: 941184

archrelease: copy trunk to community-staging-x86_64

Added:
  hedgewars/repos/community-staging-x86_64/
  hedgewars/repos/community-staging-x86_64/PKGBUILD
(from rev 941183, hedgewars/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: hedgewars/repos/community-staging-x86_64/PKGBUILD (from rev 941183, 
hedgewars/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:58:12 UTC (rev 941184)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Sergej Pupykin 
+# Contributor: Tinxy 
+
+pkgname=hedgewars
+pkgver=1.0.0
+pkgrel=186
+pkgdesc="Turn-based strategy artillery game similiar to Worms"
+arch=('x86_64')
+url="https://hedgewars.org";
+license=('GPL' 'custom')
+depends=('qt5-base' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_net' 'sdl2_ttf' 
'lua51' 'ffmpeg' 'glut'
+ 'physfs' 'ghc-libs' 'haskell-entropy' 'haskell-sha' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-sandi' 'haskell-hslogger' 'haskell-network' 
'haskell-network-bsd'
+ 'haskell-utf8-string' 'haskell-vector')
+makedepends=('fpc' 'cmake' 'qt5-tools' 'ghc' 'haskell-bytestring-show' 
'haskell-zlib'
+ 'haskell-base-prelude' 'imagemagick' 'mesa')
+source=("https://www.hedgewars.org/download/releases/hedgewars-src-$pkgver.tar.bz2";
+
hedgewars-network-3.patch::https://github.com/hedgewars/hw/commit/f813f3d5b63bb5be1b5e0b44930e77656c547aad.patch)
+sha512sums=('9aeb904550239040a878a0e7ae5006aa4d824124b61d813b9e6f6dfe1bd1c8f5fe395e0fd6e58d685ef1259abd4669e03b985be129c620be15f6e5ad82519ec2'
+
'1b36e26986897f613a6ce98479114035be1d76fe256e50d4743506f8d5651ff09a1d694f501a286ca6444d21ca24d52f878cf42be098943fb798c44dca227abf')
+
+prepare() {
+  cd hedgewars-src-$pkgver
+  patch -p1 -i ../hedgewars-network-3.patch 
+  sed -i 's|set(ghc_flags|set(ghc_flags -dynamic|' gameServer/CMakeLists.txt
+  sed -i '/#include /a #include ' 
QTfrontend/ui/page/pagegamestats.cpp
+
+  # https://bugs.freepascal.org/view.php?id=37286
+  sed -i 's/procedure ShiftWorld(Dir: LongInt); inline;/procedure 
ShiftWorld(Dir: LongInt);/' hedgewars/uWorld.pas
+}
+
+build() {
+  cd hedgewars-src-$pkgver
+  cmake \
+-DCMAKE_BUILD_TYPE="Release" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DDATA_INSTALL_DIR=/usr/share/hedgewars \
+-DNOSERVER=0 \
+.
+  make
+
+  # resize icon
+  for _size in 16 32 48 64 128 256; do
+convert +set date:create +set date:modify misc/hedgewars.png -resize 
${_size}x${_size} hedgewars_${_size}.png
+  done
+}
+
+package() {
+  cd hedgewars-src-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 Fonts_LICENSE.txt 
"$pkgdir"/usr/share/licenses/${pkgname}/Fonts_LICENSE.txt
+
+  # install icons
+  install -D -m644 misc/hedgewars.png 
"$pkgdir"/usr/share/icons/hicolor/512x512/apps/hedgewars.png
+  for _size in 16 32 48 64 128 256; do
+install -D -m644 hedgewars_${_size}.png 
"$pkgdir"/usr/share/icons/hicolor/${_size}x${_size}/apps/hedgewars.png
+  done
+  rm -rf "$pkgdir"/usr/share/pixmaps
+
+  install -D -m644 share/hedgewars/Data/misc/hedgewars.desktop 
"$pkgdir"/usr/share/applications/hedgewars.desktop
+}


[arch-commits] Commit in hedgewars/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:57:53
  Author: felixonmars
Revision: 941183

upgpkg: hedgewars 1.0.0-186: rebuild with hashable 1.3.2.0

Modified:
  hedgewars/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:53:22 UTC (rev 941182)
+++ PKGBUILD2021-05-22 03:57:53 UTC (rev 941183)
@@ -4,7 +4,7 @@
 
 pkgname=hedgewars
 pkgver=1.0.0
-pkgrel=185
+pkgrel=186
 pkgdesc="Turn-based strategy artillery game similiar to Worms"
 arch=('x86_64')
 url="https://hedgewars.org";


[arch-commits] Commit in haskell-sandi/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:53:22
  Author: felixonmars
Revision: 941182

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-sandi/repos/community-staging-x86_64/
  haskell-sandi/repos/community-staging-x86_64/PKGBUILD
(from rev 941181, haskell-sandi/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-sandi/repos/community-staging-x86_64/PKGBUILD (from rev 941181, 
haskell-sandi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:53:22 UTC (rev 941182)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sandi
+pkgname=haskell-sandi
+pkgver=0.5
+pkgrel=225
+pkgdesc="Data encoding library"
+url="https://hackage.haskell.org/package/sandi";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-th')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('8abff3496d0d3f082f12416eea3189e06d1663fe78d996159396ab944389b2a816853c0191edced3b176fc506dac60e9ce84347ecaf2c255e5ec0d6b1590c012')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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 \
+-fwith-conduit
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:53:09
  Author: felixonmars
Revision: 941181

upgpkg: haskell-sandi 0.5-225: rebuild with hashable 1.3.2.0

Modified:
  haskell-sandi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:52:17 UTC (rev 941180)
+++ PKGBUILD2021-05-22 03:53:09 UTC (rev 941181)
@@ -4,7 +4,7 @@
 _hkgname=sandi
 pkgname=haskell-sandi
 pkgver=0.5
-pkgrel=224
+pkgrel=225
 pkgdesc="Data encoding library"
 url="https://hackage.haskell.org/package/sandi";
 license=("BSD")


[arch-commits] Commit in haskell-hls-explicit-imports-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:52:17
  Author: felixonmars
Revision: 941180

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941179, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 941179, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:52:17 UTC (rev 941180)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.0.1
+pkgrel=7
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp' 'haskell-lsp-types' 'haskell-shake' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('94bda4eab1b5638f78ea23f69d1aee105769f91e9eee627465b04f0903d41d4e93beb88f94c6d47ef586f0684130991882e677852f0bd88adac6098969ee9dfe')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+}
+
+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
+}


[arch-commits] Commit in haskell-hls-explicit-imports-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:52:02
  Author: felixonmars
Revision: 941179

upgpkg: haskell-hls-explicit-imports-plugin 1.0.0.1-7: rebuild with hashable 
1.3.2.0

Modified:
  haskell-hls-explicit-imports-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:50:50 UTC (rev 941178)
+++ PKGBUILD2021-05-22 03:52:02 UTC (rev 941179)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.0.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin";
 license=("Apache")


[arch-commits] Commit in haskell-hls-hlint-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:50:50
  Author: felixonmars
Revision: 941178

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941177, haskell-hls-hlint-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   49 +
 1 file changed, 49 insertions(+)

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 941177, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:50:50 UTC (rev 941178)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.0.2
+pkgrel=7
+pkgdesc="Hlint integration plugin with Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-hlint-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-apply-refact' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide' 'haskell-hashable'
+ 'hlint' 'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-regex-tdfa' 'haskell-shake' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz";)
+sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+
+prepare() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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
+}
+
+package() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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
+}


[arch-commits] Commit in haskell-hls-hlint-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:49:51
  Author: felixonmars
Revision: 941177

upgpkg: haskell-hls-hlint-plugin 1.0.0.2-7: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-hlint-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:46:59 UTC (rev 941176)
+++ PKGBUILD2021-05-22 03:49:51 UTC (rev 941177)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin";
 license=("Apache")


[arch-commits] Commit in haskell-hls-retrie-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:46:59
  Author: felixonmars
Revision: 941176

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-retrie-plugin/repos/community-staging-x86_64/
  haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941175, haskell-hls-retrie-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 941175, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:46:59 UTC (rev 941176)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.0.2
+pkgrel=7
+pkgdesc="Retrie integration plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-retrie-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghcide'
+ 'haskell-hashable' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-retrie' 'haskell-safe-exceptions' 'haskell-shake' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('34fc9537a3c62d6565940e895973a04721cb101947cca92557c34f6452fcbf694f625fa1cfdf74180cff19e5897f079ff2a10ae4707b472e25b62c0fe44b3573')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+}
+
+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
+}


[arch-commits] Commit in haskell-hls-retrie-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:46:45
  Author: felixonmars
Revision: 941175

upgpkg: haskell-hls-retrie-plugin 1.0.0.2-7: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-retrie-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:45:25 UTC (rev 941174)
+++ PKGBUILD2021-05-22 03:46:45 UTC (rev 941175)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin";
 license=("Apache")


[arch-commits] Commit in haskell-hls-haddock-comments-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:45:25
  Author: felixonmars
Revision: 941174

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941173, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 941173, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:45:25 UTC (rev 941174)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.1
+pkgrel=7
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('b29fa55c05417cdb5fa750642f340799b912480ed1dc5e8387ab214f956f1be724923404d4ba1bcec62fa6faba88a4ea9f465bdcacba526b5b1cc770a605cd35')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+  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
+}


[arch-commits] Commit in haskell-hls-haddock-comments-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:45:12
  Author: felixonmars
Revision: 941173

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.1-7: rebuild with hashable 
1.3.2.0

Modified:
  haskell-hls-haddock-comments-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:43:32 UTC (rev 941172)
+++ PKGBUILD2021-05-22 03:45:12 UTC (rev 941173)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server";
 license=("Apache")


[arch-commits] Commit in haskell-hls-stylish-haskell-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:43:32
  Author: felixonmars
Revision: 941172

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/
  haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941171, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: 
haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 941171, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:43:32 UTC (rev 941172)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.0
+pkgrel=7
+pkgdesc="Integration with the Stylish Haskell code formatter"
+url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp-types'
+ 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+# https://github.com/haskell/haskell-language-server/issues/1818
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz";)
+sha256sums=('1d2bab12dcf6ef5f14fe4159e2d1f76b00de75fa9af51846b7ad861fa1daadb2')
+
+prepare() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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 haskell-language-server-1.1.0/plugins/$_hkgname
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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
+}


[arch-commits] Commit in haskell-hls-stylish-haskell-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:43:19
  Author: felixonmars
Revision: 941171

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.0-7: rebuild with hashable 
1.3.2.0

Modified:
  haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:41:58 UTC (rev 941170)
+++ PKGBUILD2021-05-22 03:43:19 UTC (rev 941171)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin";
 license=("Apache")


[arch-commits] Commit in haskell-hls-eval-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:41:58
  Author: felixonmars
Revision: 941170

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-eval-plugin/repos/community-staging-x86_64/
  haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941169, haskell-hls-eval-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 941169, haskell-hls-eval-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:41:58 UTC (rev 941170)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-eval-plugin
+pkgname=haskell-hls-eval-plugin
+pkgver=1.1.0.0
+pkgrel=7
+pkgdesc="Eval plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-paths' 'haskell-ghcide' 
'haskell-hashable'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-megaparsec' 'haskell-parser-combinators' 
'haskell-pretty-simple'
+ 'haskell-safe-exceptions' 'haskell-shake' 'haskell-temporary' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz";)
+sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+
+prepare() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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 haskell-language-server-1.1.0/plugins/$_hkgname
+  # https://github.com/haskell/haskell-language-server/issues/1809
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+package() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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
+}


[arch-commits] Commit in haskell-hls-eval-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:41:45
  Author: felixonmars
Revision: 941169

upgpkg: haskell-hls-eval-plugin 1.1.0.0-7: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-eval-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:39:56 UTC (rev 941168)
+++ PKGBUILD2021-05-22 03:41:45 UTC (rev 941169)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.1.0.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server";
 license=("Apache")


[arch-commits] Commit in haskell-hls-class-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:39:56
  Author: felixonmars
Revision: 941168

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-class-plugin/repos/community-staging-x86_64/
  haskell-hls-class-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941167, haskell-hls-class-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Copied: haskell-hls-class-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 941167, haskell-hls-class-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:39:56 UTC (rev 941168)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-class-plugin
+pkgname=haskell-hls-class-plugin
+pkgver=1.0.0.1
+pkgrel=7
+pkgdesc="Class/instance management plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 'haskell-shake'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test' 
'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('71bf816f4b4bf7e817544c8eebb87457557532490f77cbe7213170e3934112134bdf458ad58eec689e20a71ba2ad5cccbdcde5443aa4e3469e933ee40b8ee862')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+  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
+}


[arch-commits] Commit in haskell-hls-class-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:39:42
  Author: felixonmars
Revision: 941167

upgpkg: haskell-hls-class-plugin 1.0.0.1-7: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-class-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:37:52 UTC (rev 941166)
+++ PKGBUILD2021-05-22 03:39:42 UTC (rev 941167)
@@ -3,7 +3,7 @@
 _hkgname=hls-class-plugin
 pkgname=haskell-hls-class-plugin
 pkgver=1.0.0.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Class/instance management plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")


[arch-commits] Commit in haskell-hls-brittany-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:37:52
  Author: felixonmars
Revision: 941166

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-brittany-plugin/repos/community-staging-x86_64/
  haskell-hls-brittany-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941165, haskell-hls-brittany-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Copied: haskell-hls-brittany-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 941165, haskell-hls-brittany-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:37:52 UTC (rev 941166)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-brittany-plugin
+pkgname=haskell-hls-brittany-plugin
+pkgver=1.0.0.1
+pkgrel=9
+pkgdesc="Integration with the Brittany code formatter"
+url="https://haskellwingman.dev";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brittany' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp-types')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz";)
+sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+
+prepare() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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 haskell-language-server-1.1.0/plugins/$_hkgname
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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
+}


[arch-commits] Commit in haskell-hls-brittany-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:37:39
  Author: felixonmars
Revision: 941165

upgpkg: haskell-hls-brittany-plugin 1.0.0.1-9: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-brittany-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:36:15 UTC (rev 941164)
+++ PKGBUILD2021-05-22 03:37:39 UTC (rev 941165)
@@ -3,7 +3,7 @@
 _hkgname=hls-brittany-plugin
 pkgname=haskell-hls-brittany-plugin
 pkgver=1.0.0.1
-pkgrel=8
+pkgrel=9
 pkgdesc="Integration with the Brittany code formatter"
 url="https://haskellwingman.dev";
 license=("Apache")


[arch-commits] Commit in haskell-hls-splice-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:36:15
  Author: felixonmars
Revision: 941164

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-splice-plugin/repos/community-staging-x86_64/
  haskell-hls-splice-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941163, haskell-hls-splice-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Copied: haskell-hls-splice-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 941163, haskell-hls-splice-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:36:15 UTC (rev 941164)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-splice-plugin
+pkgname=haskell-hls-splice-plugin
+pkgver=1.0.0.2
+pkgrel=3
+pkgdesc="HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes"
+url="https://hackage.haskell.org/package/hls-splice-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-dlist' 'haskell-extra' 
'haskell-foldl' 'haskell-ghc'
+ 'haskell-ghc-exactprint' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lens'
+ 'haskell-lsp' 'haskell-retrie' 'haskell-shake' 'haskell-syb' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('faf1e1cc127fe58fbafab4f61a3e8daa832c93c7d752a0a0228fa497079db2be64f51196b4b5734e0beddf1cd10d57cd7419671aee1c94b8cad84099b20e')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --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
+  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
+}


[arch-commits] Commit in haskell-hls-splice-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:36:01
  Author: felixonmars
Revision: 941163

upgpkg: haskell-hls-splice-plugin 1.0.0.2-3: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-splice-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:32:56 UTC (rev 941162)
+++ PKGBUILD2021-05-22 03:36:01 UTC (rev 941163)
@@ -3,7 +3,7 @@
 _hkgname=hls-splice-plugin
 pkgname=haskell-hls-splice-plugin
 pkgver=1.0.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes"
 url="https://hackage.haskell.org/package/hls-splice-plugin";
 license=("Apache")


[arch-commits] Commit in haskell-hls-tactics-plugin/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:32:56
  Author: felixonmars
Revision: 941162

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-tactics-plugin/repos/community-staging-x86_64/
  haskell-hls-tactics-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 941161, haskell-hls-tactics-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hls-tactics-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 941161, haskell-hls-tactics-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:32:56 UTC (rev 941162)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-tactics-plugin
+pkgname=haskell-hls-tactics-plugin
+pkgver=1.1.0.0
+pkgrel=7
+pkgdesc="Wingman plugin for Haskell Language Server"
+url="https://haskellwingman.dev";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-fingertree' 
'haskell-generic-lens'
+ 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghc-source-gen' 
'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 
'haskell-refinery' 'haskell-retrie'
+ 'haskell-shake' 'haskell-syb' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hls-test-utils' 
'haskell-hspec'
+ 'haskell-hspec-discover' 'haskell-hspec-expectations' 
'haskell-lsp-types'
+ 'haskell-tasty-hunit' 'haskell-tasty-hspec')
+# Hackage tarball is missing test data
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/1.1.0/haskell-language-server-1.1.0.tar.gz";)
+sha512sums=('05f724ec6209a4c30e260b8e9f945c5bc58be6b98458ea11ba3b297fa74fecbec37dc292d9aeda2d6dd5a8f24c4125f6d20afbb35eeec6335c9ea7138ed89e52')
+
+prepare() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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 haskell-language-server-1.1.0/plugins/$_hkgname
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd haskell-language-server-1.1.0/plugins/$_hkgname
+
+  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
+}


[arch-commits] Commit in haskell-hls-tactics-plugin/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:32:42
  Author: felixonmars
Revision: 941161

upgpkg: haskell-hls-tactics-plugin 1.1.0.0-7: rebuild with hashable 1.3.2.0

Modified:
  haskell-hls-tactics-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:24:30 UTC (rev 941160)
+++ PKGBUILD2021-05-22 03:32:42 UTC (rev 941161)
@@ -3,7 +3,7 @@
 _hkgname=hls-tactics-plugin
 pkgname=haskell-hls-tactics-plugin
 pkgver=1.1.0.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Wingman plugin for Haskell Language Server"
 url="https://haskellwingman.dev";
 license=("Apache")


[arch-commits] Commit in haskell-hls-test-utils/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:24:30
  Author: felixonmars
Revision: 941160

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-test-utils/repos/community-staging-x86_64/
  haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 941159, haskell-hls-test-utils/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 941159, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:24:30 UTC (rev 941160)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.0.0.0
+pkgrel=8
+pkgdesc="Utilities used in the tests of Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-hspec'
+ 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 'haskell-lsp-test' 
'haskell-lsp-types'
+ 'haskell-shake' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('befae62fe5e2098aab1883e77158f9067ac71f5c3fdef44bb618e8a06afa71341385b4c3329a90c7dcf26c5cd11b71a8d582e4385aef8b722f7887540316f5ca')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
+}
+
+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
+}
+
+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
+}


[arch-commits] Commit in haskell-hls-test-utils/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:24:17
  Author: felixonmars
Revision: 941159

upgpkg: haskell-hls-test-utils 1.0.0.0-8: rebuild with hashable 1.3.2.0

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

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:22:58 UTC (rev 941158)
+++ PKGBUILD2021-05-22 03:24:17 UTC (rev 941159)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.0.0.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")


[arch-commits] Commit in haskell-ghcide/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:22:58
  Author: felixonmars
Revision: 941158

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghcide/repos/community-staging-x86_64/
  haskell-ghcide/repos/community-staging-x86_64/PKGBUILD
(from rev 941157, haskell-ghcide/trunk/PKGBUILD)

--+
 PKGBUILD |   78 +
 1 file changed, 78 insertions(+)

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
941157, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:22:58 UTC (rev 941158)
@@ -0,0 +1,78 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.2.0.2
+pkgrel=7
+pkgdesc="The core of an IDE"
+url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-async' 'haskell-base16-bytestring' 
'haskell-bytestring-encoding'
+ 'haskell-case-insensitive' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-dependent-sum' 'haskell-dlist' 
'haskell-extra'
+ 'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 'haskell-ghc-check'
+ 'haskell-ghc-exactprint' 'haskell-ghc-paths' 
'haskell-ghc-trace-events' 'haskell-gitrev'
+ 'haskell-haddock-library' 'haskell-hashable' 'haskell-heapsize' 
'haskell-hie-bios'
+ 'haskell-hie-compat' 'haskell-hiedb' 'haskell-hls-plugin-api' 
'haskell-hslogger'
+ 'haskell-implicit-hie-cradle' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-network-uri' 'haskell-opentelemetry'
+ 'haskell-optparse-applicative' 'haskell-parallel' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 'haskell-regex-tdfa' 
'haskell-retrie'
+ 'haskell-rope-utf16-splay' 'haskell-safe' 'haskell-safe-exceptions' 
'haskell-shake'
+ 'haskell-sorted-list' 'haskell-sqlite-simple' 'haskell-syb' 
'haskell-unliftio'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-ghc-typelits-knownnat'
+ 'haskell-implicit-hie' 'haskell-quickcheck-instances' 
'haskell-record-dot-preprocessor'
+ 'haskell-record-hasfield' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun')
+checkdepends=('cabal-install')
+# Hackage tarball is missing test data
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://github.com/haskell/haskell-language-server/archive/$_hkgname-v$pkgver.tar.gz";)
+sha512sums=('cdb58f3e511da37d2b7587c332f1e5bd420de99ec7fc0b5ea2eb0ba7e8fec4ec8b3854e33f2a8358b560149258abe7c1781d65a66fd21a1b40c9fbf82d159a75')
+
+prepare() {
+  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  gen-setup
+  find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+
+  # TODO: Skipped some broken tests for now
+  sed -i '/, benchmarkTests/d;/, findDefinitionAndHoverTests/d;/, 
bootTests/d;s/, simpleMultiDefTest//;s/echo A.hs/echo -dynamic > 
$HIE_BIOS_OUTPUT/' test/exe/Main.hs
+}
+
+build() {
+  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+
+  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 haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  cabal update
+  # Random test failures "Received an illegal message between the initialize 
request and response"
+  # th-linking-test-unboxed always fails too
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/ghcide-test-preprocessor:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+
+  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/$pkgn

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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:22:45
  Author: felixonmars
Revision: 941157

upgpkg: haskell-ghcide 1.2.0.2-7: rebuild with hashable 1.3.2.0

Modified:
  haskell-ghcide/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 03:00:30 UTC (rev 941156)
+++ PKGBUILD2021-05-22 03:22:45 UTC (rev 941157)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.2.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme";
 license=("Apache")


[arch-commits] Commit in haskell-bytestring-encoding/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:00:30
  Author: felixonmars
Revision: 941156

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-bytestring-encoding/repos/community-staging-x86_64/
  haskell-bytestring-encoding/repos/community-staging-x86_64/PKGBUILD
(from rev 941155, haskell-bytestring-encoding/trunk/PKGBUILD)

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Copied: haskell-bytestring-encoding/repos/community-staging-x86_64/PKGBUILD 
(from rev 941155, haskell-bytestring-encoding/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 03:00:30 UTC (rev 941156)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-encoding
+pkgname=haskell-bytestring-encoding
+pkgver=0.1.1.0
+pkgrel=3
+pkgdesc="ByteString ↔ Text converter based on GHC.IO.Encoding"
+url="https://github.com/msakai/bytestring-encoding#readme";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-th')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('6a080fc0f95060ea2702191442bd4e397149bda25aa2d7c95979cc080201db04eef70305bfd5cb6d52609a339837a0bcadb3951fb375a1ad61522537b0d0087a')
+
+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
+  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
+}


[arch-commits] Commit in haskell-bytestring-encoding/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 03:00:15
  Author: felixonmars
Revision: 941155

upgpkg: haskell-bytestring-encoding 0.1.1.0-3: rebuild with hashable 1.3.2.0

Modified:
  haskell-bytestring-encoding/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 02:59:24 UTC (rev 941154)
+++ PKGBUILD2021-05-22 03:00:15 UTC (rev 941155)
@@ -3,7 +3,7 @@
 _hkgname=bytestring-encoding
 pkgname=haskell-bytestring-encoding
 pkgver=0.1.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="ByteString ↔ Text converter based on GHC.IO.Encoding"
 url="https://github.com/msakai/bytestring-encoding#readme";
 license=("BSD")


[arch-commits] Commit in haskell-hakyll/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 02:59:24
  Author: felixonmars
Revision: 941154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hakyll/repos/community-staging-x86_64/
  haskell-hakyll/repos/community-staging-x86_64/PKGBUILD
(from rev 941153, haskell-hakyll/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
941153, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 02:59:24 UTC (rev 941154)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.14.0.0
+pkgrel=49
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-scientific' 'haskell-tagsoup' 
'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' 
'haskell-wai-app-static'
+ 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('5f3f7a952b085cf1a59a646c15e42f29c89d4ed0a5a96f55156d19b86340c2361da6c19ff7a70bde98122423e237dc7082bfcc84bc5e96ab9421fdaef84a8cce')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u cryptonite -u memory -u optparse-applicative -u pandoc -u tasty 
$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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
+LC_CTYPE=en_US.UTF-8 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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 02:59:10
  Author: felixonmars
Revision: 941153

upgpkg: haskell-hakyll 4.14.0.0-49: rebuild with hashable 1.3.2.0

Modified:
  haskell-hakyll/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 02:57:16 UTC (rev 941152)
+++ PKGBUILD2021-05-22 02:59:10 UTC (rev 941153)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.14.0.0
-pkgrel=48
+pkgrel=49
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll";
 license=("BSD")


[arch-commits] Commit in idris/repos (2 files)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 02:57:16
  Author: felixonmars
Revision: 941152

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 941151, idris/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 941151, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-22 02:57:16 UTC (rev 941152)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=228
+pkgdesc="Functional Programming Language with Dependent Types"
+url="https://www.idris-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 
'haskell-parser-combinators'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 
'haskell-terminal-size'
+ 'haskell-uniplate' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-tagged' 'haskell-tasty' 
'haskell-tasty-golden' 'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz";
+
idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+
'4400ea44d61ab5080926fb88c3a9195dda6dfcefb794a335ca00dcdbc9df8a1e6cb2a9b5ed1c906c34fedea8019281b395f030a6267708be68676c8cc6e5b6fa')
+
+prepare() {
+cd Idris-dev-$pkgver
+patch -p1 -i ../idris-haskeline-0.8.patch
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i 's/Just sline/sline/' src/Idris/Parser/Stack.hs
+uusi idris.cabal
+}
+
+build() {
+cd Idris-dev-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 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 Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || echo "Tests failed"
+}
+
+package() {
+cd Idris-dev-$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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in idris/trunk (PKGBUILD)

2021-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 22, 2021 @ 02:57:02
  Author: felixonmars
Revision: 941151

upgpkg: idris 1.3.3-228: rebuild with hashable 1.3.2.0

Modified:
  idris/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 02:10:25 UTC (rev 941150)
+++ PKGBUILD2021-05-22 02:57:02 UTC (rev 941151)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=227
+pkgrel=228
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/";
 license=("BSD")


[arch-commits] Commit in python-moto/repos/community-any (4 files)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 02:10:25
  Author: yan12125
Revision: 941150

archrelease: copy trunk to community-any

Added:
  python-moto/repos/community-any/PKGBUILD
(from rev 941149, python-moto/trunk/PKGBUILD)
  python-moto/repos/community-any/sdist-no-pyc.diff
(from rev 941149, python-moto/trunk/sdist-no-pyc.diff)
Deleted:
  python-moto/repos/community-any/PKGBUILD
  python-moto/repos/community-any/sdist-no-pyc.diff

---+
 PKGBUILD  |  158 ++--
 sdist-no-pyc.diff |   18 ++---
 2 files changed, 88 insertions(+), 88 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 02:09:22 UTC (rev 941149)
+++ PKGBUILD2021-05-22 02:10:25 UTC (rev 941150)
@@ -1,79 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-# Contributor: Guillaume Horel 
-
-pkgname=python-moto
-_pkgname=moto
-pkgver=2.0.7
-pkgrel=1
-pkgdesc='Moto is a library to mock out the boto library.'
-arch=(any)
-url='https://github.com/spulec/moto'
-license=(Apache)
-# depends on python-setuptools as pkg_resources is used is several modules
-# NOTE: Keep the order of dependencies matching setup.py
-depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
- python-six python-werkzeug python-pytz python-dateutil 
python-responses
- # Below dependencies varied with Python versions
- python-jinja python-more-itertools python-setuptools python-zipp)
-# See reqquirements-test.txt, excluding pytest-cov
-checkdepends=(python-pytest python-sure python-freezegun
-  # boto is vendored (#3503), but still imported in tests
-  python-boto)
-# Below are optional dependencies. The order matches _dep_* items in upstream 
`setup.py`.
-# Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are 
pins and
-# not used by moto.
-optdepends=(
-  'python-yaml: for cloudformation, s3 and ssm'
-  'python-jose: for apigateway and cognitoidp'
-  'python-docker: for awslambda, batch, cloudformation, dynamodb2, 
dynamodbstreams, ec2, ses, sns, sqs and ssm'
-  'python-jsondiff: for iotdata'
-  'python-aws-xray-sdk: for xray'
-  'python-cfn-lint: for cloudformation and ssm'
-  'python-sshpubkeys: for ec2'
-  'python-flask: for moto_server'
-  'python-flask-cors: for moto_server'
-)
-checkdepends+=(python-yaml python-jose python-docker python-jsondiff 
python-aws-xray-sdk
-   python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
-source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz";
-sdist-no-pyc.diff)
-sha256sums=('4209ee3241df1160523a58a169d31d0c8aa10b7aa75894484de58cbfacf14523'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  patch -Np1 -i ../sdist-no-pyc.diff
-
-  # Remove upper bounds of dependencies
-  sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
-  diff -u setup.py{.orig,} || true
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  # XXX: there are too many tests that depend on docker/podman, and there is 
no simple way
-  # other than listing one-by-one for exclusion. To make things worse, running 
docker/podman
-  # in systemd-nspawn containers appears impossible without special 
configurations. I gave
-  # it up and running podman _outside_ the container for testing.
-  # $ systemctl --user start podman.socket
-  # $ extra-x86_64-build -- -d "$XDG_RUNTIME_DIR/podman:/tmp/podman"
-  PODMAN_SOCK=/tmp/podman/podman.sock
-  if [ -S $PODMAN_SOCK ]; then
-DOCKER_HOST="unix://$PODMAN_SOCK" TZ=UTC pytest tests
-  fi
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  # use PYTHONHASHSEED=0 work around https://bugs.python.org/issue34722
-  PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 
--skip-build
-}

Copied: python-moto/repos/community-any/PKGBUILD (from rev 941149, 
python-moto/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 02:10:25 UTC (rev 941150)
@@ -0,0 +1,79 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Guillaume Horel 
+
+pkgname=python-moto
+_pkgname=moto
+pkgver=2.0.8
+pkgrel=1
+pkgdesc='Moto is a library to mock out the boto library.'
+arch=(any)
+url='https://github.com/spulec/moto'
+license=(Apache)
+# depends on python-setuptools as pkg_resources is used is several modules
+# NOTE: Keep the order of dependencies matching setup.py
+depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
+ python-six python-werkzeug python-pytz python-dateutil 
python-responses
+ # Below dependencies varied with Python versions
+ python-jinja python-more-itertools python-setuptools)
+# See reqquirements-test.txt, exclu

[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 02:09:22
  Author: yan12125
Revision: 941149

upgpkg: python-moto 2.0.8-1

zipp is no longer an dependency since https://github.com/spulec/moto/pull/3940

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 01:18:43 UTC (rev 941148)
+++ PKGBUILD2021-05-22 02:09:22 UTC (rev 941149)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.7
+pkgver=2.0.8
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -14,7 +14,7 @@
 depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
  python-six python-werkzeug python-pytz python-dateutil 
python-responses
  # Below dependencies varied with Python versions
- python-jinja python-more-itertools python-setuptools python-zipp)
+ python-jinja python-more-itertools python-setuptools)
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun
   # boto is vendored (#3503), but still imported in tests
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz";
 sdist-no-pyc.diff)
-sha256sums=('4209ee3241df1160523a58a169d31d0c8aa10b7aa75894484de58cbfacf14523'
+sha256sums=('812dcfdb460e6d43236f2c0f7774ede038716daef6db8a09dc5c16ea7e4de931'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {


[arch-commits] Commit in python-pg8000/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 01:18:43
  Author: yan12125
Revision: 941148

archrelease: copy trunk to community-any

Added:
  python-pg8000/repos/community-any/PKGBUILD
(from rev 941147, python-pg8000/trunk/PKGBUILD)
Deleted:
  python-pg8000/repos/community-any/PKGBUILD

--+
 PKGBUILD |  156 ++---
 1 file changed, 78 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 01:18:27 UTC (rev 941147)
+++ PKGBUILD2021-05-22 01:18:43 UTC (rev 941148)
@@ -1,78 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-# Contributor: quomoow 
-
-pkgname=python-pg8000
-pkgver=1.19.4
-pkgrel=1
-pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
-arch=(any)
-url='https://github.com/tlocke/pg8000'
-license=(BSD)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark
-  python-pytz postgresql)
-depends=(python python-scramp)
-source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc})
-sha256sums=('7c9c6d57541b0f2153e23a8d759ceb3d7cb9308918fba6ad9e92f8e0e5a90bc8'
-'SKIP')
-validpgpkeys=(
-  'D5681B7EC7292511C4CC1450892B00AB699851E8'  # Tony Locke 
, proven by https://keybase.io/tlocke
-)
-
-prepare() {
-  cd pg8000-$pkgver
-
-  # Remove upper bounds of dependencies
-  sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
-  diff -u setup.py{.orig,} || true
-}
-
-build() {
-  cd pg8000-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pg8000-$pkgver
-
-  export PGDATA="$srcdir/postgres-testdata"
-  export PGHOST=127.0.0.1
-  export PGPORT=$((49152+$RANDOM%1))
-
-  # See https://github.com/tlocke/pg8000#tests about database initialization 
steps for testing
-  initdb --username=postgres --auth=trust
-  openssl req -subj "/CN=self-signed" -nodes -x509 -newkey rsa:4096 -days 1 
-keyout "$PGDATA/self-signed.key" -out "$PGDATA/self-signed.crt"
-  cat <> "$PGDATA/postgresql.conf"
-ssl = on
-ssl_cert_file = 'self-signed.crt'
-ssl_key_file = 'self-signed.key'
-password_encryption = 'scram-sha-256'
-EOF
-
-  pg_ctl start -o "-k '' -h $PGHOST -p $PGPORT" -l "$srcdir/postgresql.log"
-  # Change the password for postgres after password_encryption is specified, 
so that the role has a valid SCRAM secret
-  psql -U postgres -c "
-CREATE EXTENSION hstore;
-ALTER ROLE postgres PASSWORD 'pw';
-  "
-
-  # should overwrite pg_hba.conf, or unexpected matches may happen against 
existing entries
-  cat < "$PGDATA/pg_hba.conf"
-hostpg8000_md5  all 127.0.0.1/32md5
-hostpg8000_gss  all 127.0.0.1/32gss
-hostpg8000_password all 127.0.0.1/32password
-hostpg8000_scram_sha_256 all127.0.0.1/32scram-sha-256
-hostall all 127.0.0.1/32trust
-EOF
-  pg_ctl reload
-  # Upstream tests require LANG=en_GB.UTF-8 or LANG=C.UTF-8 :/
-  # 
https://github.com/tlocke/pg8000/blob/1.19.2/test/native/test_typeconversion.py#L455-L458
-  PYTHONPATH="$PWD" LANG=C.UTF-8 pytest test
-  pg_ctl stop
-}
-
-package() {
-  cd pg8000-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 941147, 
python-pg8000/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 01:18:43 UTC (rev 941148)
@@ -0,0 +1,78 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: quomoow 
+
+pkgname=python-pg8000
+pkgver=1.19.5
+pkgrel=1
+pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
+arch=(any)
+url='https://github.com/tlocke/pg8000'
+license=(BSD)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-pytest-mock python-pytest-benchmark
+  python-pytz postgresql)
+depends=(python python-scramp)
+source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc})
+sha256sums=('dcb9afb9cb87acc79388ae633c45cf7f806aabe3bb5d8cf154572b699393f937'
+'SKIP')
+validpgpkeys=(
+  'D5681B7EC7292511C4CC1450892B00AB699851E8'  # Tony Locke 
, proven by https://keybase.io/tlocke
+)
+
+prepare() {
+  cd pg8000-$pkgver
+
+  # Remove upper bounds of dependencies
+  sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
+  diff -u setup.py{.orig,} || true
+}
+
+build() {
+  cd pg8000-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pg8000-$pkgver
+
+  export PGDATA="$srcdir/postgres-testdata"
+  export PGHOST=127.0.0.1
+  export PGPORT=$((49152+$RANDOM%1))
+
+  # See https://github.com/tlocke/pg8000#tests about database initialization 
steps for testing
+  initdb --username=postgres --auth=trust
+  

[arch-commits] Commit in python-pg8000/trunk (PKGBUILD)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 01:18:27
  Author: yan12125
Revision: 941147

upgpkg: python-pg8000 1.19.5-1

Modified:
  python-pg8000/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 01:13:01 UTC (rev 941146)
+++ PKGBUILD2021-05-22 01:18:27 UTC (rev 941147)
@@ -2,7 +2,7 @@
 # Contributor: quomoow 
 
 pkgname=python-pg8000
-pkgver=1.19.4
+pkgver=1.19.5
 pkgrel=1
 pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
 arch=(any)
@@ -13,7 +13,7 @@
   python-pytz postgresql)
 depends=(python python-scramp)
 
source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc})
-sha256sums=('7c9c6d57541b0f2153e23a8d759ceb3d7cb9308918fba6ad9e92f8e0e5a90bc8'
+sha256sums=('dcb9afb9cb87acc79388ae633c45cf7f806aabe3bb5d8cf154572b699393f937'
 'SKIP')
 validpgpkeys=(
   'D5681B7EC7292511C4CC1450892B00AB699851E8'  # Tony Locke 
, proven by https://keybase.io/tlocke


[arch-commits] Commit in python-cfn-lint/repos/community-any (PKGBUILD PKGBUILD)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 01:13:01
  Author: yan12125
Revision: 941146

archrelease: copy trunk to community-any

Added:
  python-cfn-lint/repos/community-any/PKGBUILD
(from rev 941145, python-cfn-lint/trunk/PKGBUILD)
Deleted:
  python-cfn-lint/repos/community-any/PKGBUILD

--+
 PKGBUILD |   88 ++---
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-05-22 01:12:33 UTC (rev 941145)
+++ PKGBUILD2021-05-22 01:13:01 UTC (rev 941146)
@@ -1,44 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-cfn-lint
-pkgver=0.49.1
-pkgrel=1
-pkgdesc='CloudFormation Linter'
-arch=(any)
-url='https://github.com/aws-cloudformation/cfn-python-lint'
-license=('custom:MIT No Attribution')
-depends=(python python-yaml python-six python-aws-sam-translator
- python-jsonpatch python-jsonschema python-networkx
- python-junit-xml)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-mock python-pydot)
-optdepends=(
-  'python-pydot: for building graphs from templates'
-)
-source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz";)
-sha256sums=('1c61300586d98981df422ddf2908dd0dc56bfcd302c48b9d90393e9d64492737')
-
-build() {
-  cd cfn-python-lint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd cfn-python-lint-$pkgver
-
-  # Tests in test/integration need the cfn-lint binary
-  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
-
-  export PYTHONPATH="$PWD/src"
-  export PATH="$PATH:$srcdir/tmp_install"
-  # test_update_docs requires cfn-python-lint as a git repo
-  pytest test -k 'not test_update_docs'
-}
-
-package() {
-  cd cfn-python-lint-$pkgver
-  # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033
-  PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 
--skip-build
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 941145, 
python-cfn-lint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-05-22 01:13:01 UTC (rev 941146)
@@ -0,0 +1,44 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-cfn-lint
+pkgver=0.49.2
+pkgrel=1
+pkgdesc='CloudFormation Linter'
+arch=(any)
+url='https://github.com/aws-cloudformation/cfn-lint'
+license=('custom:MIT No Attribution')
+depends=(python python-yaml python-six python-aws-sam-translator
+ python-jsonpatch python-jsonschema python-networkx
+ python-junit-xml)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-mock python-pydot)
+optdepends=(
+  'python-pydot: for building graphs from templates'
+)
+source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz";)
+sha256sums=('b8285df2fdfae4d7b7f1b44f8611dcf066af7c66997949554f6c2aa1b59b9b95')
+
+build() {
+  cd cfn-lint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cfn-lint-$pkgver
+
+  # Tests in test/integration need the cfn-lint binary
+  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
+
+  export PYTHONPATH="$PWD/src"
+  export PATH="$PATH:$srcdir/tmp_install"
+  # test_update_docs requires cfn-lint as a git repo
+  pytest test -k 'not test_update_docs'
+}
+
+package() {
+  cd cfn-lint-$pkgver
+  # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033
+  PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 
--skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}


[arch-commits] Commit in python-cfn-lint/trunk (PKGBUILD)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 01:12:33
  Author: yan12125
Revision: 941145

upgpkg: python-cfn-lint 0.49.2-1

Upstream repo is renamed from cfn-python-lint to cfn-lint. I didn't find an 
announcement via a quick search, though.

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-21 23:31:01 UTC (rev 941144)
+++ PKGBUILD2021-05-22 01:12:33 UTC (rev 941145)
@@ -1,11 +1,11 @@
 # Maintainer: Chih-Hsuan Yen 
 
 pkgname=python-cfn-lint
-pkgver=0.49.1
+pkgver=0.49.2
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
-url='https://github.com/aws-cloudformation/cfn-python-lint'
+url='https://github.com/aws-cloudformation/cfn-lint'
 license=('custom:MIT No Attribution')
 depends=(python python-yaml python-six python-aws-sam-translator
  python-jsonpatch python-jsonschema python-networkx
@@ -15,16 +15,16 @@
 optdepends=(
   'python-pydot: for building graphs from templates'
 )
-source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz";)
-sha256sums=('1c61300586d98981df422ddf2908dd0dc56bfcd302c48b9d90393e9d64492737')
+source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz";)
+sha256sums=('b8285df2fdfae4d7b7f1b44f8611dcf066af7c66997949554f6c2aa1b59b9b95')
 
 build() {
-  cd cfn-python-lint-$pkgver
+  cd cfn-lint-$pkgver
   python setup.py build
 }
 
 check() {
-  cd cfn-python-lint-$pkgver
+  cd cfn-lint-$pkgver
 
   # Tests in test/integration need the cfn-lint binary
   python setup.py install_scripts --install-dir="$srcdir"/tmp_install
@@ -31,12 +31,12 @@
 
   export PYTHONPATH="$PWD/src"
   export PATH="$PATH:$srcdir/tmp_install"
-  # test_update_docs requires cfn-python-lint as a git repo
+  # test_update_docs requires cfn-lint as a git repo
   pytest test -k 'not test_update_docs'
 }
 
 package() {
-  cd cfn-python-lint-$pkgver
+  cd cfn-lint-$pkgver
   # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033
   PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 
--skip-build
 


[arch-commits] Commit in vault/repos (7 files)

2021-05-21 Thread Tim Meusel via arch-commits
Date: Friday, May 21, 2021 @ 23:31:01
  Author: bastelfreak
Revision: 941144

archrelease: copy trunk to community-testing-x86_64

Added:
  vault/repos/community-testing-x86_64/
  vault/repos/community-testing-x86_64/PKGBUILD
(from rev 941143, vault/trunk/PKGBUILD)
  vault/repos/community-testing-x86_64/vault.hcl
(from rev 941143, vault/trunk/vault.hcl)
  vault/repos/community-testing-x86_64/vault.install
(from rev 941143, vault/trunk/vault.install)
  vault/repos/community-testing-x86_64/vault.service
(from rev 941143, vault/trunk/vault.service)
  vault/repos/community-testing-x86_64/vault.sysusers
(from rev 941143, vault/trunk/vault.sysusers)
  vault/repos/community-testing-x86_64/vault.tmpfiles
(from rev 941143, vault/trunk/vault.tmpfiles)

+
 PKGBUILD   |   58 +++
 vault.hcl  |   19 ++
 vault.install  |9 
 vault.service  |   22 
 vault.sysusers |1 
 vault.tmpfiles |1 
 6 files changed, 110 insertions(+)

Copied: vault/repos/community-testing-x86_64/PKGBUILD (from rev 941143, 
vault/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-05-21 23:31:01 UTC (rev 941144)
@@ -0,0 +1,58 @@
+# Maintainer : Christian Rebischke 
+# Contributor: Tim Meusel 
+# Contributor: Sebastian Rakel 
+
+pkgname='vault'
+pkgdesc='A tool for managing secrets'
+pkgver='1.7.2'
+pkgrel='1'
+url="https://vaultproject.io/";
+license=('MPL')
+arch=('x86_64')
+makedepends=('go' 'git' 'yarn' 'bower' 'nodejs-lts-dubnium' 'npm' 'zip'
+'go-bindata-hashicorp' 'go-bindata-assetfs' 'gox' 'go-tools')
+depends=('glibc')
+install='vault.install'
+backup=('etc/vault.hcl')
+_vault_commit='db0e4245d5119b5929e611ea4d9bf66e47f3f208'
+source=("git+https://github.com/hashicorp/vault#commit=${_vault_commit}";
+'vault.service'
+'vault.sysusers'
+'vault.tmpfiles'
+'vault.hcl')
+sha512sums=('SKIP'
+
'6619cf57668e995cddb29fb6c388c18c21b251052a53832415e415bb4fe538361ef77b74536f5b082b9cda6cd71b598fc50d8b7f51092c4d60262052c5725af2'
+
'92616ccf83fa5ca9f8b0d022cf8ceb1f3549e12b66bf21d9f77f3eb26bd75ec1dc36c155948ec987c642067b85fbfc30a9217d6c503d952a402aa5ef63e50928'
+
'073f0f400cba78521cd2709ce86d88fbb14125117f9f3beca657f625d04eab8e00f7a01b5d9a1cfc03e9038844f5732bdbb1a85dd65a803d3f0b90f8bf87880e'
+
'46106cc76151eef2dd5e4b2caa6a96aae4d6ce1ecbf977dcc8667a3f6c829cbea95133622adafcb15cdfaa066ecc94c73c983e7613ee2f6573694981569729fe')
+
+prepare () {
+  export GOPATH="${srcdir}"
+  mkdir -p src/github.com/hashicorp/ "$GOPATH/bin"
+  mv "${pkgname}" "src/github.com/hashicorp/${pkgname}"
+  export PACKAGE_ROOT="${GOPATH}/src/github.com/hashicorp/${pkgname}"
+  cd $PACKAGE_ROOT
+}
+
+build () {
+  cd $PACKAGE_ROOT
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  XC_OSARCH='linux/amd64' make static-dist bin
+}
+
+package () {
+  cd ${PACKAGE_ROOT}
+  install -Dm755 bin/vault "${pkgdir}/usr/bin/vault"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 "${srcdir}/vault.hcl" "${pkgdir}/etc/vault.hcl"
+  install -Dm644 "${srcdir}/vault.service" 
"${pkgdir}/usr/lib/systemd/system/vault.service"
+  install -Dm644 "${srcdir}/vault.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/vault.conf"
+  install -Dm644 "${srcdir}/vault.tmpfiles" 
"${pkgdir}/usr/lib/tmpfiles.d/vault.conf"
+  for file in README.md CHANGELOG.md CONTRIBUTING.md; do
+install -Dm644 "${file}" "${pkgdir}/usr/share/doc/${pkgname}/${file}"
+  done
+}

Copied: vault/repos/community-testing-x86_64/vault.hcl (from rev 941143, 
vault/trunk/vault.hcl)
===
--- community-testing-x86_64/vault.hcl  (rev 0)
+++ community-testing-x86_64/vault.hcl  2021-05-21 23:31:01 UTC (rev 941144)
@@ -0,0 +1,19 @@
+/*
+ * Vault configuration. See: https://vaultproject.io/docs/config/
+ */
+
+backend "file" {
+   path = "/var/lib/vault"
+}
+
+listener "tcp" {
+   /*
+* By default Vault listens on localhost only.
+* Make sure to enable TLS support otherwise.
+*
+* Note that VAULT_ADDR=http://127.0.0.1:8200 must
+* be set in the environment in order for the client
+* to work because it uses HTTPS by default.
+*/
+   tls_disable = 1
+}

Copied: vault/repos/community-testing-x86_64/vault.install (from rev 941143, 
vault/trunk/vault.install)
===
--- community-testing-x86_64/vault.install  (rev 0)
+++ community-testing-x86

[arch-commits] Commit in vault/trunk (PKGBUILD)

2021-05-21 Thread Tim Meusel via arch-commits
Date: Friday, May 21, 2021 @ 23:30:49
  Author: bastelfreak
Revision: 941143

vault: update 1.7.1-2->1.7.2-1

Modified:
  vault/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-05-21 23:24:12 UTC (rev 941142)
+++ PKGBUILD2021-05-21 23:30:49 UTC (rev 941143)
@@ -1,11 +1,11 @@
 # Maintainer : Christian Rebischke 
 # Contributor: Tim Meusel 
-# Contributor: Sebastian Rakel sebast...@devunit.eu
+# Contributor: Sebastian Rakel 
 
 pkgname='vault'
 pkgdesc='A tool for managing secrets'
-pkgver='1.7.1'
-pkgrel='2'
+pkgver='1.7.2'
+pkgrel='1'
 url="https://vaultproject.io/";
 license=('MPL')
 arch=('x86_64')
@@ -14,7 +14,7 @@
 depends=('glibc')
 install='vault.install'
 backup=('etc/vault.hcl')
-_vault_commit='917142287996a005cb1ed9d96d00d06a0590e44e'
+_vault_commit='db0e4245d5119b5929e611ea4d9bf66e47f3f208'
 source=("git+https://github.com/hashicorp/vault#commit=${_vault_commit}";
 'vault.service'
 'vault.sysusers'
@@ -52,7 +52,7 @@
   install -Dm644 "${srcdir}/vault.service" 
"${pkgdir}/usr/lib/systemd/system/vault.service"
   install -Dm644 "${srcdir}/vault.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/vault.conf"
   install -Dm644 "${srcdir}/vault.tmpfiles" 
"${pkgdir}/usr/lib/tmpfiles.d/vault.conf"
-  for file in README.md CHANGELOG.md ; do
+  for file in README.md CHANGELOG.md CONTRIBUTING.md; do
 install -Dm644 "${file}" "${pkgdir}/usr/share/doc/${pkgname}/${file}"
   done
 }


  1   2   3   4   5   6   7   8   9   >