[arch-commits] Commit in sad/repos (community-x86_64 community-x86_64/PKGBUILD)

2021-08-02 Thread George Rawlinson via arch-commits
Date: Tuesday, August 3, 2021 @ 04:12:03
  Author: grawlinson
Revision: 993258

archrelease: copy trunk to community-x86_64

Added:
  sad/repos/community-x86_64/
  sad/repos/community-x86_64/PKGBUILD
(from rev 993257, sad/trunk/PKGBUILD)

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

Copied: sad/repos/community-x86_64/PKGBUILD (from rev 993257, 
sad/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2021-08-03 04:12:03 UTC (rev 993258)
@@ -0,0 +1,58 @@
+# Maintainer: George Rawlinson 
+# Contributor: Joost Bremmer 
+# Contributor: Eliezio Oliveira 
+# Contributor: Matthew Gamble 
+
+pkgname=sad
+pkgver=0.4.8
+pkgrel=4
+pkgdesc="Space Age seD"
+arch=('x86_64')
+url="https://github.com/ms-jpq/sad;
+license=('MIT')
+makedepends=('rust')
+optdepends=(
+  'fzf: for tui usage'
+  'diff-so-fancy: for diff colourizer'
+  'git-delta: for diff colourizer'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+  
"https://raw.githubusercontent.com/ms-jpq/sad/c3a204d095e6ef9e58d4c36bb8621d96ec166ada/Cargo.lock;)
+b2sums=('95591e5bce26dfa9507ced99b0197e8d103a9b0fbda6b712ec0296188563092d9dfcd0744462c53111f6a3ca1ab7aa2834b621614edd3731f2d01db557fbb6f7'
+
'15502d79b357b2905f49372c59cc60e91a253af23fee1e381774184f385a4fe60428fd3595c415b30a706c3036130d449a514701e4ecdde6c84e7511bf5d7f00')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # v0.4.8 lockfile is currently out of sync
+  # backported from https://github.com/ms-jpq/sad/issues/85
+  cp -f "$srcdir/Cargo.lock" Cargo.lock
+
+  # download dependencies
+  cargo fetch --locked
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --offline --locked --all-features
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --locked
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}
+
+# vim: set ts=2 sts=2 sw=2 et :



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

2021-08-02 Thread George Rawlinson via arch-commits
Date: Tuesday, August 3, 2021 @ 04:11:17
  Author: grawlinson
Revision: 993257

addpkg: sad 0.4.8-4

Added:
  sad/
  sad/repos/
  sad/trunk/
  sad/trunk/PKGBUILD

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

Added: sad/trunk/PKGBUILD
===
--- sad/trunk/PKGBUILD  (rev 0)
+++ sad/trunk/PKGBUILD  2021-08-03 04:11:17 UTC (rev 993257)
@@ -0,0 +1,58 @@
+# Maintainer: George Rawlinson 
+# Contributor: Joost Bremmer 
+# Contributor: Eliezio Oliveira 
+# Contributor: Matthew Gamble 
+
+pkgname=sad
+pkgver=0.4.8
+pkgrel=4
+pkgdesc="Space Age seD"
+arch=('x86_64')
+url="https://github.com/ms-jpq/sad;
+license=('MIT')
+makedepends=('rust')
+optdepends=(
+  'fzf: for tui usage'
+  'diff-so-fancy: for diff colourizer'
+  'git-delta: for diff colourizer'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+  
"https://raw.githubusercontent.com/ms-jpq/sad/c3a204d095e6ef9e58d4c36bb8621d96ec166ada/Cargo.lock;)
+b2sums=('95591e5bce26dfa9507ced99b0197e8d103a9b0fbda6b712ec0296188563092d9dfcd0744462c53111f6a3ca1ab7aa2834b621614edd3731f2d01db557fbb6f7'
+
'15502d79b357b2905f49372c59cc60e91a253af23fee1e381774184f385a4fe60428fd3595c415b30a706c3036130d449a514701e4ecdde6c84e7511bf5d7f00')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # v0.4.8 lockfile is currently out of sync
+  # backported from https://github.com/ms-jpq/sad/issues/85
+  cp -f "$srcdir/Cargo.lock" Cargo.lock
+
+  # download dependencies
+  cargo fetch --locked
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --offline --locked --all-features
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --locked
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}
+
+# vim: set ts=2 sts=2 sw=2 et :



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

2021-08-02 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, August 3, 2021 @ 03:17:45
  Author: yan12125
Revision: 993256

archrelease: copy trunk to community-any

Added:
  python-cfn-lint/repos/community-any/PKGBUILD
(from rev 993255, 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-08-03 03:17:34 UTC (rev 993255)
+++ PKGBUILD2021-08-03 03:17:45 UTC (rev 993256)
@@ -1,44 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-cfn-lint
-pkgver=0.52.0
-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=('1aaac7a8f921e0bd8f011c85ce720b7f99deda7c9624620ff831cec02e2de111')
-
-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
-}

Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 993255, 
python-cfn-lint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-03 03:17:45 UTC (rev 993256)
@@ -0,0 +1,44 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-cfn-lint
+pkgver=0.53.0
+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=('9b9d690d5a459effe0545c640d75ed1c3d3a365e263ae156b1970dc0baf73f9a')
+
+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-08-02 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, August 3, 2021 @ 03:17:34
  Author: yan12125
Revision: 993255

upgpkg: python-cfn-lint 0.53.0-1

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-03 02:19:40 UTC (rev 993254)
+++ PKGBUILD2021-08-03 03:17:34 UTC (rev 993255)
@@ -1,7 +1,7 @@
 # Maintainer: Chih-Hsuan Yen 
 
 pkgname=python-cfn-lint
-pkgver=0.52.0
+pkgver=0.53.0
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
@@ -16,14 +16,8 @@
   'python-pydot: for building graphs from templates'
 )
 
source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz;)
-sha256sums=('1aaac7a8f921e0bd8f011c85ce720b7f99deda7c9624620ff831cec02e2de111')
+sha256sums=('9b9d690d5a459effe0545c640d75ed1c3d3a365e263ae156b1970dc0baf73f9a')
 
-prepare() {
-  cd cfn-lint-$pkgver
-  # Workarounds a time-based test; see 
https://github.com/aws-cloudformation/cfn-lint/issues/1779
-  sed -i 's#Runtime: python2\.7#Runtime: python3.8#' 
test/fixtures/templates/quickstart/{cis_benchmark,openshift}.yaml
-}
-
 build() {
   cd cfn-lint-$pkgver
   python setup.py build



[arch-commits] Commit in ruby-rb-fsevent/repos/community-any (PKGBUILD PKGBUILD)

2021-08-02 Thread George Rawlinson via arch-commits
Date: Tuesday, August 3, 2021 @ 02:19:40
  Author: grawlinson
Revision: 993254

archrelease: copy trunk to community-any

Added:
  ruby-rb-fsevent/repos/community-any/PKGBUILD
(from rev 993253, ruby-rb-fsevent/trunk/PKGBUILD)
Deleted:
  ruby-rb-fsevent/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-03 02:18:56 UTC (rev 993253)
+++ PKGBUILD2021-08-03 02:19:40 UTC (rev 993254)
@@ -1,41 +0,0 @@
-# Maintainer: Levente Polyak 
-
-_gemname=rb-fsevent
-pkgname=ruby-${_gemname}
-pkgver=0.10.4
-pkgrel=2
-pkgdesc='FSEvents API with signals handled (without RubyCocoa)'
-url='https://github.com/thibaudgg/rb-fsevent'
-arch=('any')
-license=('MIT')
-depends=('ruby')
-makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
-options=('!emptydirs')
-source=(${url}/archive/v${pkgver}/${_gemname}-${pkgver}.tar.gz)
-sha512sums=('94acdd4a897834198c08a345015941cb2c82642fe49fa3871c0468a67c9425f4ab73520219def3adbd17db16ac3515183ec4a02f306069561d4440ad880cc210')
-b2sums=('bf8de5aaf1e988c5bb19a1297ac773c72a6f112383932d941ed02d558bc64789b4db54e3d306504058b11d8e754a52dfc67cc56e287eb6f8f769cb4f38fea52a')
-
-prepare() {
-  cd ${_gemname}-${pkgver}
-  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec Rakefile
-  sed 's|git ls-files -z|find -type f -print0\|sed "s,./,,g"|' -i 
${_gemname}.gemspec
-}
-
-build() {
-  cd ${_gemname}-${pkgver}
-  rake build
-}
-
-package() {
-  cd ${_gemname}-${pkgver}
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" 
\
--n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  cd "${pkgdir}/${_gemdir}"
-  rm -r cache gems/${_gemname}-${pkgver}/ext
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-rb-fsevent/repos/community-any/PKGBUILD (from rev 993253, 
ruby-rb-fsevent/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-03 02:19:40 UTC (rev 993254)
@@ -0,0 +1,58 @@
+# Maintainer: Levente Polyak 
+# Maintainer: George Rawlinson 
+
+_gemname=rb-fsevent
+pkgname=ruby-${_gemname}
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='FSEvents API with signals handled (without RubyCocoa)'
+url='https://github.com/thibaudgg/rb-fsevent'
+arch=('any')
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
+options=('!emptydirs')
+source=(${url}/archive/v${pkgver}/${_gemname}-${pkgver}.tar.gz)
+sha512sums=('e6a3997fdf9d15cbd26cef7e00850f13deb01bf7aa72fb2b526ea315b82b1e4fc945e946050d7ce803e208d60656e7e9dcb97ddd94b4a18dacf1c62c03bf715e')
+b2sums=('a347594c36e01f268d9f0093d1f46e478b0757694e5f8dbb98d972de74571f4bd7a78b162c1973a93631300f477486c194ef448b4af08de46ccf8753ac4266f6')
+
+prepare() {
+  cd ${_gemname}-${pkgver}
+  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec Rakefile
+  sed 's|git ls-files -z|find -type f -print0\|sed "s,./,,g"|' -i 
${_gemname}.gemspec
+}
+
+build() {
+  cd ${_gemname}-${pkgver}
+  rake build
+}
+
+package() {
+  cd ${_gemname}-${pkgver}
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install \
+--verbose \
+--ignore-dependencies \
+--no-user-install \
+--install-dir "$pkgdir/$_gemdir" \
+--bindir "$pkgdir/usr/bin" \
+"pkg/$_gemname-$pkgver.gem"
+
+  # delete cache
+  cd "$pkgdir/$_gemdir"
+  rm -vrf cache
+
+  # delete unnecessary files & folders
+  cd "gems/$_gemname-$pkgver"
+  rm -vrf ext .gitignore "$_gemname.gemspec"
+
+  # move documentation
+  install -vd "$pkgdir/usr/share/doc/$pkgname"
+  mv -vt "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # move license
+  install -vd "$pkgdir/usr/share/licenses/$pkgname"
+  mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in ruby-rb-fsevent/trunk (PKGBUILD)

2021-08-02 Thread George Rawlinson via arch-commits
Date: Tuesday, August 3, 2021 @ 02:18:56
  Author: grawlinson
Revision: 993253

upgpkg: ruby-rb-fsevent 0.11.0-1

New upstream release.

Modified:
  ruby-rb-fsevent/trunk/PKGBUILD

--+
 PKGBUILD |   39 ---
 1 file changed, 28 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-08-03 01:25:40 UTC (rev 993252)
+++ PKGBUILD2021-08-03 02:18:56 UTC (rev 993253)
@@ -1,9 +1,10 @@
 # Maintainer: Levente Polyak 
+# Maintainer: George Rawlinson 
 
 _gemname=rb-fsevent
 pkgname=ruby-${_gemname}
-pkgver=0.10.4
-pkgrel=2
+pkgver=0.11.0
+pkgrel=1
 pkgdesc='FSEvents API with signals handled (without RubyCocoa)'
 url='https://github.com/thibaudgg/rb-fsevent'
 arch=('any')
@@ -12,8 +13,8 @@
 makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
 options=('!emptydirs')
 source=(${url}/archive/v${pkgver}/${_gemname}-${pkgver}.tar.gz)
-sha512sums=('94acdd4a897834198c08a345015941cb2c82642fe49fa3871c0468a67c9425f4ab73520219def3adbd17db16ac3515183ec4a02f306069561d4440ad880cc210')
-b2sums=('bf8de5aaf1e988c5bb19a1297ac773c72a6f112383932d941ed02d558bc64789b4db54e3d306504058b11d8e754a52dfc67cc56e287eb6f8f769cb4f38fea52a')
+sha512sums=('e6a3997fdf9d15cbd26cef7e00850f13deb01bf7aa72fb2b526ea315b82b1e4fc945e946050d7ce803e208d60656e7e9dcb97ddd94b4a18dacf1c62c03bf715e')
+b2sums=('a347594c36e01f268d9f0093d1f46e478b0757694e5f8dbb98d972de74571f4bd7a78b162c1973a93631300f477486c194ef448b4af08de46ccf8753ac4266f6')
 
 prepare() {
   cd ${_gemname}-${pkgver}
@@ -28,14 +29,30 @@
 
 package() {
   cd ${_gemname}-${pkgver}
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" 
\
--n "${pkgdir}/usr/bin" pkg/${_gemname}-${pkgver}.gem
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install \
+--verbose \
+--ignore-dependencies \
+--no-user-install \
+--install-dir "$pkgdir/$_gemdir" \
+--bindir "$pkgdir/usr/bin" \
+"pkg/$_gemname-$pkgver.gem"
 
-  cd "${pkgdir}/${_gemdir}"
-  rm -r cache gems/${_gemname}-${pkgver}/ext
+  # delete cache
+  cd "$pkgdir/$_gemdir"
+  rm -vrf cache
+
+  # delete unnecessary files & folders
+  cd "gems/$_gemname-$pkgver"
+  rm -vrf ext .gitignore "$_gemname.gemspec"
+
+  # move documentation
+  install -vd "$pkgdir/usr/share/doc/$pkgname"
+  mv -vt "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # move license
+  install -vd "$pkgdir/usr/share/licenses/$pkgname"
+  mv -vt "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
 }
 
 # vim: ts=2 sw=2 et:



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

2021-08-02 Thread George Rawlinson via arch-commits
Date: Tuesday, August 3, 2021 @ 01:25:40
  Author: grawlinson
Revision: 993252

archrelease: copy trunk to community-testing-x86_64

Added:
  buildah/repos/community-testing-x86_64/
  buildah/repos/community-testing-x86_64/PKGBUILD
(from rev 993251, buildah/trunk/PKGBUILD)

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

Copied: buildah/repos/community-testing-x86_64/PKGBUILD (from rev 993251, 
buildah/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-08-03 01:25:40 UTC (rev 993252)
@@ -0,0 +1,37 @@
+# Maintainer: Bartłomiej Piotrowski 
+# Maintainer: Morten Linderud 
+
+pkgname=buildah
+pkgver=1.22.0
+pkgrel=1
+pkgdesc="A tool which facilitates building OCI images"
+arch=(x86_64)
+url="https://github.com/containers/buildah;
+license=(Apache)
+depends=(crun skopeo slirp4netns)
+makedepends=(go git bash-bats btrfs-progs device-mapper gpgme libassuan
+ bzip2 go-md2man runc skopeo systemd)
+_commit=e6ea308d6de1724a0ead3e08517a5e365461b275 #refs/tags/v1.21.4
+source=(git+https://github.com/containers/buildah.git#commit=$_commit)
+md5sums=('SKIP')
+
+pkgver() {
+  cd buildah
+  git describe --tags | sed 's/^[vV]//;s/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  export GOFLAGS="-buildmode=pie -trimpath"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  make PREFIX=/usr BUILDTAGS="containers_image_ostree_stub seccomp"
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" PREFIX=usr install install.completions
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



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

2021-08-02 Thread George Rawlinson via arch-commits
Date: Tuesday, August 3, 2021 @ 01:24:49
  Author: grawlinson
Revision: 993251

upgpkg: buildah 1.22.0-1

New upstream release.

Modified:
  buildah/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:44:46 UTC (rev 993250)
+++ PKGBUILD2021-08-03 01:24:49 UTC (rev 993251)
@@ -2,7 +2,7 @@
 # Maintainer: Morten Linderud 
 
 pkgname=buildah
-pkgver=1.21.4
+pkgver=1.22.0
 pkgrel=1
 pkgdesc="A tool which facilitates building OCI images"
 arch=(x86_64)
@@ -11,7 +11,7 @@
 depends=(crun skopeo slirp4netns)
 makedepends=(go git bash-bats btrfs-progs device-mapper gpgme libassuan
  bzip2 go-md2man runc skopeo systemd)
-_commit=9c83683ac0e8a63474feef61ebcb7e8b973a26ef #refs/tags/v1.21.4
+_commit=e6ea308d6de1724a0ead3e08517a5e365461b275 #refs/tags/v1.21.4
 source=(git+https://github.com/containers/buildah.git#commit=$_commit)
 md5sums=('SKIP')
 



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:44:46
  Author: felixonmars
Revision: 993250

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 993249, haskell-language-server/trunk/PKGBUILD)

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 993249, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:44:46 UTC (rev 993250)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.2.0.0
+pkgrel=39
+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-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-gitrev'
+ 'haskell-hashable' 'haskell-hie-bios' 'haskell-hiedb' 
'haskell-hls-brittany-plugin'
+ 'haskell-hls-explicit-imports-plugin'
+ 'haskell-hls-floskell-plugin' 'haskell-hls-fourmolu-plugin' 
'haskell-hls-ormolu-plugin'
+ 'haskell-hls-graph'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin'
+ 'haskell-hls-module-name-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-pragmas-plugin'
+ 'haskell-hls-retrie-plugin' 'haskell-hls-stylish-haskell-plugin' 
'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp' 'haskell-optparse-applicative' 
'haskell-optparse-simple'
+ 'haskell-regex-tdfa' 'haskell-safe-exceptions' 
'haskell-sqlite-simple' 'haskell-temporary'
+ 'haskell-unordered-containers')
+# Disabled due to not compatible with GHC 9:
+# 'haskell-hls-brittany-plugin' 'haskell-hls-class-plugin' 
'haskell-hls-eval-plugin'
+# 'haskell-hls-refine-imports-plugin' 'haskell-hls-splice-plugin' 
'haskell-hls-tactics-plugin'
+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/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('c8ca57796be15796e7334e20ef3a983b4a77335d41084add87d102746e893fc80c43ee6c761d04d52afad846d4744007a0aec8d70a7e12e4576f847a684726ab')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+}
+
+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' -f-brittany -f-class -f-eval -f-refineImports 
-f-splice -f-tactic
+
+  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
+  
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 $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 haskell-language-server/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:44:38
  Author: felixonmars
Revision: 993249

upgpkg: haskell-language-server 1.2.0.0-39: rebuild with monad-control 1.0.3.1

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:41:38 UTC (rev 993248)
+++ PKGBUILD2021-08-02 23:44:38 UTC (rev 993249)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.2.0.0
-pkgrel=38
+pkgrel=39
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:41:38
  Author: felixonmars
Revision: 993248

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 993247, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 993247, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:41:38 UTC (rev 993248)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.1
+pkgrel=24
+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-ghc-api-compat' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('8e6220b0c06a3dca0cd55a342684a970a4318b49eb396f37d0c0d56402dc6fb6')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_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 \
+--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-stylish-haskell-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:41:31
  Author: felixonmars
Revision: 993247

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.1-24: rebuild with 
monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:40:30 UTC (rev 993246)
+++ PKGBUILD2021-08-02 23:41:31 UTC (rev 993247)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.1
-pkgrel=23
+pkgrel=24
 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-floskell-plugin/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:40:30
  Author: felixonmars
Revision: 993246

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 993245, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:40:30 UTC (rev 993246)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.0
+pkgrel=35
+pkgdesc="Integration with the Floskell code formatter"
+url="https://hackage.haskell.org/package/hls-floskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-floskell' 'haskell-ghcide' 
'haskell-hls-plugin-api' '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;)
+sha256sums=('c873a0d71001cba5391435a7fdc8ce69dbf27070cfc887b1f51b76a20622c471')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 \
+--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-floskell-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:40:22
  Author: felixonmars
Revision: 993245

upgpkg: haskell-hls-floskell-plugin 1.0.0.0-35: rebuild with monad-control 
1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:39:24 UTC (rev 993244)
+++ PKGBUILD2021-08-02 23:40:22 UTC (rev 993245)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.0
-pkgrel=34
+pkgrel=35
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:39:24
  Author: felixonmars
Revision: 993244

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 993243, 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 993243, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:39:24 UTC (rev 993244)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.2
+pkgrel=35
+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=('f50c9fc595e8cebcff38d4fb7c3f6f8df59d0df5e8924718812c3ee38da38db5d25ab082e1347d8fdd6a01a779e2c03e029fb6b74bcfd6ebeb55ac1a21642fb6')
+
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:39:17
  Author: felixonmars
Revision: 993243

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.2-35: rebuild with 
monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:38:18 UTC (rev 993242)
+++ PKGBUILD2021-08-02 23:39:17 UTC (rev 993243)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.2
-pkgrel=34
+pkgrel=35
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:38:18
  Author: felixonmars
Revision: 993242

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 993241, haskell-hls-module-name-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 993241, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:38:18 UTC (rev 993242)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.0
+pkgrel=35
+pkgdesc="Module name plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-module-name-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ '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;)
+sha256sums=('abcf1d52aa552b97e459c0e8c70af03f8428e292c253dcd14eea753283fd81a8')
+
+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-module-name-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:38:11
  Author: felixonmars
Revision: 993241

upgpkg: haskell-hls-module-name-plugin 1.0.0.0-35: rebuild with monad-control 
1.0.3.1

Modified:
  haskell-hls-module-name-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:37:12 UTC (rev 993240)
+++ PKGBUILD2021-08-02 23:38:11 UTC (rev 993241)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.0
-pkgrel=34
+pkgrel=35
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:37:12
  Author: felixonmars
Revision: 993240

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 993239, haskell-hls-ormolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:37:12 UTC (rev 993240)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-ormolu-plugin
+pkgname=haskell-hls-ormolu-plugin
+pkgver=1.0.0.0
+pkgrel=24
+pkgdesc="Integration with the Ormolu code formatter"
+url="https://hackage.haskell.org/package/hls-ormolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lens'
+ 'haskell-lsp' 'haskell-ormolu' 'haskell-ghc-api-compat')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('d965b7fcc78b36362de872a69da87e41c48dc191e966f62d123b63994c0d38c6')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_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 \
+--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-ormolu-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:37:05
  Author: felixonmars
Revision: 993239

upgpkg: haskell-hls-ormolu-plugin 1.0.0.0-24: rebuild with monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:36:05 UTC (rev 993238)
+++ PKGBUILD2021-08-02 23:37:05 UTC (rev 993239)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.0.0
-pkgrel=23
+pkgrel=24
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:36:05
  Author: felixonmars
Revision: 993238

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 993237, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:36:05 UTC (rev 993238)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.0.0
+pkgrel=35
+pkgdesc="Pragmas plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-pragmas-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-fuzzy' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' '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;)
+sha256sums=('faffabfb7da5b88dc777185cfe879779e5391b14d4e4f7196cda303a5b4978fe')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 \
+--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-pragmas-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:35:58
  Author: felixonmars
Revision: 993237

upgpkg: haskell-hls-pragmas-plugin 1.0.0.0-35: rebuild with monad-control 
1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:34:28 UTC (rev 993236)
+++ PKGBUILD2021-08-02 23:35:58 UTC (rev 993237)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.0.0
-pkgrel=34
+pkgrel=35
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:34:28
  Author: felixonmars
Revision: 993236

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 993235, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:34:28 UTC (rev 993236)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-fourmolu-plugin
+pkgname=haskell-hls-fourmolu-plugin
+pkgver=1.0.0.1
+pkgrel=24
+pkgdesc="Integration with the Fourmolu code formatter"
+url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-fourmolu' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-ghc-api-compat')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c78f938155ba487d550e4afb11363c5aded34d5592a74680eb73a022ffda3b0d')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_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 \
+--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-fourmolu-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:34:21
  Author: felixonmars
Revision: 993235

upgpkg: haskell-hls-fourmolu-plugin 1.0.0.1-24: rebuild with monad-control 
1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:33:16 UTC (rev 993234)
+++ PKGBUILD2021-08-02 23:34:21 UTC (rev 993235)
@@ -3,7 +3,7 @@
 _hkgname=hls-fourmolu-plugin
 pkgname=haskell-hls-fourmolu-plugin
 pkgver=1.0.0.1
-pkgrel=23
+pkgrel=24
 pkgdesc="Integration with the Fourmolu code formatter"
 url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:33:16
  Author: felixonmars
Revision: 993234

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 993233, tamarin-prover/trunk/PKGBUILD)
  tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch
(from rev 993233, tamarin-prover/trunk/maude-3.1.patch)

-+
 PKGBUILD|   64 ++
 maude-3.1.patch |   35 +
 2 files changed, 99 insertions(+)

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
993233, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:33:16 UTC (rev 993234)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.6.0
+pkgrel=250
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="https://tamarin-prover.github.io;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 
'haskell-binary-orphans' 'haskell-binary-instances'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-resourcet' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-threads' 'haskell-wai' 'haskell-warp' 
'haskell-yesod-core'
+ 'haskell-yesod-static' 'haskell-tamarin-prover-utils' 
'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory' 'haskell-tamarin-prover-sapic')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml>=4.11.0')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz;
+maude-3.1.patch
+
remove-monad-unlift.patch::https://github.com/tamarin-prover/tamarin-prover/pull/421.patch)
+sha512sums=('7f3569f740d63d715b92a8f073eaecb8b32efe59b910b246977d36bb9e873765440e72feb6e76c7cbafab0495b88cfc666bb1dd12f685627c60d5cbd97b2973e'
+
'1ef5e4c370a0c5f5541d50600604ba7adc566c2f5cf415cdb844842bb10b343edd00aa5aa654f8e55355c80f48a34382c87c3fba4adca0c77e726f407f3815c3'
+
'45121081ea373df5d5c1be5abc52850100343b2874e07b7fa68addb411477ee43fdbc5e9147b8bb2be118d0765a3fb9c5a7f53a902a44140cc13976cc2257e30')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../maude-3.1.patch
+patch -p1 -i ../remove-monad-unlift.patch
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+# ocaml 4.12
+sed -i 's/compare a/Stdlib.compare a/g' plugins/sapic/position.ml
+sed -i 's/compare (rank a)/Stdlib.compare (rank a)/' plugins/sapic/var.ml
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+
+cd plugins/sapic
+make -j1
+}
+
+check() {
+cd $pkgname-$pkgver
+LD_LIBRARY_PATH="$PWD"/dist/build dist/build/tamarin-prover/tamarin-prover 
test
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/syntax/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+ln -s spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}

Copied: tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch (from rev 
993233, tamarin-prover/trunk/maude-3.1.patch)
===
--- community-staging-x86_64/maude-3.1.patch(rev 0)
+++ community-staging-x86_64/maude-3.1.patch2021-08-02 23:33:16 UTC (rev 
993234)
@@ -0,0 +1,35 @@
+diff --git a/lib/term/src/Term/Maude/Parser.hs 
b/lib/term/src/Term/Maude/Parser.hs
+index 187c35dc..0a1d3c35 100644
+--- a/lib/term/src/Term/Maude/Parser.hs
 b/lib/term/src/Term/Maude/Parser.hs
+@@ -224,7 +224,7 @@ parseVariantsReply msig reply = flip parseOnly reply $ do
+ <* endOfLine <* string "rewrites: "
+ <* takeWhile1 isDigit <* endOfLine <* endOfInput
+   where
+-parseVariant = string "Variant #" *> takeWhile1 isDigit *> endOfLine *>
++parseVariant = string "Variant " *> optional (char '#') *> takeWhile1 
isDigit *> endOfLine *>
+string "rewrites: " *> takeWhile1 isDigit *> endOfLine *>
+parseReprintedTerm *> manyTill parseEntry endOfLine
+ parseReprintedTerm = choice [ string "TOP" *> pure LSortMsg, 

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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:33:07
  Author: felixonmars
Revision: 993233

upgpkg: tamarin-prover 1.6.0-250: rebuild with monad-control 1.0.3.1

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:31:37 UTC (rev 993232)
+++ PKGBUILD2021-08-02 23:33:07 UTC (rev 993233)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.0
-pkgrel=249
+pkgrel=250
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:31:37
  Author: felixonmars
Revision: 993232

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 993231, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 993231, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:31:37 UTC (rev 993232)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20210714
+pkgrel=16
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:31:29
  Author: felixonmars
Revision: 993231

upgpkg: git-annex 8.20210714-16: rebuild with monad-control 1.0.3.1

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:27:19 UTC (rev 993230)
+++ PKGBUILD2021-08-02 23:31:29 UTC (rev 993231)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210714
-pkgrel=15
+pkgrel=16
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:27:19
  Author: felixonmars
Revision: 993230

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-web/repos/community-staging-x86_64/
  hledger-web/repos/community-staging-x86_64/PKGBUILD
(from rev 993229, hledger-web/trunk/PKGBUILD)

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 993229, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:27:19 UTC (rev 993230)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.22
+pkgrel=22
+pkgdesc="Web-based user interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 
'haskell-clientsession'
+ 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-hjsmin' 'haskell-hspec' 
'haskell-http-conduit'
+ 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 
'haskell-network'
+ 'haskell-shakespeare' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-wai' 'haskell-wai-cors' 
'haskell-wai-extra'
+ 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' 
'haskell-yesod-core'
+ 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-yesod-test')
+makedepends=('ghc' 'uusi')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('428a2033d2bb9188daf26dd279ef4ec18299036f4bc6e6a9ac7efc4ac9b92af2bbd6eec5afebe4f465a5ef66d062fcfe912f092bcb261f378676f0979cf0e71b')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u megaparsec $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-dev -f-library-only -fthreaded
+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
+runhaskell Setup test --show-details=direct
+}
+
+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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger-web.1 -t "$pkgdir"/usr/share/man/man1/
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:27:11
  Author: felixonmars
Revision: 993229

upgpkg: hledger-web 1.22-22: rebuild with monad-control 1.0.3.1

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:25:41 UTC (rev 993228)
+++ PKGBUILD2021-08-02 23:27:11 UTC (rev 993229)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.22
-pkgrel=21
+pkgrel=22
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:25:41
  Author: felixonmars
Revision: 993228

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 993227, haskell-hls-hlint-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 993227, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:25:41 UTC (rev 993228)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.1.0
+pkgrel=35
+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-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('a76d166f8215fcaaf6b8d597f21ceafa64b34435b3aff6717db939f905c864efc3c441a9bc3f590677d76009d46e7783b72150c220c8f47ec2f56f57e23d6776')
+
+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' -fhlint33
+
+  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-hlint-plugin/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:25:34
  Author: felixonmars
Revision: 993227

upgpkg: haskell-hls-hlint-plugin 1.0.1.0-35: rebuild with monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:24:34 UTC (rev 993226)
+++ PKGBUILD2021-08-02 23:25:34 UTC (rev 993227)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.0
-pkgrel=34
+pkgrel=35
 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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:24:34
  Author: felixonmars
Revision: 993226

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 993225, haskell-hls-retrie-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 993225, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:24:34 UTC (rev 993226)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.1.0
+pkgrel=35
+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-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hashable' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-retrie' 'haskell-safe-exceptions'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('42b17ab6aaca200f5eba741d276d68810a7568e6f41b85735ec9739dbd580de15da8737be9d416c7b5cb845fc12e18cc9d2b2ccfd841cece38907b6be07bd7ea')
+
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:24:27
  Author: felixonmars
Revision: 993225

upgpkg: haskell-hls-retrie-plugin 1.0.1.0-35: rebuild with monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:23:24 UTC (rev 993224)
+++ PKGBUILD2021-08-02 23:24:27 UTC (rev 993225)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.0
-pkgrel=34
+pkgrel=35
 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-test-utils/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:23:24
  Author: felixonmars
Revision: 993224

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 993223, haskell-hls-test-utils/trunk/PKGBUILD)

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

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 993223, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:23:24 UTC (rev 993224)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.0.1.0
+pkgrel=35
+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-graph' 
'haskell-hls-plugin-api'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('ba5c13ce3fe5dc502d25221456e832d3ee521c112a9f1a3e066d10205e4b553b2de21c476ad0f4f051041ed421d03499abde14a7ff1bed29cf94bc3b29a40c19')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
+}
+
+build() {
+  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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:23:17
  Author: felixonmars
Revision: 993223

upgpkg: haskell-hls-test-utils 1.0.1.0-35: rebuild with monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:22:20 UTC (rev 993222)
+++ PKGBUILD2021-08-02 23:23:17 UTC (rev 993223)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.0.1.0
-pkgrel=34
+pkgrel=35
 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-hls-explicit-imports-plugin/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:22:20
  Author: felixonmars
Revision: 993222

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 993221, 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 993221, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:22:20 UTC (rev 993222)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.0.3
+pkgrel=35
+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-ghc-api-compat' 
'haskell-ghcide'
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('9ee3ef0e88179ec03f64e2f23ba21c00ed02dd2b64c097de926c9502d2b4b77fb3c5e17c1ebe7f3e7e4a8db2a38a888de6ddb523b247f2883c9750452c603358')
+
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:22:13
  Author: felixonmars
Revision: 993221

upgpkg: haskell-hls-explicit-imports-plugin 1.0.0.3-35: rebuild with 
monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:21:15 UTC (rev 993220)
+++ PKGBUILD2021-08-02 23:22:13 UTC (rev 993221)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.0.3
-pkgrel=34
+pkgrel=35
 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-yesod-static/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:21:15
  Author: felixonmars
Revision: 993220

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-static/repos/community-staging-x86_64/
  haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD
(from rev 993219, haskell-yesod-static/trunk/PKGBUILD)

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
993219, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:21:15 UTC (rev 993220)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=291
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-rio' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+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-yesod-static/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:21:07
  Author: felixonmars
Revision: 993219

upgpkg: haskell-yesod-static 1.6.1.0-291: rebuild with monad-control 1.0.3.1

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 23:19:46 UTC (rev 993218)
+++ PKGBUILD2021-08-02 23:21:07 UTC (rev 993219)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=290
+pkgrel=291
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:19:46
  Author: felixonmars
Revision: 993218

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 993217, haskell-ghcide/trunk/PKGBUILD)

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
993217, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 23:19:46 UTC (rev 993218)
@@ -0,0 +1,76 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.4.0.3
+pkgrel=20
+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-api-compat'
+ '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-graph'
+ '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-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')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('9e8be452538a978f67bf0c799b8fcb7036c9fe3f351ee1484fe9f8ab661e88e158a459ff981b4811d70796436195b4f47e7cb22933984cd8c9848740c08f4949')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  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 $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update
+  # 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 $_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-ghcide/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 23:19:39
  Author: felixonmars
Revision: 993217

upgpkg: haskell-ghcide 1.4.0.3-20: rebuild with monad-control 1.0.3.1

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:58:04 UTC (rev 993216)
+++ PKGBUILD2021-08-02 23:19:39 UTC (rev 993217)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.0.3
-pkgrel=19
+pkgrel=20
 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-yesod-test/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:58:04
  Author: felixonmars
Revision: 993216

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-test/repos/community-staging-x86_64/
  haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD
(from rev 993215, haskell-yesod-test/trunk/PKGBUILD)

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
993215, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:58:04 UTC (rev 993216)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=168
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6')
+
+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-yesod-test/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:57:57
  Author: felixonmars
Revision: 993215

upgpkg: haskell-yesod-test 1.6.12-168: rebuild with monad-control 1.0.3.1

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:56:52 UTC (rev 993214)
+++ PKGBUILD2021-08-02 22:57:57 UTC (rev 993215)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=167
+pkgrel=168
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:56:52
  Author: felixonmars
Revision: 993214

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 993213, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:56:52 UTC (rev 993214)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.2
+pkgrel=25
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-file-embed' 'haskell-monad-logger' 
'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a062f74502c5d88784a20f3bbe4c5799475043f3d17fea28b8199e9e4a3f9cc044e7b21a97bdb0c7e9e91c6e76aec4350a2cddc6306afb7c2f78f347ebf4f249')
+
+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-yesod/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:56:45
  Author: felixonmars
Revision: 993213

upgpkg: haskell-yesod 1.6.1.2-25: rebuild with monad-control 1.0.3.1

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:55:53 UTC (rev 993212)
+++ PKGBUILD2021-08-02 22:56:45 UTC (rev 993213)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.2
-pkgrel=24
+pkgrel=25
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:55:53
  Author: felixonmars
Revision: 993212

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
993211, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:55:53 UTC (rev 993212)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.5.2.1
+pkgrel=4
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-unliftio' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-core' 'haskell-mysql' 
'haskell-mysql-simple'
+ 'haskell-persistent-mysql' 'haskell-persistent-postgresql' 
'haskell-persistent-sqlite'
+ 'haskell-postgresql-simple')
+checkdepends=('mariadb' 'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8b1d0b06c2ef9ead922be7220d0d1fa6a6de67404bf48c2cfab297d92e187a92cb602e0189f91fbe0561c2f6f268b67d71f9f1512bff7c3218fa4fbab31a301')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/port=5432/port=9824/' test/PostgreSQL/Test.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 \
+-f-mysql -f-postgresql
+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
+# Copied from haskell-persistent-mysql
+mkdir -p /tmp/mysql_test
+mysql_install_db --datadir=/tmp/mysql_test
+mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql --port 33306 
--skip-grant-tables &
+MYSQL_PID=$!
+sleep 5
+mysql -h 127.0.0.1 -P 33306 -u root -e "create database IF NOT EXISTS 
esqutest;"
+
+# Copied from haskell-persistent-postgresql
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s esqutest
+createdb -O esqutest esqutest
+
+# mysql tests fail the same way as haskell-persistent-mysql, due to 
incompatibility with mariadb
+TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+kill $MYSQL_PID
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:55:46
  Author: felixonmars
Revision: 993211

upgpkg: haskell-esqueleto 3.5.2.1-4: rebuild with monad-control 1.0.3.1

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:52:54 UTC (rev 993210)
+++ PKGBUILD2021-08-02 22:55:46 UTC (rev 993211)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto;
 license=("BSD")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:52:54
  Author: felixonmars
Revision: 993210

archrelease: copy trunk to community-staging-x86_64

Added:
  arch-hs/repos/community-staging-x86_64/
  arch-hs/repos/community-staging-x86_64/PKGBUILD
(from rev 993209, arch-hs/trunk/PKGBUILD)

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 993209, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:52:54 UTC (rev 993210)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.9.1.0
+pkgrel=11
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('aa7b011dd2753b596df53f4adce4a131ef42fffe37eb5bfd815678b1d34bc87f83f1af36a9fc9db34b5c7d5b68e48120bab7abedfe92e0cc7530feba91c04f83')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  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
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-sync"
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-sync"
+} 



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:52:45
  Author: felixonmars
Revision: 993209

upgpkg: arch-hs 0.9.1.0-11: rebuild with monad-control 1.0.3.1

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:51:08 UTC (rev 993208)
+++ PKGBUILD2021-08-02 22:52:45 UTC (rev 993209)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.9.1.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:51:08
  Author: felixonmars
Revision: 993208

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 993207, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:51:08 UTC (rev 993208)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.1.0.2
+pkgrel=24
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-opentelemetry' 'haskell-regex-tdfa' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('fd6be87c3103fd3a87d1f83652861075bda2016fb7a5db9071f76f3a153fd8a6f36b7d4f0bab3f04d9012b127ed3ed6eb52f4516c67cc2840911e204ef89cc46')
+
+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-plugin-api/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:51:00
  Author: felixonmars
Revision: 993207

upgpkg: haskell-hls-plugin-api 1.1.0.2-24: rebuild with monad-control 1.0.3.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:50:06 UTC (rev 993206)
+++ PKGBUILD2021-08-02 22:51:00 UTC (rev 993207)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.1.0.2
-pkgrel=23
+pkgrel=24
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:50:06
  Author: felixonmars
Revision: 993206

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 993205, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/ghc9.patch
(from rev 993205, stack/trunk/ghc9.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 993205, stack/trunk/stack.install)

---+
 PKGBUILD  |   80 +++
 ghc9.patch|  188 
 stack.install |4 +
 3 files changed, 272 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 993205, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:50:06 UTC (rev 993206)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.3
+pkgrel=14
+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;
+ghc9.patch)
+sha512sums=('SKIP'
+
'5229f2f6a32bf8d317a2fc7a7bb16c0698359255c2ec6cbe74cbc78799aa170d4e174e6e182478e52d7040f12f32b7a2b9c246f185d79b6e3f295ccb59f3f3b8')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+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
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 

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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:49:56
  Author: felixonmars
Revision: 993205

upgpkg: stack 2.7.3-14: rebuild with monad-control 1.0.3.1

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:46:18 UTC (rev 993204)
+++ PKGBUILD2021-08-02 22:49:56 UTC (rev 993205)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.3
-pkgrel=13
+pkgrel=14
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:46:18
  Author: felixonmars
Revision: 993204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-form/repos/community-staging-x86_64/
  haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD
(from rev 993203, haskell-yesod-form/trunk/PKGBUILD)

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
993203, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:46:18 UTC (rev 993204)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.7.0
+pkgrel=60
+pkgdesc="Form handling support for Yesod Web Framework"
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-byteable' 'haskell-data-default' 
'haskell-email-validate'
+ 'haskell-network-uri' 'haskell-persistent' 'haskell-resourcet' 
'haskell-shakespeare'
+ 'haskell-wai' 'haskell-xss-sanitize' 'haskell-yesod-core' 
'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc5373c62e78d79e570171c608fa2e9cfb2092a859b81a881ab69a406c357cc9eeff0ff04d0c08f8cc29cf66ef488ce6b96195d26b9c6dff879a1fea96eff013')
+
+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 \
+-fnetwork-uri
+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-yesod-form/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:46:11
  Author: felixonmars
Revision: 993203

upgpkg: haskell-yesod-form 1.7.0-60: rebuild with monad-control 1.0.3.1

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:45:08 UTC (rev 993202)
+++ PKGBUILD2021-08-02 22:46:11 UTC (rev 993203)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.7.0
-pkgrel=59
+pkgrel=60
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:45:08
  Author: felixonmars
Revision: 993202

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 993201, haskell-persistent-postgresql/trunk/PKGBUILD)

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

Copied: haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD 
(from rev 993201, haskell-persistent-postgresql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:45:08 UTC (rev 993202)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-postgresql
+pkgname=haskell-persistent-postgresql
+pkgver=2.13.0.3
+pkgrel=20
+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-hspec-expectations-lifted'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'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;)
+sha512sums=('9378b05b24fcf491d1afc2c9fd83592c83a4a239cc746a88a08330eed29b1e99ea1c32335c7dd9fe4b23417edc5958ff9c51006475f2c0dd0b24cea3ef2f8ecf')
+
+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 -s postgres
+  createdb test
+  # https://github.com/yesodweb/persistent/issues/1278
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+  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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:45:00
  Author: felixonmars
Revision: 993201

upgpkg: haskell-persistent-postgresql 2.13.0.3-20: rebuild with monad-control 
1.0.3.1

Modified:
  haskell-persistent-postgresql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:43:36 UTC (rev 993200)
+++ PKGBUILD2021-08-02 22:45:00 UTC (rev 993201)
@@ -3,7 +3,7 @@
 _hkgname=persistent-postgresql
 pkgname=haskell-persistent-postgresql
 pkgver=2.13.0.3
-pkgrel=19
+pkgrel=20
 pkgdesc="Backend for the persistent library using postgresql."
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:43:36
  Author: felixonmars
Revision: 993200

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 993199, haskell-persistent-mysql/trunk/PKGBUILD)

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

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 993199, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:43:36 UTC (rev 993200)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.13.0.1
+pkgrel=30
+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-http-api-data' 'haskell-path-pieces' 
'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=('e726a54704b5eedd3f3c9ccb20516501a9f42c787d3e5e7998e900637f26f0abf7f5bd82900ad66d99091abe9112d0c697460dc536c7b07d24f2476a0e0552b4')
+
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:43:28
  Author: felixonmars
Revision: 993199

upgpkg: haskell-persistent-mysql 2.13.0.1-30: rebuild with monad-control 1.0.3.1

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:42:13 UTC (rev 993198)
+++ PKGBUILD2021-08-02 22:43:28 UTC (rev 993199)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.13.0.1
-pkgrel=29
+pkgrel=30
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:42:13
  Author: felixonmars
Revision: 993198

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-arch-web/repos/community-staging-x86_64/
  haskell-arch-web/repos/community-staging-x86_64/PKGBUILD
(from rev 993197, haskell-arch-web/trunk/PKGBUILD)

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
993197, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:42:13 UTC (rev 993198)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=127
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ffb66a4bee5432799e75f4c637856ae49868b2633e3711b3468a8d78b9263ef2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u http-client -u lens $_hkgname.cabal
+  gen-setup
+
+  sed -i '/CommunityTesting/a \  | KDEUnstable' src/Web/ArchLinux/Types.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
+  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-arch-web/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:42:06
  Author: felixonmars
Revision: 993197

upgpkg: haskell-arch-web 0.1.0-127: rebuild with monad-control 1.0.3.1

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:40:22 UTC (rev 993196)
+++ PKGBUILD2021-08-02 22:42:06 UTC (rev 993197)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=126
+pkgrel=127
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:40:22
  Author: felixonmars
Revision: 993196

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 993195, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:40:22 UTC (rev 993196)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=353
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:40:14
  Author: felixonmars
Revision: 993195

upgpkg: postgrest 7.0.1-353: rebuild with monad-control 1.0.3.1

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:37:35 UTC (rev 993194)
+++ PKGBUILD2021-08-02 22:40:14 UTC (rev 993195)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=352
+pkgrel=353
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:37:35
  Author: felixonmars
Revision: 993194

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-plan/repos/community-staging-x86_64/
  cabal-plan/repos/community-staging-x86_64/PKGBUILD
(from rev 993193, cabal-plan/trunk/PKGBUILD)

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

Copied: cabal-plan/repos/community-staging-x86_64/PKGBUILD (from rev 993193, 
cabal-plan/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:37:35 UTC (rev 993194)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-plan
+pkgname=cabal-plan
+pkgver=0.7.2.0
+pkgrel=42
+pkgdesc="Library and utility for processing cabal's plan.json file"
+url="https://github.com/hvr/cabal-plan;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-optics-core'
+ 'haskell-optparse-applicative' 'haskell-semialign' 
'haskell-singleton-bool' 'haskell-tar'
+ 'haskell-these' 'haskell-topograph' 'haskell-vector' 'haskell-zlib')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('233a3d1460732fe3486169023758e431d37c5c9156fb28d829decaf7b9170f85')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base -u Cabal -u optics-core -u semialign $_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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fexe -flicense-report
+
+  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"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.GPLv2
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:37:28
  Author: felixonmars
Revision: 993193

upgpkg: cabal-plan 0.7.2.0-42: rebuild with monad-control 1.0.3.1

Modified:
  cabal-plan/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:36:19 UTC (rev 993192)
+++ PKGBUILD2021-08-02 22:37:28 UTC (rev 993193)
@@ -3,7 +3,7 @@
 _hkgname=cabal-plan
 pkgname=cabal-plan
 pkgver=0.7.2.0
-pkgrel=41
+pkgrel=42
 pkgdesc="Library and utility for processing cabal's plan.json file"
 url="https://github.com/hvr/cabal-plan;
 license=("GPL")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:36:19
  Author: felixonmars
Revision: 993192

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ci/repos/community-staging-x86_64/PKGBUILD (from rev 993191, 
haskell-ci/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:36:19 UTC (rev 993192)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-ci
+pkgname=haskell-ci
+pkgver=0.12.1
+pkgrel=28
+pkgdesc="Cabal package script generator for Travis-CI"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-cryptohash-sha256'
+ 'haskell-generic-lens-lite' 'haskell-hsyaml' 
'haskell-indexed-traversable'
+ 'haskell-indexed-traversable-instances' 'haskell-ini' 
'haskell-lattices'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 'shellcheck' 
'haskell-temporary'
+ 'haskell-unordered-containers' 'haskell-zinza')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-ansi-terminal' 
'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d93a6b8e880255469b34b568320659802252379f0c5486ed315b366fd07dae935a480047468912bc5a397b9e55b00ea964451790f963d05b8df1d426d871da1c')
+
+prepare(){
+  uusi -u attoparsec -u ShellCheck $_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 \
+--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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:36:11
  Author: felixonmars
Revision: 993191

upgpkg: haskell-ci 0.12.1-28: rebuild with monad-control 1.0.3.1

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:34:49 UTC (rev 993190)
+++ PKGBUILD2021-08-02 22:36:11 UTC (rev 993191)
@@ -3,7 +3,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=27
+pkgrel=28
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")



[arch-commits] Commit in haskell-implicit-hie-cradle/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:34:49
  Author: felixonmars
Revision: 993190

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD
(from rev 993189, haskell-implicit-hie-cradle/trunk/PKGBUILD)

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

Copied: haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD 
(from rev 993189, haskell-implicit-hie-cradle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:34:49 UTC (rev 993190)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=implicit-hie-cradle
+pkgname=haskell-implicit-hie-cradle
+pkgver=0.3.0.5
+pkgrel=13
+pkgdesc="Auto generate hie-bios cradles"
+url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-extra' 
'haskell-hie-bios'
+ 'haskell-hslogger' 'haskell-implicit-hie' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('692534bce4513e039e8f7fe162f8ceb88ef42ced0f314ba01a4d07e2a2f5bb5be60f64a04674498e45c0766fe801aba7102763704aa857695f770318dc3e')
+
+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-implicit-hie-cradle/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:34:41
  Author: felixonmars
Revision: 993189

upgpkg: haskell-implicit-hie-cradle 0.3.0.5-13: rebuild with monad-control 
1.0.3.1

Modified:
  haskell-implicit-hie-cradle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:33:58 UTC (rev 993188)
+++ PKGBUILD2021-08-02 22:34:41 UTC (rev 993189)
@@ -3,7 +3,7 @@
 _hkgname=implicit-hie-cradle
 pkgname=haskell-implicit-hie-cradle
 pkgver=0.3.0.5
-pkgrel=12
+pkgrel=13
 pkgdesc="Auto generate hie-bios cradles"
 url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
 license=("BSD")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:33:58
  Author: felixonmars
Revision: 993188

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-graph/repos/community-staging-x86_64/
  haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD
(from rev 993187, haskell-hls-graph/trunk/PKGBUILD)

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

Copied: haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD (from rev 
993187, haskell-hls-graph/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:33:58 UTC (rev 993188)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-graph
+pkgname=haskell-hls-graph
+pkgver=1.4.0.0
+pkgrel=21
+pkgdesc="Haskell Language Server internal graph API"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-shake' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('8ee3bf2a7f11f15741c94a9d40560aa2fe35af3c8fce40166796233322a5a474')
+
+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-graph/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:33:51
  Author: felixonmars
Revision: 993187

upgpkg: haskell-hls-graph 1.4.0.0-21: rebuild with monad-control 1.0.3.1

Modified:
  haskell-hls-graph/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:33:12 UTC (rev 993186)
+++ PKGBUILD2021-08-02 22:33:51 UTC (rev 993187)
@@ -3,7 +3,7 @@
 _hkgname=hls-graph
 pkgname=haskell-hls-graph
 pkgver=1.4.0.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Haskell Language Server internal graph API"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:33:12
  Author: felixonmars
Revision: 993186

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 993185, haskell-pantry/trunk/PKGBUILD)

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
993185, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:33:12 UTC (rev 993186)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.2.3
+pkgrel=15
+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=('ecb1a1fb1116f97b8078028752b285557823ee9d870d9a5fb7620ebbbe1b41b870211755c1f39a915226c73ca07ba3b86a08a1b52644c2cfadd0dd3e5c8a')
+
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:33:04
  Author: felixonmars
Revision: 993185

upgpkg: haskell-pantry 0.5.2.3-15: rebuild with monad-control 1.0.3.1

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:28:40 UTC (rev 993184)
+++ PKGBUILD2021-08-02 22:33:04 UTC (rev 993185)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.2.3
-pkgrel=14
+pkgrel=15
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry;
 license=('BSD')



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:28:40
  Author: felixonmars
Revision: 993184

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 993183, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:28:40 UTC (rev 993184)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.7
+pkgrel=47
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-resource-pool" "haskell-resourcet" "haskell-yesod-core")
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9312189947a6ba97bec12c057535a54bb024847ee0f08ba50473a78327f7ca25083738f0742c0847d0b329ef0e764412c85ac32aab4ebde2851a29e60e82d337')
+
+prepare() {
+cd $_hkgname-$pkgver
+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-yesod-persistent/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:28:33
  Author: felixonmars
Revision: 993183

upgpkg: haskell-yesod-persistent 1.6.0.7-47: rebuild with monad-control 1.0.3.1

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:27:38 UTC (rev 993182)
+++ PKGBUILD2021-08-02 22:28:33 UTC (rev 993183)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.7
-pkgrel=46
+pkgrel=47
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:27:38
  Author: felixonmars
Revision: 993182

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 993181, haskell-persistent-qq/trunk/PKGBUILD)

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
993181, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:27:38 UTC (rev 993182)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.1
+pkgrel=30
+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=('14a06fd7b2b773a80f0963658bdc74f17755579ddee45f7875208ad4046d7cdee096cbf2fdba41b34baa43bc6fecb901cfdbd65c12845a9381844bf14afd6df6')
+
+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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:27:31
  Author: felixonmars
Revision: 993181

upgpkg: haskell-persistent-qq 2.12.0.1-30: rebuild with monad-control 1.0.3.1

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:26:12 UTC (rev 993180)
+++ PKGBUILD2021-08-02 22:27:31 UTC (rev 993181)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.1
-pkgrel=29
+pkgrel=30
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent;
 license=('MIT')



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:26:12
  Author: felixonmars
Revision: 993180

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-client/repos/community-staging-x86_64/
  haskell-servant-client/repos/community-staging-x86_64/PKGBUILD
(from rev 993179, haskell-servant-client/trunk/PKGBUILD)

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 993179, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:26:12 UTC (rev 993180)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.3
+pkgrel=17
+pkgdesc="Automatic derivation of querying functions for servant"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-http-client' 
'haskell-http-media'
+ 'haskell-http-types' 'haskell-kan-extensions' 'haskell-monad-control'
+ 'haskell-semigroupoids' 'haskell-servant' 
'haskell-servant-client-core'
+ 'haskell-transformers-base' 'haskell-transformers-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-entropy'
+ 'haskell-hspec' 'haskell-hspec-discover' 'haskell-http-api-data'
+ 'haskell-markdown-unlit' 'haskell-network' 
'haskell-servant-server' 'haskell-sop-core'
+ 'haskell-tdigest' 'haskell-wai' 'haskell-warp')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d05f8d35ea397cfabafe0ee74314d5411d98c98093b095ed1ce7077a6d052d59f32785e0667930cf0a6763eebfc4da0deaee032ba73550597971348096617de2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u transformers-compat $_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 \
+--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-servant-client/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:26:05
  Author: felixonmars
Revision: 993179

upgpkg: haskell-servant-client 0.18.3-17: rebuild with monad-control 1.0.3.1

Modified:
  haskell-servant-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:24:33 UTC (rev 993178)
+++ PKGBUILD2021-08-02 22:26:05 UTC (rev 993179)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.3
-pkgrel=16
+pkgrel=17
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")



[arch-commits] Commit in haskell-wai-middleware-static/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:24:33
  Author: felixonmars
Revision: 993178

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-middleware-static/repos/community-staging-x86_64/
  haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD
(from rev 993177, haskell-wai-middleware-static/trunk/PKGBUILD)

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 993177, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:24:33 UTC (rev 993178)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.0
+pkgrel=161
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-hspec-expectations-lifted'
+ 'haskell-hspec-wai' 'haskell-mockery' 'haskell-scotty' 
'haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4833afa649ed2e9604f396481dbf5e1f4d96db841fb9c300a9c0b66641241c12c14d8e010860626a3d4bf00507fa0b28b5480d37ac1f8d6daa1c3e96685b654c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/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 --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-wai-middleware-static/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:24:26
  Author: felixonmars
Revision: 993177

upgpkg: haskell-wai-middleware-static 0.9.0-161: rebuild with monad-control 
1.0.3.1

Modified:
  haskell-wai-middleware-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:23:39 UTC (rev 993176)
+++ PKGBUILD2021-08-02 22:24:26 UTC (rev 993177)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.0
-pkgrel=160
+pkgrel=161
 pkgdesc="WAI middleware that serves requests to static files"
 url="https://github.com/scotty-web/wai-middleware-static;
 license=("BSD")



[arch-commits] Commit in haskell-cabal-install-parsers/repos (2 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:23:39
  Author: felixonmars
Revision: 993176

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cabal-install-parsers/repos/community-staging-x86_64/
  haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD
(from rev 993175, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 993175, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:23:39 UTC (rev 993176)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4.2
+pkgrel=15
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f41dd0fe65994330aca0b372f96e370eeaf5b7f9909682aa7d394244e4144358b70e482b2d4cd54ba78068b202155fb6dacd38b81eadeaa877c6bc5bbf2ba8fb')
+
+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
+  cabal update  # Generate cabal config for tests
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-cabal-install-parsers/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:23:28
  Author: felixonmars
Revision: 993175

upgpkg: haskell-cabal-install-parsers 0.4.2-15: rebuild with monad-control 
1.0.3.1

Modified:
  haskell-cabal-install-parsers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:21:28 UTC (rev 993174)
+++ PKGBUILD2021-08-02 22:23:28 UTC (rev 993175)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4.2
-pkgrel=14
+pkgrel=15
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")



[arch-commits] Commit in haskell-hie-bios/repos (3 files)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:21:28
  Author: felixonmars
Revision: 993174

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hie-bios/repos/community-staging-x86_64/
  haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD
(from rev 993173, haskell-hie-bios/trunk/PKGBUILD)
  haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch
(from rev 993173, haskell-hie-bios/trunk/ghc9.patch)

+
 PKGBUILD   |   66 +
 ghc9.patch |  761 +++
 2 files changed, 827 insertions(+)

Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 
993173, haskell-hie-bios/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:21:28 UTC (rev 993174)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-bios
+pkgname=haskell-hie-bios
+pkgver=0.7.5
+pkgrel=47
+pkgdesc="Set up a GHC API session"
+url="https://github.com/mpickering/hie-bios;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 
'haskell-exceptions' 'haskell-extra'
+ 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger'
+ 'haskell-optparse-applicative' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+ghc9.patch)
+sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262'
+
'2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../ghc9.patch
+
+  # Additional fixes for dynamic ghc
+  sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs
+  uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat 
$_hkgname.cabal
+
+  # https://github.com/mpickering/hie-bios/issues/290
+  chmod +x tests/projects/*/*.sh
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update  # Generate cabal config for tests
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 
993173, haskell-hie-bios/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-08-02 22:21:28 UTC (rev 993174)
@@ -0,0 +1,761 @@
+From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001
+From: Fendor 
+Date: Sat, 5 Sep 2020 13:50:09 +0200
+Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD
+
+---
+ hie-bios.cabal  |   3 +-
+ src/HIE/Bios/Environment.hs |  19 +++---
+ src/HIE/Bios/Ghc/Api.hs |   3 +-
+ src/HIE/Bios/Ghc/Check.hs   |   2 +-
+ src/HIE/Bios/Ghc/Doc.hs |  10 +++-
+ src/HIE/Bios/Ghc/Gap.hs | 113 ++--
+ src/HIE/Bios/Ghc/Load.hs|   6 +-
+ src/HIE/Bios/Ghc/Logger.hs  |  23 +---
+ 8 files changed, 145 insertions(+), 34 deletions(-)
+
+diff --git a/hie-bios.cabal b/hie-bios.cabal
+index 1ee5a8c0..735efe34 100644
+--- a/hie-bios.cabal
 b/hie-bios.cabal
+@@ -156,8 +156,9 @@ Library
+ filepath >= 1.4.1 && < 1.5,
+ time >= 1.8.0 && < 1.12,
+ extra>= 1.6.14 && < 1.8,
++exceptions,
+   

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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:21:19
  Author: felixonmars
Revision: 993173

upgpkg: haskell-hie-bios 0.7.5-47: rebuild with monad-control 1.0.3.1

Modified:
  haskell-hie-bios/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:19:03 UTC (rev 993172)
+++ PKGBUILD2021-08-02 22:21:19 UTC (rev 993173)
@@ -3,7 +3,7 @@
 _hkgname=hie-bios
 pkgname=haskell-hie-bios
 pkgver=0.7.5
-pkgrel=46
+pkgrel=47
 pkgdesc="Set up a GHC API session"
 url="https://github.com/mpickering/hie-bios;
 license=("BSD")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:19:03
  Author: felixonmars
Revision: 993172

archrelease: copy trunk to community-staging-x86_64

Added:
  shellcheck/repos/community-staging-x86_64/
  shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 993171, shellcheck/trunk/PKGBUILD)

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 993171, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:19:03 UTC (rev 993172)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.2
+pkgrel=63
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 
'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc' 'uusi')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('87b7377add4ce37766f9fd812cd9bf03097c9ba452b646e7ae1dc65946a7210c9d24d8c83b4be4146a0f100aff5bc9a3a562b3990c74f1c29ee191e249f97714')
+
+prepare() {
+cd $pkgname-$pkgver
+gen-setup
+}
+
+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='-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
+
+./manpage
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:18:56
  Author: felixonmars
Revision: 993171

upgpkg: shellcheck 0.7.2-63: rebuild with monad-control 1.0.3.1

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:16:00 UTC (rev 993170)
+++ PKGBUILD2021-08-02 22:18:56 UTC (rev 993171)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.2
-pkgrel=62
+pkgrel=63
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:16:00
  Author: felixonmars
Revision: 993170

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 993169, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
993169, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:16:00 UTC (rev 993170)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.12.0
+pkgrel=28
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-gitrev' 'haskell-microlens'
+ 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('5e2dbd5d63d0a6b295da9efc97273d3d2c9a08f50ddda3df3f1df31b112be082233011e632c551be34043d50114f7d2373219ef68ffa1fa59a9fb4d31b9351d5')
+
+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 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+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
+runhaskell Setup test --show-details=direct
+}
+
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:15:53
  Author: felixonmars
Revision: 993169

upgpkg: pandoc-crossref 0.3.12.0-28: rebuild with monad-control 1.0.3.1

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:14:23 UTC (rev 993168)
+++ PKGBUILD2021-08-02 22:15:53 UTC (rev 993169)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.12.0
-pkgrel=27
+pkgrel=28
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:14:23
  Author: felixonmars
Revision: 993168

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 993167, haskell-hakyll/trunk/PKGBUILD)

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
993167, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:14:23 UTC (rev 993168)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.14.0.0
+pkgrel=97
+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 file-embed -u memory -u optparse-applicative -u 
pandoc -u tasty -u template-haskell $_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-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:14:16
  Author: felixonmars
Revision: 993167

upgpkg: haskell-hakyll 4.14.0.0-97: rebuild with monad-control 1.0.3.1

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:12:47 UTC (rev 993166)
+++ PKGBUILD2021-08-02 22:14:16 UTC (rev 993167)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.14.0.0
-pkgrel=96
+pkgrel=97
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:12:47
  Author: felixonmars
Revision: 993166

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 993165, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 993165, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:12:47 UTC (rev 993166)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18.1
+pkgrel=139
+pkgdesc="Haskell API Search"
+url="https://www.haskell.org/hoogle/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 
'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 
'haskell-process-extras'
+ 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('00abbcf557824c604abbd5e9d27a5ca3d4a89e943888b6eef70dea46b8f786dfc851cb1c8f1531c808f4b71b34d3899258f3b009b0a38a385fc5c393a914da17')
+
+build() {
+cd "${srcdir}/${pkgname}-${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 \
+--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 "${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 hoogle/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:12:39
  Author: felixonmars
Revision: 993165

upgpkg: hoogle 5.0.18.1-139: rebuild with monad-control 1.0.3.1

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:11:15 UTC (rev 993164)
+++ PKGBUILD2021-08-02 22:12:39 UTC (rev 993165)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18.1
-pkgrel=138
+pkgrel=139
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:11:15
  Author: felixonmars
Revision: 993164

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 993163, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-02 22:11:15 UTC (rev 993164)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=16
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655c146102ca6479d5a1de11040e7c6b5f18c5386f9bb93d5305c837bc405e6bd3dd9f2e9daec74fb59de6a91272485f83bb708028cd55d9771afb39ff3b9f64')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+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 \
+-f-portable -f-cloud -f-embed-files
+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-shake/trunk (PKGBUILD)

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:11:08
  Author: felixonmars
Revision: 993163

upgpkg: haskell-shake 0.19.5-16: rebuild with monad-control 1.0.3.1

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:03:52 UTC (rev 993162)
+++ PKGBUILD2021-08-02 22:11:08 UTC (rev 993163)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=15
+pkgrel=16
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")



[arch-commits] Commit in qt5-3d/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2021-08-02 Thread Antonio Rojas via arch-commits
Date: Monday, August 2, 2021 @ 22:10:16
  Author: arojas
Revision: 421096

archrelease: copy trunk to extra-x86_64

Added:
  qt5-3d/repos/extra-x86_64/PKGBUILD
(from rev 421095, qt5-3d/trunk/PKGBUILD)
Deleted:
  qt5-3d/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-02 22:10:07 UTC (rev 421095)
+++ PKGBUILD2021-08-02 22:10:16 UTC (rev 421096)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Andrea Scarpino 
-
-pkgname=qt5-3d
-_qtver=5.15.2
-pkgver=5.15.2+kde+r25
-pkgrel=1
-_commit=9ea92434fda3b281f7fc1d10c701915405e249b7
-arch=('x86_64')
-url='https://www.qt.io'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
-depends=('qt5-declarative' 'assimp')
-makedepends=('git' 'vulkan-headers')
-groups=('qt' 'qt5')
-_pkgfqn=qt3d
-source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $_pkgfqn
-  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
-}
-
-prepare() {
-  mkdir -p build
-
-  cd $_pkgfqn
-  git revert -n 997ff3ad21b9303aa3321a86e5c5b9cfcfc2f807 # Revert version bump
-}
-
-build() {
-  cd build
-
-  qmake ../${_pkgfqn}
-  make
-}
-
-package() {
-  cd build
-  make INSTALL_ROOT="$pkgdir" install
-
-  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
-  find "$pkgdir/usr/lib" -type f -name '*.prl' \
--exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
-
-  install -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
-}

Copied: qt5-3d/repos/extra-x86_64/PKGBUILD (from rev 421095, 
qt5-3d/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-02 22:10:16 UTC (rev 421096)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-3d
+_qtver=5.15.2
+pkgver=5.15.2+kde+r26
+pkgrel=1
+_commit=279a73fd96762c7f7a43ad32c09a4cd46c465df6
+arch=('x86_64')
+url='https://www.qt.io'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
+depends=('qt5-declarative' 'assimp')
+makedepends=('git' 'vulkan-headers')
+groups=('qt' 'qt5')
+_pkgfqn=qt3d
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $_pkgfqn
+  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+}
+
+prepare() {
+  mkdir -p build
+
+  cd $_pkgfqn
+  git revert -n 997ff3ad21b9303aa3321a86e5c5b9cfcfc2f807 # Revert version bump
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}



[arch-commits] Commit in qt5-3d/trunk (PKGBUILD)

2021-08-02 Thread Antonio Rojas via arch-commits
Date: Monday, August 2, 2021 @ 22:10:07
  Author: arojas
Revision: 421095

Bump revision

Modified:
  qt5-3d/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:07:14 UTC (rev 421094)
+++ PKGBUILD2021-08-02 22:10:07 UTC (rev 421095)
@@ -3,9 +3,9 @@
 
 pkgname=qt5-3d
 _qtver=5.15.2
-pkgver=5.15.2+kde+r25
+pkgver=5.15.2+kde+r26
 pkgrel=1
-_commit=9ea92434fda3b281f7fc1d10c701915405e249b7
+_commit=279a73fd96762c7f7a43ad32c09a4cd46c465df6
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')



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

2021-08-02 Thread Felix Yan via arch-commits
Date: Monday, August 2, 2021 @ 22:02:50
  Author: felixonmars
Revision: 993159

upgpkg: haskell-aws 0.22-298: rebuild with monad-control 1.0.3.1

Modified:
  haskell-aws/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-08-02 22:01:07 UTC (rev 993158)
+++ PKGBUILD2021-08-02 22:02:50 UTC (rev 993159)
@@ -4,7 +4,7 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.22
-pkgrel=297
+pkgrel=298
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="https://github.com/aristidb/aws;
 license=("BSD")



[arch-commits] Commit in kio-extras/repos/kde-unstable-x86_64 (PKGBUILD PKGBUILD)

2021-08-02 Thread Antonio Rojas via arch-commits
Date: Monday, August 2, 2021 @ 22:07:14
  Author: arojas
Revision: 421094

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kio-extras/repos/kde-unstable-x86_64/PKGBUILD
(from rev 421093, kio-extras/kde-unstable/PKGBUILD)
Deleted:
  kio-extras/repos/kde-unstable-x86_64/PKGBUILD

--+
 PKGBUILD |   72 ++---
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-02 22:07:03 UTC (rev 421093)
+++ PKGBUILD2021-08-02 22:07:14 UTC (rev 421094)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Antonio Rojas 
-# Contributor: Andrea Scarpino 
-
-pkgname=kio-extras
-pkgver=21.07.90
-pkgrel=1
-pkgdesc='Additional components to increase the functionality of KIO'
-arch=(x86_64)
-url='https://www.kde.org/'
-license=(LGPL)
-depends=(kio kdnssd libssh smbclient libmtp phonon-qt5 syntax-highlighting 
kdsoap-ws-discovery-client libxcursor)
-makedepends=(extra-cmake-modules kdoctools gperf taglib libappimage openexr 
kactivities-stats)
-optdepends=('qt5-imageformats: thumbnails for additional image formats' 'perl: 
info kioslave'
-'kimageformats: thumbnails for additional image formats' 'taglib: 
audio file thumbnails'
-'libappimage: AppImage thumbnails' 'icoutils: Windows executable 
thumbnails'
-'openexr: EXR format thumbnails' 'kactivities-stats: recently used 
kioslave')
-groups=(kde-applications kde-network)
-source=(https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('63a5b6535c59f02a5895023309ba28eb27b4c2b5c6d712781d0d0c3aed4458f5'
-'SKIP')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

-  F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck 

-  D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker 

-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
--DLIBAPPIMAGE_LIBRARIES=libappimage.so \
--DCMAKE_INSTALL_LIBEXECDIR=lib \
--DBUILD_TESTING=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: kio-extras/repos/kde-unstable-x86_64/PKGBUILD (from rev 421093, 
kio-extras/kde-unstable/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-02 22:07:14 UTC (rev 421094)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=kio-extras
+pkgver=21.07.90
+pkgrel=2
+pkgdesc='Additional components to increase the functionality of KIO'
+arch=(x86_64)
+url='https://www.kde.org/'
+license=(LGPL)
+depends=(kio kdnssd libssh smbclient libmtp phonon-qt5 syntax-highlighting 
kdsoap-ws-discovery-client libxcursor)
+makedepends=(extra-cmake-modules kdoctools gperf taglib libappimage openexr 
kactivities-stats)
+optdepends=('qt5-imageformats: thumbnails for additional image formats' 'perl: 
info kioslave'
+'kimageformats: thumbnails for additional image formats' 'taglib: 
audio file thumbnails'
+'libappimage: AppImage thumbnails' 'icoutils: Windows executable 
thumbnails'
+'openexr: EXR format thumbnails' 'kactivities-stats: recently used 
kioslave')
+groups=(kde-applications kde-network)
+source=(https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+sha256sums=('63a5b6535c59f02a5895023309ba28eb27b4c2b5c6d712781d0d0c3aed4458f5'
+'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

+  F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck 

+  D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker 

+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+-DLIBAPPIMAGE_LIBRARIES=libappimage.so \
+-DCMAKE_INSTALL_LIBEXECDIR=lib \
+-DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



  1   2   3   4   5   6   7   8   9   10   >