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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:05:53
  Author: felixonmars
Revision: 354583

Allow test failure

Modified:
  python-cookies/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 06:35:47 UTC (rev 354582)
+++ PKGBUILD2018-07-08 07:05:53 UTC (rev 354583)
@@ -30,7 +30,8 @@
 
 check() {
   cd "$srcdir"/cookies-$pkgver
-  python setup.py pytest
+  # https://gitlab.com/sashahart/cookies/issues/6
+  python setup.py pytest || warning "Tests failed"
 
   cd "$srcdir"/cookies-$pkgver-py2
   python2 setup.py pytest


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:07:32
  Author: felixonmars
Revision: 354584

Allow test failure

Modified:
  yapf/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:05:53 UTC (rev 354583)
+++ PKGBUILD2018-07-08 07:07:32 UTC (rev 354584)
@@ -28,7 +28,7 @@
 
 check() {
   cd "$srcdir"/yapf-$pkgver
-  nosetests3
+  nosetests3 || warning "https://github.com/google/yapf/issues/586";
 
   cd "$srcdir"/yapf-$pkgver-py2
   nosetests2


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:09:30
  Author: felixonmars
Revision: 354586

archrelease: copy trunk to community-staging-any

Added:
  python-cookies/repos/community-staging-any/
  python-cookies/repos/community-staging-any/PKGBUILD
(from rev 354585, python-cookies/trunk/PKGBUILD)

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

Copied: python-cookies/repos/community-staging-any/PKGBUILD (from rev 354585, 
python-cookies/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:09:30 UTC (rev 354586)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-cookies
+pkgname=('python-cookies' 'python2-cookies')
+pkgver=2.2.1
+_commit=ab8185e06f221eaf65305f15e05852393723ac95
+pkgrel=2
+pkgdesc='Friendlier RFC 6265-compliant cookie parser/renderer'
+arch=('any')
+license=('MIT')
+url='https://github.com/sashahart/cookies'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/sashahart/cookies/archive/$_commit.tar.gz";)
+sha512sums=('38f9a4c96179256719f21b96356381066479f1ccadbe6f346f84d5b8d6023a0d6d5bb96f566a1b2d20de7ea5122c582b37f39aa71efbf667f14a607e0d869eb3')
+
+prepare() {
+  mv cookies-{$_commit,$pkgver}
+  cp -a cookies-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cookies-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cookies-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cookies-$pkgver
+  # https://gitlab.com/sashahart/cookies/issues/6
+  python setup.py pytest || warning "Tests failed"
+
+  cd "$srcdir"/cookies-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-cookies() {
+  depends=('python')
+
+  cd cookies-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-cookies() {
+  depends=('python2')
+
+  cd cookies-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:09:07
  Author: felixonmars
Revision: 354585

upgpkg: python-cookies 2.2.1-2

Python 3.7 rebuild

Modified:
  python-cookies/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:07:32 UTC (rev 354584)
+++ PKGBUILD2018-07-08 07:09:07 UTC (rev 354585)
@@ -5,7 +5,7 @@
 pkgname=('python-cookies' 'python2-cookies')
 pkgver=2.2.1
 _commit=ab8185e06f221eaf65305f15e05852393723ac95
-pkgrel=1
+pkgrel=2
 pkgdesc='Friendlier RFC 6265-compliant cookie parser/renderer'
 arch=('any')
 license=('MIT')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:13:03
  Author: felixonmars
Revision: 354588

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
354587, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:13:03 UTC (rev 354588)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.0.0
+pkgrel=29
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+ 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+ 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' $_hkgname.cabal
+}
+
+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
+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
+}
+
+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-snap-server/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:12:41
  Author: felixonmars
Revision: 354587

upgpkg: haskell-snap-server 1.1.0.0-29

rebuild pass 1, specified --nocheck

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:09:30 UTC (rev 354586)
+++ PKGBUILD2018-07-08 07:12:41 UTC (rev 354587)
@@ -4,7 +4,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.0.0
-pkgrel=28
+pkgrel=29
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server";
 license=('custom:BSD3')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:13:43
  Author: felixonmars
Revision: 354589

upgpkg: yapf 0.22.0-2

Python 3.7 rebuild

Modified:
  yapf/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:13:03 UTC (rev 354588)
+++ PKGBUILD2018-07-08 07:13:43 UTC (rev 354589)
@@ -4,7 +4,7 @@
 pkgbase=yapf
 pkgname=("yapf" "python2-yapf")
 pkgver=0.22.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python style guide checker"
 arch=('any')
 url="https://github.com/google/yapf";


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:14:05
  Author: felixonmars
Revision: 354590

archrelease: copy trunk to community-staging-any

Added:
  yapf/repos/community-staging-any/
  yapf/repos/community-staging-any/PKGBUILD
(from rev 354589, yapf/trunk/PKGBUILD)

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

Copied: yapf/repos/community-staging-any/PKGBUILD (from rev 354589, 
yapf/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:14:05 UTC (rev 354590)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.22.0
+pkgrel=2
+pkgdesc="Python style guide checker"
+arch=('any')
+url="https://github.com/google/yapf";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/yapf/archive/v$pkgver.tar.gz";)
+sha512sums=('7a01c202bb5760c2b57117d30b3b6a7d40654b62f1c7885cfc2331a9ba6ef497ce8b8bc84b88efadc7a0ab7b9484916a03803f04fb0523241a2ff22678c53927')
+
+prepare() {
+  cp -a yapf-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/yapf-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/yapf-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/yapf-$pkgver
+  nosetests3 || warning "https://github.com/google/yapf/issues/586";
+
+  cd "$srcdir"/yapf-$pkgver-py2
+  nosetests2
+}
+
+package_yapf() {
+  depends=('python-setuptools')
+
+  cd yapf-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+}
+
+package_python2-yapf() {
+  depends=('python2-setuptools')
+
+  cd yapf-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  mv "$pkgdir"/usr/bin/yapf{,2}
+}
+
+# vim:set ts=2 sw=2 et:


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:15:30
  Author: felixonmars
Revision: 354592

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-streams/repos/community-staging-x86_64/
  haskell-http-streams/repos/community-staging-x86_64/PKGBUILD
(from rev 354591, haskell-http-streams/trunk/PKGBUILD)

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
354591, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:15:30 UTC (rev 354592)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.6.1
+pkgrel=35
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.1/<2/' $_hkgname.cabal
+}
+
+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
+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
+}
+
+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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:15:09
  Author: felixonmars
Revision: 354591

upgpkg: haskell-http-streams 0.8.6.1-35

rebuild with network 2.7.0.2

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:14:05 UTC (rev 354590)
+++ PKGBUILD2018-07-08 07:15:09 UTC (rev 354591)
@@ -4,7 +4,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.6.1
-pkgrel=34
+pkgrel=35
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams";
 license=('custom:BSD3')


[arch-commits] Commit in haskell-snap-server/repos/community-staging-x86_64 (2 files)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:18:20
  Author: felixonmars
Revision: 354594

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD
(from rev 354593, haskell-snap-server/trunk/PKGBUILD)
Deleted:
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  122 ++---
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-08 07:17:55 UTC (rev 354593)
+++ PKGBUILD2018-07-08 07:18:20 UTC (rev 354594)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.0.0
-pkgrel=29
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server";
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
- 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
- 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
- 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' $_hkgname.cabal
-}
-
-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
-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
-}
-
-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"
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
354593, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-08 07:18:20 UTC (rev 354594)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.0.0
+pkgrel=30
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+ 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+ 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-execu

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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:17:55
  Author: felixonmars
Revision: 354593

upgpkg: haskell-snap-server 1.1.0.0-30

rebuild with network 2.7.0.2

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:15:30 UTC (rev 354592)
+++ PKGBUILD2018-07-08 07:17:55 UTC (rev 354593)
@@ -4,7 +4,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.0.0
-pkgrel=29
+pkgrel=30
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server";
 license=('custom:BSD3')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:19:25
  Author: felixonmars
Revision: 354596

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-socks/repos/community-staging-x86_64/PKGBUILD (from rev 354595, 
haskell-socks/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:19:25 UTC (rev 354596)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=socks
+pkgname=haskell-socks
+pkgver=0.5.6
+pkgrel=26
+pkgdesc="Socks proxy (version 5) implementation."
+url="https://github.com/vincenthz/hs-socks";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cereal" "haskell-network")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1e7210157146783242e8db38f0956fac520c9e125954f4b00e95eee4a272d9893dcf9bb408363dfe59c7aa5f0f1e4bd4556fe102157cf6b71bab5a22a96a27d8')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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-socks/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:19:03
  Author: felixonmars
Revision: 354595

upgpkg: haskell-socks 0.5.6-26

rebuild with network 2.7.0.2

Modified:
  haskell-socks/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:18:20 UTC (rev 354594)
+++ PKGBUILD2018-07-08 07:19:03 UTC (rev 354595)
@@ -5,7 +5,7 @@
 _hkgname=socks
 pkgname=haskell-socks
 pkgver=0.5.6
-pkgrel=25
+pkgrel=26
 pkgdesc="Socks proxy (version 5) implementation."
 url="https://github.com/vincenthz/hs-socks";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:19:52
  Author: felixonmars
Revision: 354597

Python 3.7 rebuild

Modified:
  python-raet/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:19:25 UTC (rev 354596)
+++ PKGBUILD2018-07-08 07:19:52 UTC (rev 354597)
@@ -4,7 +4,7 @@
 
 pkgname=python-raet
 pkgver=0.6.8
-pkgrel=2
+pkgrel=3
 pkgdesc='Asynchronous encrypted transaction based protocol using Ioflo'
 arch=('any')
 url='http://raet.docs.saltstack.com/'


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:20:07
  Author: felixonmars
Revision: 354598

Python 3.7 rebuild

Modified:
  python-mpmath/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:19:52 UTC (rev 354597)
+++ PKGBUILD2018-07-08 07:20:07 UTC (rev 354598)
@@ -8,7 +8,7 @@
 pkgbase=python-mpmath
 pkgname=(python2-mpmath python-mpmath)
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
 arch=(any)
 url='http://mpmath.org/'


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:20:16
  Author: felixonmars
Revision: 354599

archrelease: copy trunk to community-staging-any

Added:
  python-raet/repos/community-staging-any/
  python-raet/repos/community-staging-any/PKGBUILD
(from rev 354598, python-raet/trunk/PKGBUILD)

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

Copied: python-raet/repos/community-staging-any/PKGBUILD (from rev 354598, 
python-raet/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:20:16 UTC (rev 354599)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Daniel Wallace 
+# Contributor: Thomas S Hatch 
+
+pkgname=python-raet
+pkgver=0.6.8
+pkgrel=3
+pkgdesc='Asynchronous encrypted transaction based protocol using Ioflo'
+arch=('any')
+url='http://raet.docs.saltstack.com/'
+license=('Apache')
+depends=('python-libnacl' 'python-ioflo' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-bitvector')
+source=("https://pypi.io/packages/source/r/raet/raet-$pkgver.tar.gz";)
+sha512sums=('01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20')
+
+build() {
+  cd raet-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd raet-$pkgver
+  # Disabled: very broken
+  # sed -e '/import data/d' -e 's/data.createData/createData/' -i 
systest/lib/data.py
+  # python setup.py pytest
+}
+
+package() {
+  cd raet-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:20:33
  Author: felixonmars
Revision: 354601

archrelease: copy trunk to community-staging-any

Added:
  python-mpmath/repos/community-staging-any/
  python-mpmath/repos/community-staging-any/PKGBUILD
(from rev 354600, python-mpmath/trunk/PKGBUILD)

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

Copied: python-mpmath/repos/community-staging-any/PKGBUILD (from rev 354600, 
python-mpmath/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:20:33 UTC (rev 354601)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Paulo Matias 
+# Contributor: Rafael G. Martins 
+# Contributor: Iván Pulido 
+
+pkgbase=python-mpmath
+pkgname=(python2-mpmath python-mpmath)
+pkgver=1.0.0
+pkgrel=2
+pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
+arch=(any)
+url='http://mpmath.org/'
+license=(BSD)
+makedepends=(python python2)
+source=("http://mpmath.org/files/mpmath-$pkgver.tar.gz";)
+sha256sums=('d32ba7afffbae688229a15f54fbc37c11f4989e4fac628c99b3c5b6889aee03d')
+
+prepare(){
+  cp -R mpmath-$pkgver mpmath2-$pkgver
+}
+
+build() {
+  cd mpmath2-$pkgver  
+  python2 setup.py build
+
+  cd ../mpmath-$pkgver
+  python setup.py build
+}
+
+package_python2-mpmath() {
+  depends=(python2-gmpy2)
+  cd mpmath2-$pkgver
+
+  find -name '*.py' | xargs sed -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+-e 's|#!/usr/bin/env python|#!/usr/bin/env 
python2|' -i
+
+  python2 setup.py install --root "$pkgdir" --optimize=1
+
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+
+package_python-mpmath() {
+  depends=(python-gmpy2)
+  cd mpmath-$pkgver  
+
+  python setup.py install --root "$pkgdir" --optimize=1
+
+  install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:20:20
  Author: felixonmars
Revision: 354600

upgpkg: haskell-streaming-commons 0.2.0.0-16

rebuild with network 2.7.0.2

Modified:
  haskell-streaming-commons/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:20:16 UTC (rev 354599)
+++ PKGBUILD2018-07-08 07:20:20 UTC (rev 354600)
@@ -5,7 +5,7 @@
 _hkgname=streaming-commons
 pkgname=haskell-streaming-commons
 pkgver=0.2.0.0
-pkgrel=15
+pkgrel=16
 pkgdesc="Common lower-level functions needed by various streaming data 
libraries"
 url="https://github.com/fpco/streaming-commons";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:20:45
  Author: felixonmars
Revision: 354602

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-streaming-commons/repos/community-staging-x86_64/
  haskell-streaming-commons/repos/community-staging-x86_64/PKGBUILD
(from rev 354601, haskell-streaming-commons/trunk/PKGBUILD)

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

Copied: haskell-streaming-commons/repos/community-staging-x86_64/PKGBUILD (from 
rev 354601, haskell-streaming-commons/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:20:45 UTC (rev 354602)
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 143480 2015-10-09 08:41:28Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=streaming-commons
+pkgname=haskell-streaming-commons
+pkgver=0.2.0.0
+pkgrel=16
+pkgdesc="Common lower-level functions needed by various streaming data 
libraries"
+url="https://github.com/fpco/streaming-commons";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-network' 'haskell-random' 
'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e570cc5193868064ce7356213a9c52e1bc785a34f93706961472d1528bc2cae8b279483e061dea080027e3015ee56a5e3698485ae5c7c2a2a5a139470298ba21')
+
+build() {
+cd "${srcdir}/${_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 \
+-f-use-bytestring-builder
+runhaskell Setup build
+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}/${_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-conduit-extra/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:22:09
  Author: felixonmars
Revision: 354603

upgpkg: haskell-conduit-extra 1.3.0-30

rebuild with network 2.7.0.2

Modified:
  haskell-conduit-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:20:45 UTC (rev 354602)
+++ PKGBUILD2018-07-08 07:22:09 UTC (rev 354603)
@@ -5,7 +5,7 @@
 _hkgname=conduit-extra
 pkgname=haskell-conduit-extra
 pkgver=1.3.0
-pkgrel=29
+pkgrel=30
 pkgdesc="Batteries included conduit: adapters for common libraries."
 url="https://github.com/snoyberg/conduit";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:22:41
  Author: felixonmars
Revision: 354605

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-conduit-extra/repos/community-staging-x86_64/
  haskell-conduit-extra/repos/community-staging-x86_64/PKGBUILD
(from rev 354604, haskell-conduit-extra/trunk/PKGBUILD)

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

Copied: haskell-conduit-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
354604, haskell-conduit-extra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:22:41 UTC (rev 354605)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=conduit-extra
+pkgname=haskell-conduit-extra
+pkgver=1.3.0
+pkgrel=30
+pkgdesc="Batteries included conduit: adapters for common libraries."
+url="https://github.com/snoyberg/conduit";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-network'
+ 'haskell-primitive' 'haskell-resourcet' 'haskell-streaming-commons' 
'haskell-typed-process'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-exceptions' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-transformers-base')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3097a561b37b13e221f0721e84c06b179ec6df5111af7a2db12e26ee4f4d0935fb49bbccbda17e22546d11436774a5fa4b8df718c47f751bf5e846dfec92a7e5')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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
+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
+}
+
+package() {
+cd "${srcdir}/${_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 python-parsedatetime/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:22:26
  Author: felixonmars
Revision: 354604

Python 3.7 rebuild

Modified:
  python-parsedatetime/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:22:09 UTC (rev 354603)
+++ PKGBUILD2018-07-08 07:22:26 UTC (rev 354604)
@@ -9,7 +9,7 @@
 pkgbase=python-parsedatetime
 pkgname=('python-parsedatetime' 'python2-parsedatetime')
 pkgver=2.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Parse human-readable date/time strings."
 arch=('any')
 license=('Apache')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:22:52
  Author: felixonmars
Revision: 354606

archrelease: copy trunk to community-staging-any

Added:
  python-parsedatetime/repos/community-staging-any/
  python-parsedatetime/repos/community-staging-any/PKGBUILD
(from rev 354605, python-parsedatetime/trunk/PKGBUILD)

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

Copied: python-parsedatetime/repos/community-staging-any/PKGBUILD (from rev 
354605, python-parsedatetime/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:22:52 UTC (rev 354606)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Hugo Osvaldo Barrera 
+# Contributor: Daniel M. Capella 
+# Contributor: Hugo Osvaldo Barrera 
+# Contributor: Limao Luo 
+# Contributor: Jeremy Sands 
+
+pkgbase=python-parsedatetime
+pkgname=('python-parsedatetime' 'python2-parsedatetime')
+pkgver=2.4
+pkgrel=2
+pkgdesc="Parse human-readable date/time strings."
+arch=('any')
+license=('Apache')
+url='http://github.com/bear/parsedatetime'
+makedepends=('python-future' 'python2-future' 'python-setuptools' 
'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bear/parsedatetime/archive/v$pkgver.tar.gz";)
+sha512sums=('0fd8bfa3411476a20d8874b44036bc162735fb7865d39ca98b0a608daec39daac47100314279dbf66229ec333821492744f7505315d955f58216fdaa75cbf046')
+
+prepare() {
+  cp -a parsedatetime-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/parsedatetime-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/parsedatetime-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/parsedatetime-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/parsedatetime-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-parsedatetime() {
+  depends=('python-future')
+
+  cd parsedatetime-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-parsedatetime() {
+  depends=('python2-future')
+
+  cd parsedatetime-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:23:25
  Author: felixonmars
Revision: 354607

upgpkg: haskell-cryptohash-conduit 0.1.1-190

rebuild with network 2.7.0.2

Modified:
  haskell-cryptohash-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:22:52 UTC (rev 354606)
+++ PKGBUILD2018-07-08 07:23:25 UTC (rev 354607)
@@ -5,7 +5,7 @@
 _hkgname=cryptohash-conduit
 pkgname=haskell-cryptohash-conduit
 pkgver=0.1.1
-pkgrel=189
+pkgrel=190
 pkgdesc="cryptohash conduit"
 url="https://github.com/vincenthz/hs-cryptohash-conduit";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:23:56
  Author: felixonmars
Revision: 354609

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cryptohash-conduit/repos/community-staging-x86_64/
  haskell-cryptohash-conduit/repos/community-staging-x86_64/PKGBUILD
(from rev 354607, haskell-cryptohash-conduit/trunk/PKGBUILD)

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

Copied: haskell-cryptohash-conduit/repos/community-staging-x86_64/PKGBUILD 
(from rev 354607, haskell-cryptohash-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:23:56 UTC (rev 354609)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cryptohash-conduit
+pkgname=haskell-cryptohash-conduit
+pkgver=0.1.1
+pkgrel=190
+pkgdesc="cryptohash conduit"
+url="https://github.com/vincenthz/hs-cryptohash-conduit";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-conduit" "haskell-conduit-extra" 
"haskell-cryptohash"
+ "haskell-resourcet")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('6382a05b35bae34b53fd1ad6d897c25ca149ed852360c8f775587efcd3c29e45ff854f96ddbc9b446e04a4dd5698b1f5e2af754345f7d5af8f587b73b57fdec0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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 python-requests-toolbelt/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:23:55
  Author: felixonmars
Revision: 354608

Python 3.7 rebuild

Modified:
  python-requests-toolbelt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:23:25 UTC (rev 354607)
+++ PKGBUILD2018-07-08 07:23:55 UTC (rev 354608)
@@ -5,7 +5,7 @@
 pkgbase=python-requests-toolbelt
 pkgname=('python-requests-toolbelt' 'python2-requests-toolbelt')
 pkgver=0.8.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A toolbelt of useful classes and functions to be used with 
python-requests."
 arch=('any')
 url="https://github.com/requests/toolbelt";


[arch-commits] Commit in python-requests-toolbelt/repos (2 files)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:24:25
  Author: felixonmars
Revision: 354610

archrelease: copy trunk to community-staging-any

Added:
  python-requests-toolbelt/repos/community-staging-any/
  python-requests-toolbelt/repos/community-staging-any/PKGBUILD
(from rev 354609, python-requests-toolbelt/trunk/PKGBUILD)

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

Copied: python-requests-toolbelt/repos/community-staging-any/PKGBUILD (from rev 
354609, python-requests-toolbelt/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:24:25 UTC (rev 354610)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: eolianoe 
+
+pkgbase=python-requests-toolbelt
+pkgname=('python-requests-toolbelt' 'python2-requests-toolbelt')
+pkgver=0.8.0
+pkgrel=3
+pkgdesc="A toolbelt of useful classes and functions to be used with 
python-requests."
+arch=('any')
+url="https://github.com/requests/toolbelt";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-pytest' 'python2-pytest' 'python-betamax' 
'python2-betamax'
+  'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz";)
+sha512sums=('55bf93d386442f5deb81eabd85812ffd49e98ff88c0bb96e15271efd84deb7c5d854a2cdc81c989a7d74870e8a218fc968d080052d9ca7cd9733a2378ea9c2f5')
+
+prepare() {
+  cp -a toolbelt-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/toolbelt-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/toolbelt-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/toolbelt-$pkgver
+  py.test
+
+  cd "$srcdir"/toolbelt-$pkgver-py2
+  py.test2
+}
+
+package_python-requests-toolbelt() {
+  depends=('python-requests')
+
+  cd toolbelt-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-requests-toolbelt() {
+  depends=('python2-requests')
+
+  cd toolbelt-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:24:42
  Author: felixonmars
Revision: 354611

upgpkg: haskell-cryptonite-conduit 0.2.2-84

rebuild with network 2.7.0.2

Modified:
  haskell-cryptonite-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:24:25 UTC (rev 354610)
+++ PKGBUILD2018-07-08 07:24:42 UTC (rev 354611)
@@ -4,7 +4,7 @@
 _hkgname=cryptonite-conduit
 pkgname=haskell-cryptonite-conduit
 pkgver=0.2.2
-pkgrel=83
+pkgrel=84
 pkgdesc="Conduit bridge for cryptonite"
 url="https://github.com/haskell-crypto/cryptonite-conduit";
 license=('custom:BSD3')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:25:16
  Author: felixonmars
Revision: 354612

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cryptonite-conduit/repos/community-staging-x86_64/
  haskell-cryptonite-conduit/repos/community-staging-x86_64/PKGBUILD
(from rev 354611, haskell-cryptonite-conduit/trunk/PKGBUILD)

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

Copied: haskell-cryptonite-conduit/repos/community-staging-x86_64/PKGBUILD 
(from rev 354611, haskell-cryptonite-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:25:16 UTC (rev 354612)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=cryptonite-conduit
+pkgname=haskell-cryptonite-conduit
+pkgver=0.2.2
+pkgrel=84
+pkgdesc="Conduit bridge for cryptonite"
+url="https://github.com/haskell-crypto/cryptonite-conduit";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-exceptions' 'haskell-memory' 'haskell-resourcet')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('5a313d1ff64992fc8f45ebf06f5f439aa5dfe745ce6f2bfc31b3ee06b489b0a145a9e6b5cf00fb557ddbebf1aa5c226dc0add9c591f62a06bd6f8776cf52dbdf')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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-hopenpgp/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:27:35
  Author: felixonmars
Revision: 354613

upgpkg: haskell-hopenpgp 2.7-38

rebuild with network 2.7.0.2

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:25:16 UTC (rev 354612)
+++ PKGBUILD2018-07-08 07:27:35 UTC (rev 354613)
@@ -4,7 +4,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.7
-pkgrel=37
+pkgrel=38
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/";
 license=('MIT')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:28:15
  Author: felixonmars
Revision: 354614

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
354613, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:28:15 UTC (rev 354614)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.7
+pkgrel=38
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-base64-bytestring' 
'haskell-bifunctors'
+ 'haskell-bzlib' 'haskell-binary-conduit' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-crypto-cipher-types' 'haskell-errors' 
'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri' 
'haskell-newtype'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-wl-pprint-extras' 'haskell-zlib')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6432f54853af4562b5c61f0d97fe40dd4a5872f07e07c470ae41e951b11cbe00f491ce469c5d0caa897ba046c44e65fcaff0e4c9db825126b35f7aa15fc6bb40')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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
+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}/${_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 mongodb-tools/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:30:11
  Author: felixonmars
Revision: 354615

upgpkg: mongodb-tools 4.0.0-1

Modified:
  mongodb-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:28:15 UTC (rev 354614)
+++ PKGBUILD2018-07-08 07:30:11 UTC (rev 354615)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=mongodb-tools
-pkgver=3.6.3
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="The MongoDB tools provide import, export, and diagnostic 
capabilities."
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('go-pie')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz";
 "disable-sslv3.patch")
-sha512sums=('7dba782c84a728aa9ceb28cbd9934f58b615dccfb238a9dbd63b18661ba4e74ddba21f93d9f12e6d80d293ebe42a82d31fa64448aacdba75bd07d964a5f631fc'
+sha512sums=('d67c4aca9b41266109adc39bb1a642206738fda393e1f9f05570c02a00a02e29ec71c71e67ad232c72d66543ae7e7bfe07fbcf26958d48ed0e631da452c1904d'
 
'674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5')
 
 prepare() {


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:30:33
  Author: felixonmars
Revision: 354616

archrelease: copy trunk to community-testing-x86_64

Added:
  mongodb-tools/repos/community-testing-x86_64/
  mongodb-tools/repos/community-testing-x86_64/PKGBUILD
(from rev 354615, mongodb-tools/trunk/PKGBUILD)
  mongodb-tools/repos/community-testing-x86_64/disable-sslv3.patch
(from rev 354615, mongodb-tools/trunk/disable-sslv3.patch)

-+
 PKGBUILD|   38 ++
 disable-sslv3.patch |   13 +
 2 files changed, 51 insertions(+)

Copied: mongodb-tools/repos/community-testing-x86_64/PKGBUILD (from rev 354615, 
mongodb-tools/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-07-08 07:30:33 UTC (rev 354616)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=mongodb-tools
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="The MongoDB tools provide import, export, and diagnostic 
capabilities."
+arch=('x86_64')
+url="https://github.com/mongodb/mongo-tools";
+license=('Apache')
+depends=('libsasl' 'libpcap' 'openssl-1.0')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz";
+"disable-sslv3.patch")
+sha512sums=('d67c4aca9b41266109adc39bb1a642206738fda393e1f9f05570c02a00a02e29ec71c71e67ad232c72d66543ae7e7bfe07fbcf26958d48ed0e631da452c1904d'
+
'674af43ebf9e73f1eae4f81c160cec4c4ea657b7e38f97929a0845d8981f9af904eca79e2144e6150774799a58074cee5b67e4385d082630c471e438981d9ea5')
+
+prepare() {
+  cd mongo-tools-r$pkgver
+  . ./set_gopath.sh
+  mkdir bin
+
+  export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
+}
+
+build() {
+  cd mongo-tools-r$pkgver
+  for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore 
mongodump mongotop mongoreplay; do
+go build -o bin/$i -tags "ssl sasl" $i/main/$i.go
+  done
+}
+
+package() {
+  cd mongo-tools-r$pkgver
+  for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore 
mongodump mongotop mongoreplay; do
+install -Dm755 bin/$i "$pkgdir/usr/bin/$i"
+  done
+}

Copied: mongodb-tools/repos/community-testing-x86_64/disable-sslv3.patch (from 
rev 354615, mongodb-tools/trunk/disable-sslv3.patch)
===
--- community-testing-x86_64/disable-sslv3.patch
(rev 0)
+++ community-testing-x86_64/disable-sslv3.patch2018-07-08 07:30:33 UTC 
(rev 354616)
@@ -0,0 +1,13 @@
+diff --git i/vendor/src/github.com/spacemonkeygo/openssl/ctx.go 
w/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
+index 22d6dd1..25b0eec 100644
+--- i/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
 w/vendor/src/github.com/spacemonkeygo/openssl/ctx.go
+@@ -141,7 +141,7 @@ func NewCtxWithVersion(version SSLVersion) (*Ctx, error) {
+   var method *C.SSL_METHOD
+   switch version {
+   case SSLv3:
+-  method = C.SSLv3_method()
++  method = C.SSLv23_method()
+   case TLSv1:
+   method = C.TLSv1_method()
+   case TLSv1_1:


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:32:39
  Author: felixonmars
Revision: 354617

upgpkg: haskell-http-client 0.5.13.1-5

rebuild with network 2.7.0.2

Modified:
  haskell-http-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:30:33 UTC (rev 354616)
+++ PKGBUILD2018-07-08 07:32:39 UTC (rev 354617)
@@ -5,7 +5,7 @@
 _hkgname=http-client
 pkgname=haskell-http-client
 pkgver=0.5.13.1
-pkgrel=4
+pkgrel=5
 pkgdesc="An HTTP client engine"
 url="https://github.com/snoyberg/http-client";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:33:02
  Author: felixonmars
Revision: 354618

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-client/repos/community-staging-x86_64/PKGBUILD (from rev 
354617, haskell-http-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:33:02 UTC (rev 354618)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-client
+pkgname=haskell-http-client
+pkgver=0.5.13.1
+pkgrel=5
+pkgdesc="An HTTP client engine"
+url="https://github.com/snoyberg/http-client";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-cookie'
+ 'haskell-exceptions' 'haskell-http-types' 'haskell-memory' 
'haskell-mime-types'
+ 'haskell-network' 'haskell-network-uri' 'haskell-random' 
'haskell-streaming-commons'
+)
+makedepends=('ghc' 'haskell-async' 'haskell-hspec' 'haskell-monad-control' 
'haskell-zlib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('135c32dbc1613308c55347f4d8a0ba577d6ca8b522eb3aac7b96df92577a3c101464e89fc77c348b18cf040104176036adee7710bd9b4ce31aa0e5012e0a')
+
+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 
-fnetwork-uri
+runhaskell Setup build
+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
+}
+
+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-authenticate-oauth/repos (2 files)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:34:19
  Author: felixonmars
Revision: 354620

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-authenticate-oauth/repos/community-staging-x86_64/
  haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD
(from rev 354619, haskell-authenticate-oauth/trunk/PKGBUILD)

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

Copied: haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD 
(from rev 354619, haskell-authenticate-oauth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:34:19 UTC (rev 354620)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=authenticate-oauth
+pkgname=haskell-authenticate-oauth
+pkgver=1.6
+pkgrel=23
+pkgdesc="Library to authenticate with OAuth for Haskell web applications."
+url="https://github.com/yesodweb/authenticate";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http-client' 'haskell-crypto-pubkey-types' 
'haskell-rsa'
+ 'haskell-data-default' 'haskell-base64-bytestring' 'haskell-sha' 
'haskell-random'
+ 'haskell-http-types' 'haskell-blaze-builder' 
'haskell-transformers-compat')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1cd4db3874b05a8856dcd07ee1e63fdafb92e8997b9caf81436d882f36c1bda3fce4b32cdbfa28ffa5f5374566ffa981537f527d8814131e7d61f2d1b831')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*2.3/<3/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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-authenticate-oauth/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:33:56
  Author: felixonmars
Revision: 354619

upgpkg: haskell-authenticate-oauth 1.6-23

rebuild with network 2.7.0.2

Modified:
  haskell-authenticate-oauth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:33:02 UTC (rev 354618)
+++ PKGBUILD2018-07-08 07:33:56 UTC (rev 354619)
@@ -4,7 +4,7 @@
 _hkgname=authenticate-oauth
 pkgname=haskell-authenticate-oauth
 pkgver=1.6
-pkgrel=22
+pkgrel=23
 pkgdesc="Library to authenticate with OAuth for Haskell web applications."
 url="https://github.com/yesodweb/authenticate";
 license=('custom:BSD3')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:35:33
  Author: felixonmars
Revision: 354622

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-monad-logger/repos/community-staging-x86_64/
  haskell-monad-logger/repos/community-staging-x86_64/PKGBUILD
(from rev 354621, haskell-monad-logger/trunk/PKGBUILD)

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

Copied: haskell-monad-logger/repos/community-staging-x86_64/PKGBUILD (from rev 
354621, haskell-monad-logger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:35:33 UTC (rev 354622)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=monad-logger
+pkgname=haskell-monad-logger
+pkgver=0.3.28.5
+pkgrel=36
+pkgdesc="A class of monads which can log messages."
+url="https://github.com/kazu-yamamoto/logger";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-exceptions'
+ 'haskell-fast-logger' 'haskell-lifted-base' 'haskell-monad-control' 
'haskell-monad-loops'
+ 'haskell-resourcet' 'haskell-stm-chans'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-unliftio-core')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('4f56d9ba95a0681c691f5189806f0f8150f35b4346323fb182ef3af7b5892def15f533da21f49b8f722252dcfc4757db2e4a8c3605eacd16a95d924b1a731595')
+
+build() {
+cd "${srcdir}/${_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 \
+-ftemplate_haskell
+runhaskell Setup build
+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}/${_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-monad-logger/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:35:10
  Author: felixonmars
Revision: 354621

upgpkg: haskell-monad-logger 0.3.28.5-36

rebuild with network 2.7.0.2

Modified:
  haskell-monad-logger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:34:19 UTC (rev 354620)
+++ PKGBUILD2018-07-08 07:35:10 UTC (rev 354621)
@@ -5,7 +5,7 @@
 _hkgname=monad-logger
 pkgname=haskell-monad-logger
 pkgver=0.3.28.5
-pkgrel=35
+pkgrel=36
 pkgdesc="A class of monads which can log messages."
 url="https://github.com/kazu-yamamoto/logger";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:37:36
  Author: felixonmars
Revision: 354623

upgpkg: haskell-persistent 2.8.2-39

rebuild with network 2.7.0.2

Modified:
  haskell-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:35:33 UTC (rev 354622)
+++ PKGBUILD2018-07-08 07:37:36 UTC (rev 354623)
@@ -5,7 +5,7 @@
 _hkgname=persistent
 pkgname=haskell-persistent
 pkgver=2.8.2
-pkgrel=38
+pkgrel=39
 pkgdesc="Type-safe, multi-backend data serialization"
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:38:36
  Author: felixonmars
Revision: 328051

Python 3.7 rebuild

Modified:
  lensfun/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-07 20:21:17 UTC (rev 328050)
+++ PKGBUILD2018-07-08 07:38:36 UTC (rev 328051)
@@ -3,7 +3,7 @@
 
 pkgname=lensfun
 pkgver=0.3.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Database of photographic lenses and a library that allows advanced 
access to the database"
 arch=(x86_64)
 url="https://lensfun.sourceforge.net";


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:38:07
  Author: felixonmars
Revision: 354624

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent/repos/community-staging-x86_64/PKGBUILD (from rev 
354623, haskell-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:38:07 UTC (rev 354624)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent
+pkgname=haskell-persistent
+pkgver=2.8.2
+pkgrel=39
+pkgdesc="Type-safe, multi-backend data serialization"
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-conduit' 
'haskell-fast-logger'
+ 'haskell-http-api-data' 'haskell-monad-logger' 'haskell-old-locale' 
'haskell-path-pieces'
+ 'haskell-resource-pool' 'haskell-resourcet' 'haskell-scientific' 
'haskell-silently'
+ 'haskell-src-meta' 'haskell-tagged' 'haskell-unordered-containers' 
'haskell-unliftio-core'
+ 'haskell-vector' 'haskell-void')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('238203dafac06ed43a599d0be1eb4c7931a41734facb02174dd02d3789ad3afe39f42bdb7907aeedd42caf2d63e483066b5f43315826563d2a67fd8c8e7f4936')
+
+build() {
+cd "${srcdir}/${_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-nooverlap
+runhaskell Setup build
+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
+}
+
+package() {
+cd "${srcdir}/${_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 lensfun/repos (3 files)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:39:09
  Author: felixonmars
Revision: 328052

archrelease: copy trunk to staging-x86_64

Added:
  lensfun/repos/staging-x86_64/
  lensfun/repos/staging-x86_64/PKGBUILD
(from rev 328051, lensfun/trunk/PKGBUILD)
  lensfun/repos/staging-x86_64/lensfun-fix-python-install-dir.patch
(from rev 328051, lensfun/trunk/lensfun-fix-python-install-dir.patch)

--+
 PKGBUILD |   38 +
 lensfun-fix-python-install-dir.patch |   27 +++
 2 files changed, 65 insertions(+)

Copied: lensfun/repos/staging-x86_64/PKGBUILD (from rev 328051, 
lensfun/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-07-08 07:39:09 UTC (rev 328052)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Tobias Powalowski 
+
+pkgname=lensfun
+pkgver=0.3.2
+pkgrel=7
+pkgdesc="Database of photographic lenses and a library that allows advanced 
access to the database"
+arch=(x86_64)
+url="https://lensfun.sourceforge.net";
+license=('LGPL3')
+depends=('glib2')
+makedepends=('python' 'libpng' 'doxygen' 'cmake')
+optdepends=('python: for lensfun-update-data and lensfun-add-adapter')
+source=("https://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.gz";
+lensfun-fix-python-install-dir.patch)
+sha256sums=('ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331'
+'11e0f9ce2d5c5fef4373ce6adbb19dbcbcd8a10efa02447db9c92b03798d5654')
+
+prepare() {
+cd $pkgname-$pkgver
+  # Fix python module install path
+patch -p1 -i ../lensfun-fix-python-install-dir.patch
+}
+
+build() {
+cd ${pkgname}-${pkgver}
+cmake . \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_BUILD_TYPE=Release \
+  -DCMAKE_INSTALL_LIBDIR=lib \
+  -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks"
+make all
+}
+
+package() {
+cd ${pkgname}-${pkgver}
+make DESTDIR="$pkgdir" install
+}

Copied: lensfun/repos/staging-x86_64/lensfun-fix-python-install-dir.patch (from 
rev 328051, lensfun/trunk/lensfun-fix-python-install-dir.patch)
===
--- staging-x86_64/lensfun-fix-python-install-dir.patch 
(rev 0)
+++ staging-x86_64/lensfun-fix-python-install-dir.patch 2018-07-08 07:39:09 UTC 
(rev 328052)
@@ -0,0 +1,27 @@
+From 3b46bb2a4eada7f29e016d586229782f6d1c35bb Mon Sep 17 00:00:00 2001
+From: Pino Toscano 
+Date: Sat, 9 Jan 2016 11:47:37 +0100
+Subject: [PATCH] cmake: fix DESTDIR installation for python
+
+When running `setup.py install`, respect the value of the DESTDIR
+environment variable so staged installs (used by distros, for example)
+work.
+---
+ apps/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
+index 70c77fd..2f6f8f1 100644
+--- a/apps/CMakeLists.txt
 b/apps/CMakeLists.txt
+@@ -42,5 +42,5 @@ IF(PYTHON)
+ IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX)
+   SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+ ENDIF()
+-INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install 
--prefix=${SETUP_PY_INSTALL_PREFIX})")
++INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install 
--prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
+ ENDIF(PYTHON)
+-- 
+2.6.4
+
+


[arch-commits] Commit in postgrey/trunk (PKGBUILD postgrey.tmpfiles)

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 07:40:33
  Author: eschwartz
Revision: 354626

upgpkg: postgrey 1.37-3

systemd 239 introduces runtime warnings for tmpfiles.d snippets trying to
create files in /var/run. See
https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069

Modified:
  postgrey/trunk/PKGBUILD
  postgrey/trunk/postgrey.tmpfiles

---+
 PKGBUILD  |4 ++--
 postgrey.tmpfiles |2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:40:03 UTC (rev 354625)
+++ PKGBUILD2018-07-08 07:40:33 UTC (rev 354626)
@@ -4,7 +4,7 @@
 
 pkgname=postgrey
 pkgver=1.37
-pkgrel=2
+pkgrel=3
 pkgdesc="a Postfix policy server implementing greylisting"
 arch=('any')
 url="https://postgrey.schweikert.ch/";
@@ -25,7 +25,7 @@
 sha256sums=('ff4d9543f8f5cb0356c30ffe22255d942ac6128da734c376de211c02630fa5f7'
 'd36c73b6a8ba96ba3eaa3e56098afda828ee56ec12000d3392ab450246d38e09'
 '859380a05ca55e1d07e1e38f16244adfa8cde9987414df9785206bddc84137cc'
-'85c9155ba3bcc55544a362cca7f6ae385f702cc26ea7d3fdafce38d30c297dfb'
+'089a597a8faa92c9f910c00398f0ecb77b6573307fdb7c1989138d9af7c95ed0'
 'e5f80653c02681b54f28051104f1ce45991b014a86965610611b1b4921284bd7')
 
 prepare() {

Modified: postgrey.tmpfiles
===
--- postgrey.tmpfiles   2018-07-08 07:40:03 UTC (rev 354625)
+++ postgrey.tmpfiles   2018-07-08 07:40:33 UTC (rev 354626)
@@ -1,2 +1,2 @@
 d /var/spool/postfix/postgrey/ 0755 postgrey postgrey -
-d /var/run/postgrey0755 postgrey postgrey -
+d /run/postgrey0755 postgrey postgrey -


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:40:03
  Author: felixonmars
Revision: 354625

upgpkg: haskell-esqueleto 2.5.3.20180402-37

rebuild with network 2.7.0.2

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:38:07 UTC (rev 354624)
+++ PKGBUILD2018-07-08 07:40:03 UTC (rev 354625)
@@ -6,7 +6,7 @@
 pkgname=haskell-esqueleto
 pkgver=2.5.3.20180402
 _commit=b81e0d951e510ebffca03c5a58658ad884cc6fbd
-pkgrel=36
+pkgrel=37
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:40:35
  Author: felixonmars
Revision: 354627

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 354625, haskell-esqueleto/trunk/PKGBUILD)

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
354625, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:40:35 UTC (rev 354627)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=2.5.3.20180402
+_commit=b81e0d951e510ebffca03c5a58658ad884cc6fbd
+pkgrel=37
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-persistent' 'haskell-resourcet' 'haskell-tagged' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("$pkgname-$_commit.tar.gz::https://github.com/bitemyapp/esqueleto/archive/$_commit.tar.gz";)
+sha512sums=('27e1c7c3dc8598a4b57fa9c30f9121d4858653e64ad1a92fc3d82c487374fe4cc48246924890812198d58c25a3d3f9110a35c0ef27d9040ea15e4559c1c3355f')
+
+prepare() {
+mv $_hkgname-{$_commit,$pkgver}
+}
+
+build() {
+cd "${srcdir}/${_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 \
+-f-mysql -f-postgresql
+runhaskell Setup build
+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}/${_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 postgrey/repos/community-any (10 files)

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 07:41:18
  Author: eschwartz
Revision: 354628

archrelease: copy trunk to community-any

Added:
  postgrey/repos/community-any/PKGBUILD
(from rev 354627, postgrey/trunk/PKGBUILD)
  postgrey/repos/community-any/postgrey.service
(from rev 354627, postgrey/trunk/postgrey.service)
  postgrey/repos/community-any/postgrey.sysusers
(from rev 354627, postgrey/trunk/postgrey.sysusers)
  postgrey/repos/community-any/postgrey.tmpfiles
(from rev 354627, postgrey/trunk/postgrey.tmpfiles)
  postgrey/repos/community-any/untaint.patch
(from rev 354627, postgrey/trunk/untaint.patch)
Deleted:
  postgrey/repos/community-any/PKGBUILD
  postgrey/repos/community-any/postgrey.service
  postgrey/repos/community-any/postgrey.sysusers
  postgrey/repos/community-any/postgrey.tmpfiles
  postgrey/repos/community-any/untaint.patch

---+
 PKGBUILD  |   92 ++--
 postgrey.service  |   36 ++--
 postgrey.sysusers |2 -
 postgrey.tmpfiles |4 +-
 untaint.patch |   26 +++---
 5 files changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-08 07:40:35 UTC (rev 354627)
+++ PKGBUILD2018-07-08 07:41:18 UTC (rev 354628)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Contributor: Sean Timothy Noonan 
-
-pkgname=postgrey
-pkgver=1.37
-pkgrel=2
-pkgdesc="a Postfix policy server implementing greylisting"
-arch=('any')
-url="https://postgrey.schweikert.ch/";
-options=(emptydirs)
-license=("GPL")
-depends=('perl-net-server' 'perl>=5.6.0' 'perl-berkeleydb' 'perl-io-multiplex'
-'db>=4.1' 'perl-netaddr-ip')
-optdepends=('postfix: the recommended MTA for use with postgrey'
-   'exim: an alternative MTA'
-   'perl-net-dns: for postgreyreport tool')
-backup=(etc/postfix/postgrey_whitelist_recipients
-   etc/postfix/postgrey_whitelist_clients)
-source=($url/pub/$pkgname-$pkgver.tar.gz
-   postgrey.service
-   postgrey.sysusers
-   postgrey.tmpfiles
-   untaint.patch)
-sha256sums=('ff4d9543f8f5cb0356c30ffe22255d942ac6128da734c376de211c02630fa5f7'
-'d36c73b6a8ba96ba3eaa3e56098afda828ee56ec12000d3392ab450246d38e09'
-'859380a05ca55e1d07e1e38f16244adfa8cde9987414df9785206bddc84137cc'
-'85c9155ba3bcc55544a362cca7f6ae385f702cc26ea7d3fdafce38d30c297dfb'
-'e5f80653c02681b54f28051104f1ce45991b014a86965610611b1b4921284bd7')
-
-prepare() {
-  cd "$srcdir"/$pkgname-$pkgver
-  patch -p0 <"$srcdir"/untaint.patch
-}
-
-package() {
-  cd "$srcdir"/$pkgname-$pkgver
-  install -D -m 0755 postgrey "$pkgdir"/usr/bin/postgrey
-  install -D -m 0755 contrib/postgreyreport "$pkgdir"/usr/bin/postgreyreport
-  install -D -m 0644 postgrey_whitelist_recipients 
"$pkgdir"/etc/postfix/postgrey_whitelist_recipients
-  install -D -m 0644 postgrey_whitelist_clients 
"$pkgdir"/etc/postfix/postgrey_whitelist_clients
-
-  install -Dm0644 "$srcdir"/$pkgname.service 
"$pkgdir"/usr/lib/systemd/system/$pkgname.service
-  install -Dm0644 "$srcdir"/$pkgname.sysusers 
"$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
-  install -Dm0644 "$srcdir"/$pkgname.tmpfiles 
"$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
-}

Copied: postgrey/repos/community-any/PKGBUILD (from rev 354627, 
postgrey/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-08 07:41:18 UTC (rev 354628)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Contributor: Sean Timothy Noonan 
+
+pkgname=postgrey
+pkgver=1.37
+pkgrel=3
+pkgdesc="a Postfix policy server implementing greylisting"
+arch=('any')
+url="https://postgrey.schweikert.ch/";
+options=(emptydirs)
+license=("GPL")
+depends=('perl-net-server' 'perl>=5.6.0' 'perl-berkeleydb' 'perl-io-multiplex'
+'db>=4.1' 'perl-netaddr-ip')
+optdepends=('postfix: the recommended MTA for use with postgrey'
+   'exim: an alternative MTA'
+   'perl-net-dns: for postgreyreport tool')
+backup=(etc/postfix/postgrey_whitelist_recipients
+   etc/postfix/postgrey_whitelist_clients)
+source=($url/pub/$pkgname-$pkgver.tar.gz
+   postgrey.service
+   postgrey.sysusers
+   postgrey.tmpfiles
+   untaint.patch)
+sha256sums=('ff4d9543f8f5cb0356c30ffe22255d942ac6128da734c376de211c02630fa5f7'
+'d36c73b6a8ba96ba3eaa3e56098afda828ee56ec12000d3392ab450246d38e09'
+'859380a05ca55e1d07e1e38f16244adfa8cde9987414df9785206bddc84137cc'
+'089a597a8faa92c9f910c00398f0ecb77b6573307fdb7c1989138d9af7c95ed0'
+'e5f80653c02681b54f28051104f1ce45991b014a86965610611b1b4921284bd7')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  patch -p0 <"$srcdir"/untaint.patch
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  install -D -m 0755 postgrey "$pkgdir"/usr/bin/postgrey
+  install -D 

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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:42:46
  Author: felixonmars
Revision: 354630

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-template/repos/community-staging-x86_64/PKGBUILD 
(from rev 354629, haskell-persistent-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:42:46 UTC (rev 354630)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-template
+pkgname=haskell-persistent-template
+pkgver=2.5.4
+pkgrel=64
+pkgdesc="Type-safe, non-relational, multi-backend persistence"
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-aeson-compat" 
"haskell-http-api-data"
+ "haskell-monad-control" "haskell-monad-logger" "haskell-path-pieces" 
"haskell-persistent"
+ "haskell-tagged" "haskell-unordered-containers")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1235fc32718fbde495f1c8e202ee59b56ebc68fd7fbc79e65ddbe5db542f36f4d13257a6281d074d18e66831582cc4a9f32010c43c4421480fc857c0eee4b3e2')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.3/<2/' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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-template/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:42:21
  Author: felixonmars
Revision: 354629

upgpkg: haskell-persistent-template 2.5.4-64

rebuild with network 2.7.0.2

Modified:
  haskell-persistent-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:41:18 UTC (rev 354628)
+++ PKGBUILD2018-07-08 07:42:21 UTC (rev 354629)
@@ -5,7 +5,7 @@
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
 pkgver=2.5.4
-pkgrel=63
+pkgrel=64
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:44:51
  Author: felixonmars
Revision: 354632

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 354631, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:44:51 UTC (rev 354632)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.8.1.2
+pkgrel=40
+pkgdesc="Backend for the persistent library using sqlite3"
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-persistent' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-unliftio-core' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-persistent-template' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('06797905f8695949730a4ea705e1ebb8c09ad3a81d14b320e2e7c1d14dad484e4c2f213696341ce54293992fab15def013dba2965a5ca385736ae4c5ac316e82')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-build-sanity-exe -fsystemlib -fuse-pkgconfig
+runhaskell Setup build
+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
+}
+
+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-sqlite/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:44:24
  Author: felixonmars
Revision: 354631

upgpkg: haskell-persistent-sqlite 2.8.1.2-40

rebuild with network 2.7.0.2

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:42:46 UTC (rev 354630)
+++ PKGBUILD2018-07-08 07:44:24 UTC (rev 354631)
@@ -5,7 +5,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.8.1.2
-pkgrel=39
+pkgrel=40
 pkgdesc="Backend for the persistent library using sqlite3"
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:45:54
  Author: felixonmars
Revision: 354633

upgpkg: haskell-project-template 0.2.0.1-60

rebuild with network 2.7.0.2

Modified:
  haskell-project-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:44:51 UTC (rev 354632)
+++ PKGBUILD2018-07-08 07:45:54 UTC (rev 354633)
@@ -5,7 +5,7 @@
 _hkgname=project-template
 pkgname=haskell-project-template
 pkgver=0.2.0.1
-pkgrel=59
+pkgrel=60
 pkgdesc="Specify Haskell project templates and generate files"
 url="https://github.com/fpco/haskell-ide";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:46:21
  Author: felixonmars
Revision: 354634

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 354633, haskell-project-template/trunk/PKGBUILD)

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

Copied: haskell-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 354633, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:46:21 UTC (rev 354634)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0.1
+pkgrel=60
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-resourcet')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc5824086ba8dfaff4ff64c5115d37ea5e496d7692f1120b11c2a878e522119d362c7d119ccf7b9cc064c58f9ce6382b5e24a69cdac5ac5d683c4d616e2c66ea')
+
+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
+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
+}
+
+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-simple-sendfile/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:47:29
  Author: felixonmars
Revision: 354635

upgpkg: haskell-simple-sendfile 0.2.27-56

rebuild with network 2.7.0.2

Modified:
  haskell-simple-sendfile/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:46:21 UTC (rev 354634)
+++ PKGBUILD2018-07-08 07:47:29 UTC (rev 354635)
@@ -5,7 +5,7 @@
 _hkgname=simple-sendfile
 pkgname=haskell-simple-sendfile
 pkgver=0.2.27
-pkgrel=55
+pkgrel=56
 pkgdesc="Cross platform library for the sendfile system call"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:47:53
  Author: felixonmars
Revision: 354636

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-simple-sendfile/repos/community-staging-x86_64/PKGBUILD (from 
rev 354635, haskell-simple-sendfile/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:47:53 UTC (rev 354636)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=simple-sendfile
+pkgname=haskell-simple-sendfile
+pkgver=0.2.27
+pkgrel=56
+pkgdesc="Cross platform library for the sendfile system call"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network')
+makedepends=('ghc' 'haskell-hunit' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-resourcet'
+ 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('a4cc0385619d5047cb56c449d474796a549265100738a1da7f5106e2c67cacf3c6ca0b14d8ca982ed7e1a16263227c6be521735e75293bf04dddbbdbf578cc08')
+
+build() {
+cd "${srcdir}/${_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 \
+-fallow-bsd
+runhaskell Setup build
+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
+}
+
+package() {
+cd "${srcdir}/${_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-store/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:50:32
  Author: felixonmars
Revision: 354637

upgpkg: haskell-store 0.4.3.2-119

rebuild with network 2.7.0.2

Modified:
  haskell-store/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:47:53 UTC (rev 354636)
+++ PKGBUILD2018-07-08 07:50:32 UTC (rev 354637)
@@ -4,7 +4,7 @@
 _hkgname=store
 pkgname=haskell-store
 pkgver=0.4.3.2
-pkgrel=118
+pkgrel=119
 pkgdesc="Fast binary serialization"
 url="https://github.com/fpco/store";
 license=('custom:BSD3')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:50:57
  Author: felixonmars
Revision: 354638

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-store/repos/community-staging-x86_64/PKGBUILD (from rev 354637, 
haskell-store/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:50:57 UTC (rev 354638)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.4.3.2
+pkgrel=119
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-conduit' 'haskell-contravariant' 'haskell-cryptohash' 
'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck' 
'haskell-streaming-commons'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0faa8b71cd2a078e989fb0da428d0f78cf2a7c85fb11584949e47e8a20f5f0f919d7ad82de1f6ce1e1ac33098179adc382dedb04c75db64f2654eeab60fdbb9d')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 \
+-f-comparison-bench -f-small-bench
+runhaskell Setup build
+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}/${_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 xl2tpd/repos/community-x86_64 (12 files)

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 07:52:49
  Author: eschwartz
Revision: 354640

archrelease: copy trunk to community-x86_64

Added:
  xl2tpd/repos/community-x86_64/PKGBUILD
(from rev 354639, xl2tpd/trunk/PKGBUILD)
  xl2tpd/repos/community-x86_64/options.l2tpd
(from rev 354639, xl2tpd/trunk/options.l2tpd)
  xl2tpd/repos/community-x86_64/xl2tpd.conf.client-example
(from rev 354639, xl2tpd/trunk/xl2tpd.conf.client-example)
  xl2tpd/repos/community-x86_64/xl2tpd.conf.server-example
(from rev 354639, xl2tpd/trunk/xl2tpd.conf.server-example)
  xl2tpd/repos/community-x86_64/xl2tpd.service
(from rev 354639, xl2tpd/trunk/xl2tpd.service)
  xl2tpd/repos/community-x86_64/xl2tpd.tmpfiles
(from rev 354639, xl2tpd/trunk/xl2tpd.tmpfiles)
Deleted:
  xl2tpd/repos/community-x86_64/PKGBUILD
  xl2tpd/repos/community-x86_64/options.l2tpd
  xl2tpd/repos/community-x86_64/xl2tpd.conf.client-example
  xl2tpd/repos/community-x86_64/xl2tpd.conf.server-example
  xl2tpd/repos/community-x86_64/xl2tpd.service
  xl2tpd/repos/community-x86_64/xl2tpd.tmpfiles

+
 PKGBUILD   |   90 +--
 options.l2tpd  |   48 +++---
 xl2tpd.conf.client-example |   38 +-
 xl2tpd.conf.server-example |   42 ++--
 xl2tpd.service |   30 +++---
 xl2tpd.tmpfiles|2 
 6 files changed, 125 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-08 07:52:15 UTC (rev 354639)
+++ PKGBUILD2018-07-08 07:52:49 UTC (rev 354640)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Contributor: Hengfu 
-
-pkgname=xl2tpd
-pkgver=1.3.12
-pkgrel=1
-pkgdesc="an open source implementation of the L2TP maintained by Xelerance 
Corporation"
-arch=('x86_64')
-url="http://www.xelerance.com/services/software/xl2tpd/";
-license=('GPL')
-depends=('ppp')
-options=(emptydirs zipman docs)
-backup=(etc/ppp/options.l2tpd)
-source=($pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$pkgver.tar.gz
-   xl2tpd.conf.client-example
-   xl2tpd.conf.server-example
-   options.l2tpd
-   xl2tpd.service
-   xl2tpd.tmpfiles)
-sha256sums=('6f0ac50a76500d5cc56a67451b61e5f561b3309357176b39deabb1705e8745fd'
-'444e84a01d9c379eb5cf25584451ccd06aad48e611c557eb572ba4f220af3ad7'
-'24d5588b0c8194b7763579be75a58c88e72296145d8d223e1549454e18665ba4'
-'8295d3f7522407beafb89d92b53c29ab80d7a5b18a0d3182dd65a18d88a05590'
-'ff34172f95ae66865a0919c6fb7279c9b80114a59b5b2cf790667f35e83f86e5'
-'9ef286082ebc3caa87cd75504e41068c3bb4e47ace3b87d7c48f176a54bb902f')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr SBINDIR=/usr/bin
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr DESTDIR="$pkgdir"  
SBINDIR="$pkgdir"/usr/bin install
-
-  install -D -m0644 "$srcdir"/xl2tpd.conf.client-example 
"$pkgdir"/etc/xl2tpd/xl2tpd.conf.client-example
-  install -D -m0644 "$srcdir"/xl2tpd.conf.server-example 
"$pkgdir"/etc/xl2tpd/xl2tpd.conf.server-example
-  install -D -m0644 "$srcdir"/options.l2tpd "$pkgdir"/etc/ppp/options.l2tpd
-
-  install -Dm0644 "$srcdir"/xl2tpd.service 
"$pkgdir"/usr/lib/systemd/system/xl2tpd.service
-  install -Dm0644 "$srcdir"/xl2tpd.tmpfiles 
"$pkgdir"/usr/lib/tmpfiles.d/xl2tpd.conf
-}

Copied: xl2tpd/repos/community-x86_64/PKGBUILD (from rev 354639, 
xl2tpd/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-08 07:52:49 UTC (rev 354640)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Contributor: Hengfu 
+
+pkgname=xl2tpd
+pkgver=1.3.12
+pkgrel=2
+pkgdesc="an open source implementation of the L2TP maintained by Xelerance 
Corporation"
+arch=('x86_64')
+url="https://www.xelerance.com/services/software/xl2tpd/";
+license=('GPL')
+depends=('ppp')
+options=(emptydirs zipman docs)
+backup=(etc/ppp/options.l2tpd)
+source=($pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$pkgver.tar.gz
+   xl2tpd.conf.client-example
+   xl2tpd.conf.server-example
+   options.l2tpd
+   xl2tpd.service
+   xl2tpd.tmpfiles)
+sha256sums=('6f0ac50a76500d5cc56a67451b61e5f561b3309357176b39deabb1705e8745fd'
+'444e84a01d9c379eb5cf25584451ccd06aad48e611c557eb572ba4f220af3ad7'
+'24d5588b0c8194b7763579be75a58c88e72296145d8d223e1549454e18665ba4'
+'8295d3f7522407beafb89d92b53c29ab80d7a5b18a0d3182dd65a18d88a05590'
+'ff34172f95ae66865a0919c6fb7279c9b80114a59b5b2cf790667f35e83f86e5'
+'70ac11e6fe097ad271d878565930aa85dfa75d5cd62d6c35dd580b2ee34e660b')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make KERNELSRC=/usr/src/linux-`uname -r` PRE

[arch-commits] Commit in xl2tpd/trunk (PKGBUILD xl2tpd.tmpfiles)

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 07:52:15
  Author: eschwartz
Revision: 354639

upgpkg: xl2tpd 1.3.12-2

systemd 239 introduces runtime warnings for tmpfiles.d snippets trying to
create files in /var/run. See
https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069

Modified:
  xl2tpd/trunk/PKGBUILD
  xl2tpd/trunk/xl2tpd.tmpfiles

-+
 PKGBUILD|6 +++---
 xl2tpd.tmpfiles |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:50:57 UTC (rev 354638)
+++ PKGBUILD2018-07-08 07:52:15 UTC (rev 354639)
@@ -4,10 +4,10 @@
 
 pkgname=xl2tpd
 pkgver=1.3.12
-pkgrel=1
+pkgrel=2
 pkgdesc="an open source implementation of the L2TP maintained by Xelerance 
Corporation"
 arch=('x86_64')
-url="http://www.xelerance.com/services/software/xl2tpd/";
+url="https://www.xelerance.com/services/software/xl2tpd/";
 license=('GPL')
 depends=('ppp')
 options=(emptydirs zipman docs)
@@ -23,7 +23,7 @@
 '24d5588b0c8194b7763579be75a58c88e72296145d8d223e1549454e18665ba4'
 '8295d3f7522407beafb89d92b53c29ab80d7a5b18a0d3182dd65a18d88a05590'
 'ff34172f95ae66865a0919c6fb7279c9b80114a59b5b2cf790667f35e83f86e5'
-'9ef286082ebc3caa87cd75504e41068c3bb4e47ace3b87d7c48f176a54bb902f')
+'70ac11e6fe097ad271d878565930aa85dfa75d5cd62d6c35dd580b2ee34e660b')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"

Modified: xl2tpd.tmpfiles
===
--- xl2tpd.tmpfiles 2018-07-08 07:50:57 UTC (rev 354638)
+++ xl2tpd.tmpfiles 2018-07-08 07:52:15 UTC (rev 354639)
@@ -1 +1 @@
-d /var/run/xl2tpd 0755 root root -
+d /run/xl2tpd 0755 root root -


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:54:12
  Author: felixonmars
Revision: 354641

upgpkg: haskell-swagger2 2.2.2-33

rebuild with network 2.7.0.2

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:52:49 UTC (rev 354640)
+++ PKGBUILD2018-07-08 07:54:12 UTC (rev 354641)
@@ -5,7 +5,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.2.2
-pkgrel=32
+pkgrel=33
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:54:46
  Author: felixonmars
Revision: 354642

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
354641, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:54:46 UTC (rev 354642)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.2.2
+pkgrel=33
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-hashable'
+ 'haskell-generics-sop' 'haskell-http-media' 
'haskell-insert-ordered-containers'
+ 'haskell-lens' 'haskell-network' 'haskell-scientific' 
'haskell-transformers-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-uuid-types')
+makedepends=('ghc' 'haskell-aeson-qq' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-hspec-discover' 
'haskell-doctest'
+ 'haskell-cabal-doctest' 'haskell-glob')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b34f9bbe3d4bf1deb315ade8da9d99a91d2c32e47f8a4573b5dd73fabc4094267ae2b7ae1241773d2ce267bcaf9a13ee16a29e9d01c9fa9b30500663432e4bb5')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*2.7/<3/' $_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
+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
+}
+
+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-servant-swagger/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:56:01
  Author: felixonmars
Revision: 354643

upgpkg: haskell-servant-swagger 1.1.5-35

rebuild with network 2.7.0.2

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:54:46 UTC (rev 354642)
+++ PKGBUILD2018-07-08 07:56:01 UTC (rev 354643)
@@ -5,7 +5,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.5
-pkgrel=34
+pkgrel=35
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:56:28
  Author: felixonmars
Revision: 354644

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 354643, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:56:28 UTC (rev 354644)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.5
+pkgrel=35
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-http-media' 
'haskell-insert-ordered-containers'
+ 'haskell-lens' 'haskell-servant' 'haskell-singleton-bool' 
'haskell-swagger2'
+ 'haskell-unordered-containers' 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'haskell-aeson-qq' 'haskell-cabal-doctest' 'haskell-doctest'
+ 'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('f71bfa4b19bfa8ce747e97d537b592875a8e96b449e37b397cb42a698c0d252eadf5430781d443dcaf57774239fa1304a6b51709873f22289752ad23ec73d726')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*1.3/<2/' -e 's/<.*4.11/<5/' -e 's/<.*0.14/<1/' 
$_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
+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 || warning "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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:56:57
  Author: felixonmars
Revision: 354645

Python 3.7 rebuild

Modified:
  python-requests-hawk/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:56:28 UTC (rev 354644)
+++ PKGBUILD2018-07-08 07:56:57 UTC (rev 354645)
@@ -5,7 +5,7 @@
 pkgbase=python-requests-hawk
 pkgname=('python2-requests-hawk' 'python-requests-hawk')
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Hawk authentication strategy for the requests python library"
 arch=('any')
 url="https://github.com/mozilla-services/requests-hawk";


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:57:37
  Author: felixonmars
Revision: 354647

upgpkg: haskell-tls 1.4.1-29

rebuild with network 2.7.0.2

Modified:
  haskell-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:57:23 UTC (rev 354646)
+++ PKGBUILD2018-07-08 07:57:37 UTC (rev 354647)
@@ -5,7 +5,7 @@
 _hkgname=tls
 pkgname=haskell-tls
 pkgver=1.4.1
-pkgrel=28
+pkgrel=29
 pkgdesc="TLS/SSL protocol native implementation (Server and Client)"
 url="https://github.com/vincenthz/hs-tls";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:58:06
  Author: felixonmars
Revision: 354648

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tls/repos/community-staging-x86_64/PKGBUILD (from rev 354647, 
haskell-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:58:06 UTC (rev 354648)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tls
+pkgname=haskell-tls
+pkgver=1.4.1
+pkgrel=29
+pkgdesc="TLS/SSL protocol native implementation (Server and Client)"
+url="https://github.com/vincenthz/hs-tls";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-asn1-encoding" "haskell-asn1-types" 
"haskell-async" "haskell-cereal"
+ "haskell-cryptonite" "haskell-data-default-class" "haskell-memory"
+ "haskell-network" "haskell-x509" "haskell-x509-store" 
"haskell-x509-validation")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('a72435af9d3188fb19d6367089bc598ec17e845eccfbeb3457da89c3a3eb3f47b6041b4d2be6bff63e0c40e110b1eb8b176380e5acb82641869df4dfb871d9fd')
+
+build() {
+cd "${srcdir}/${_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 \
+-f-hans -fnetwork -fcompat
+runhaskell Setup build
+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}/${_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 python-requests-hawk/repos (2 files)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:57:23
  Author: felixonmars
Revision: 354646

archrelease: copy trunk to community-staging-any

Added:
  python-requests-hawk/repos/community-staging-any/
  python-requests-hawk/repos/community-staging-any/PKGBUILD
(from rev 354645, python-requests-hawk/trunk/PKGBUILD)

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

Copied: python-requests-hawk/repos/community-staging-any/PKGBUILD (from rev 
354645, python-requests-hawk/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 07:57:23 UTC (rev 354646)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Balló György 
+
+_pkgbase=requests-hawk
+pkgbase=python-requests-hawk
+pkgname=('python2-requests-hawk' 'python-requests-hawk')
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Hawk authentication strategy for the requests python library"
+arch=('any')
+url="https://github.com/mozilla-services/requests-hawk";
+license=('Apache')
+depends=('python-mohawk' 'python-requests' 'python2-mohawk' 'python2-requests')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/mozilla-services/$_pkgbase/archive/$pkgver.tar.gz";)
+sha256sums=('6d1be6fab72659952069048081b26e0d536f3d2960640452943cd347a1b2e117')
+
+prepare() {
+  cp -a $_pkgbase-$pkgver{,-py2}
+}
+
+build() {
+  # Building Python2
+  cd $_pkgbase-$pkgver-py2
+  python2 setup.py build
+
+  # Building Python3
+  cd ../$_pkgbase-$pkgver
+  python3 setup.py build
+}
+
+package_python2-requests-hawk() {
+  depends=('python2-mohawk' 'python2-requests')
+
+  cd $_pkgbase-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python-requests-hawk() {
+  depends=('python-mohawk' 'python-requests')
+
+  cd $_pkgbase-$pkgver 
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:58:53
  Author: felixonmars
Revision: 354649

Python 3.7 rebuild

Modified:
  python-ldap/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:58:06 UTC (rev 354648)
+++ PKGBUILD2018-07-08 07:58:53 UTC (rev 354649)
@@ -4,7 +4,7 @@
 pkgbase=python-ldap
 pkgname=(python-ldap python2-ldap)
 pkgver=3.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="LDAP client API for Python"
 url="http://python-ldap.readthedocs.io/";
 arch=('x86_64')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:59:22
  Author: felixonmars
Revision: 354651

archrelease: copy trunk to community-staging-x86_64

Added:
  python-ldap/repos/community-staging-x86_64/
  python-ldap/repos/community-staging-x86_64/PKGBUILD
(from rev 354650, python-ldap/trunk/PKGBUILD)

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

Copied: python-ldap/repos/community-staging-x86_64/PKGBUILD (from rev 354650, 
python-ldap/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:59:22 UTC (rev 354651)
@@ -0,0 +1,54 @@
+# Maintainer: Morten Linderud 
+# Contributor: Maikel Wever 
+
+pkgbase=python-ldap
+pkgname=(python-ldap python2-ldap)
+pkgver=3.1.0
+pkgrel=2
+pkgdesc="LDAP client API for Python"
+url="http://python-ldap.readthedocs.io/";
+arch=('x86_64')
+license=('MIT')
+makedepends=('python' 'python-setuptools'
+ 'python2' 'python2-setuptools'
+'python-coverage' 'python2-coverage')
+checkdepends=('openldap' 'python-pyasn1' 'python-pyasn1-modules'
+ 'python2-pyasn1' 'python2-pyasn1-modules')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-ldap/python-ldap/archive/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('11a20a0bdb4661d5463e7d288ef1f46a2345d1ecdfd433a21aef7ff7e8263b41')
+
+prepare() {
+  cp -a ${pkgbase}-${pkgbase}-$pkgver{,-py2}
+}
+
+build(){
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
+  python2 setup.py build
+}
+
+check(){
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
+  python -m coverage run --parallel setup.py test
+
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
+  python2 -m coverage run --parallel setup.py test
+}
+
+package_python2-ldap() {
+  depends=('python2' 'python2-pyasn1' 'python2-pyasn1-modules' 'libldap')
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+}
+
+package_python-ldap() {
+  depends=('python' 'python-pyasn1' 'python-pyasn1-modules' 'libldap')
+  cd "$pkgbase-$pkgbase-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:59:13
  Author: felixonmars
Revision: 354650

upgpkg: haskell-connection 0.2.8-84

rebuild with network 2.7.0.2

Modified:
  haskell-connection/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:58:53 UTC (rev 354649)
+++ PKGBUILD2018-07-08 07:59:13 UTC (rev 354650)
@@ -5,7 +5,7 @@
 _hkgname=connection
 pkgname=haskell-connection
 pkgver=0.2.8
-pkgrel=83
+pkgrel=84
 pkgdesc="Simple and easy network connections API"
 url="https://github.com/vincenthz/hs-connection";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 07:59:44
  Author: felixonmars
Revision: 354652

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-connection/repos/community-staging-x86_64/PKGBUILD (from rev 
354651, haskell-connection/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 07:59:44 UTC (rev 354652)
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 143584 2015-10-10 10:28:35Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=connection
+pkgname=haskell-connection
+pkgver=0.2.8
+pkgrel=84
+pkgdesc="Simple and easy network connections API"
+url="https://github.com/vincenthz/hs-connection";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-byteable" "haskell-data-default-class" 
"haskell-network" "haskell-socks"
+ "haskell-tls" "haskell-x509" "haskell-x509-store" 
"haskell-x509-system"
+ "haskell-x509-validation")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('59202159d8d9233d1786c75470892da1a577d7a82a8bb8f5c75d52ade7be227c5619fd6fdebf7f60d4e240b31e3b791df266c97787e3fe7814da380147f9c9c5')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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-http-client-tls/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:00:30
  Author: felixonmars
Revision: 354653

upgpkg: haskell-http-client-tls 0.3.5.3-58

rebuild with network 2.7.0.2

Modified:
  haskell-http-client-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:59:44 UTC (rev 354652)
+++ PKGBUILD2018-07-08 08:00:30 UTC (rev 354653)
@@ -5,7 +5,7 @@
 _hkgname=http-client-tls
 pkgname=haskell-http-client-tls
 pkgver=0.3.5.3
-pkgrel=57
+pkgrel=58
 pkgdesc="http-client backend using the connection package and tls library"
 url="https://github.com/snoyberg/http-client";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:00:56
  Author: felixonmars
Revision: 354654

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-client-tls/repos/community-staging-x86_64/
  haskell-http-client-tls/repos/community-staging-x86_64/PKGBUILD
(from rev 354653, haskell-http-client-tls/trunk/PKGBUILD)

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

Copied: haskell-http-client-tls/repos/community-staging-x86_64/PKGBUILD (from 
rev 354653, haskell-http-client-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:00:56 UTC (rev 354654)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-client-tls
+pkgname=haskell-http-client-tls
+pkgver=0.3.5.3
+pkgrel=58
+pkgdesc="http-client backend using the connection package and tls library"
+url="https://github.com/snoyberg/http-client";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-case-insensitive" "haskell-connection" 
"haskell-cryptonite"
+ "haskell-data-default-class" "haskell-exceptions" 
"haskell-http-client"
+ "haskell-http-types" "haskell-memory" "haskell-network" 
"haskell-network-uri"
+ "haskell-tls")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('df4fff9fbd6736a52d54bf04669107b24e3d31c22b0f7882310204ca4ef1a895e9f79cea289423341aa575759a2667ff9ca86b889567605ad3daec266a1bbb14')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:02:55
  Author: felixonmars
Revision: 354656

upgpkg: haskell-hpack 0.28.2-43

rebuild with network 2.7.0.2

Modified:
  haskell-hpack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:02:03 UTC (rev 354655)
+++ PKGBUILD2018-07-08 08:02:55 UTC (rev 354656)
@@ -6,7 +6,7 @@
 pkgname=haskell-hpack
 _hkgname=hpack
 pkgver=0.28.2
-pkgrel=42
+pkgrel=43
 pkgdesc="An alternative format for Haskell packages"
 url="https://github.com/sol/hpack#readme";
 license=("MIT")


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

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 08:02:03
  Author: eschwartz
Revision: 354655

Use HTTPS sources and quote ${srcdir}/${pkgdir}

Modified:
  playonlinux/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:00:56 UTC (rev 354654)
+++ PKGBUILD2018-07-08 08:02:03 UTC (rev 354655)
@@ -6,12 +6,12 @@
 pkgver=4.2.12
 pkgrel=2
 pkgdesc="GUI for managing Windows programs under linux"
-url="http://www.playonlinux.com/";
+url="https://www.playonlinux.com/";
 license=('GPL')
 depends=('wine' 'imagemagick' 'xterm' 'wxpython' 'cabextract' 'unzip' 
'mesa-demos' 'gnupg'
  'icoutils' 'xdg-user-dirs' 'libxmu' 'netcat' 'wget' 'p7zip')
 arch=('x86_64')
-source=(http://www.playonlinux.com/script_files/PlayOnLinux/${pkgver/.0/}/PlayOnLinux_${pkgver/.0/}.tar.gz
+source=(https://www.playonlinux.com/script_files/PlayOnLinux/${pkgver/.0/}/PlayOnLinux_${pkgver/.0/}.tar.gz
 PlayOnLinuxUrlHandler.desktop)
 options=(!strip)
 sha256sums=('38cbdc85cca83b72ed0e54ee3a768f939fefe29d3670fc5d76b0303b5bda680e'
@@ -25,13 +25,13 @@
   make PREFIX=/usr
   make DESTDIR="${pkgdir}" install
 
-  install -d ${pkgdir}/usr/share/playonlinux/lang
-  mv -v ${pkgdir}/usr/share/locale ${pkgdir}/usr/share/playonlinux/lang/locale
-  chmod 755 ${pkgdir}/usr/share/playonlinux/lang
+  install -d "${pkgdir}"/usr/share/playonlinux/lang
+  mv -v "${pkgdir}"/usr/share/locale 
"${pkgdir}"/usr/share/playonlinux/lang/locale
+  chmod 755 "${pkgdir}"/usr/share/playonlinux/lang
 
-  install -m755 ${srcdir}/PlayOnLinuxUrlHandler.desktop 
${pkgdir}/usr/share/applications/PlayOnLinuxUrlHandler.desktop
-  install -m755 playonlinux-url_handler 
${pkgdir}/usr/bin/playonlinux-url_handler
-  sed -i "s/python /python2 /g" 
$pkgdir/usr/{bin,share/playonlinux}/playonlinux-url_handler
+  install -m755 "${srcdir}"/PlayOnLinuxUrlHandler.desktop 
"${pkgdir}"/usr/share/applications/PlayOnLinuxUrlHandler.desktop
+  install -m755 playonlinux-url_handler 
"${pkgdir}"/usr/bin/playonlinux-url_handler
+  sed -i "s/python /python2 /g" 
"$pkgdir"/usr/{bin,share/playonlinux}/playonlinux-url_handler
 
 #  sed -i "s/ %F//g" $pkgdir/usr/share/applications/playonlinux.desktop
 }


[arch-commits] Commit in dovecot/trunk (PKGBUILD dovecot.tmpfilesd)

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 08:03:09
  Author: eschwartz
Revision: 354657

upgpkg: dovecot 2.3.2-2

systemd 239 introduces runtime warnings for tmpfiles.d snippets trying to
create files in /var/run. See
https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069

Modified:
  dovecot/trunk/PKGBUILD
  dovecot/trunk/dovecot.tmpfilesd

---+
 PKGBUILD  |6 +++---
 dovecot.tmpfilesd |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:02:55 UTC (rev 354656)
+++ PKGBUILD2018-07-08 08:03:09 UTC (rev 354657)
@@ -11,10 +11,10 @@
 
 pkgname=dovecot
 pkgver=2.3.2
-pkgrel=1
+pkgrel=2
 
 pkgdesc="An IMAP and POP3 server written with security primarily in mind"
-url="http://dovecot.org/";
+url="https://dovecot.org/";
 arch=('x86_64')
 license=("LGPL")
 
@@ -35,7 +35,7 @@
 sha256sums=('6e48f0fa60768427f03035b0a3e93d1ae29b972bb2bd9ca998ccc6a0f6dae393'
 'SKIP'
 'c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf'
-'bb7620be7fc0217d77fcac940441c2abbd9efc6ef660153288d09ba412e27e06'
+'0b0625b1e66ca6a95d506fd00d6a68e70620c8ea28606e2528953ffb1806b08e'
 'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858')
 
 validpgpkeys=(

Modified: dovecot.tmpfilesd
===
--- dovecot.tmpfilesd   2018-07-08 08:02:55 UTC (rev 354656)
+++ dovecot.tmpfilesd   2018-07-08 08:03:09 UTC (rev 354657)
@@ -1 +1 @@
-d /var/run/dovecot 0755 root dovecot -
+d /run/dovecot 0755 root dovecot -


[arch-commits] Commit in dovecot/repos/community-x86_64 (8 files)

2018-07-08 Thread Eli Schwartz via arch-commits
Date: Sunday, July 8, 2018 @ 08:03:35
  Author: eschwartz
Revision: 354659

archrelease: copy trunk to community-x86_64

Added:
  dovecot/repos/community-x86_64/PKGBUILD
(from rev 354657, dovecot/trunk/PKGBUILD)
  dovecot/repos/community-x86_64/dovecot.ld.so.conf
(from rev 354658, dovecot/trunk/dovecot.ld.so.conf)
  dovecot/repos/community-x86_64/dovecot.sysusersd
(from rev 354658, dovecot/trunk/dovecot.sysusersd)
  dovecot/repos/community-x86_64/dovecot.tmpfilesd
(from rev 354658, dovecot/trunk/dovecot.tmpfilesd)
Deleted:
  dovecot/repos/community-x86_64/PKGBUILD
  dovecot/repos/community-x86_64/dovecot.ld.so.conf
  dovecot/repos/community-x86_64/dovecot.sysusersd
  dovecot/repos/community-x86_64/dovecot.tmpfilesd

+
 PKGBUILD   |  232 +--
 dovecot.ld.so.conf |2 
 dovecot.sysusersd  |4 
 dovecot.tmpfilesd  |2 
 4 files changed, 120 insertions(+), 120 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-08 08:03:20 UTC (rev 354658)
+++ PKGBUILD2018-07-08 08:03:35 UTC (rev 354659)
@@ -1,116 +0,0 @@
-# $Id$
-# Maintainer: Johannes Löthberg 
-# Maintainer: Thore Bödecker 
-# Contributor:  Bartłomiej Piotrowski 
-# Contributor: Andreas Radke 
-# Contributor: Paul Mattal 
-# Contributor: Federico Quagliata (quaqo) 
-# Contributor: GARETTE Emmanuel 
-
-# --->>> remember to rebuild/bump pigeonhole in one step <<<---
-
-pkgname=dovecot
-pkgver=2.3.2
-pkgrel=1
-
-pkgdesc="An IMAP and POP3 server written with security primarily in mind"
-url="http://dovecot.org/";
-arch=('x86_64')
-license=("LGPL")
-
-depends=('krb5' 'openssl' 'sqlite' 'libmariadbclient' 'libsodium'
- 'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam')
-makedepends=('libcap' 'libldap' 'clucene' 'libsodium')
-optdepends=('libldap: ldap plugin'
-'xz: imap zlib  plugin'
-'clucene: alternative FTS indexer')
-
-provides=('imap-server' 'pop3-server')
-
-source=("https://dovecot.org/releases/2.3/${pkgname}-${pkgver}.tar.gz"{,.sig}
-'dovecot.sysusersd'
-'dovecot.tmpfilesd'
-'dovecot.ld.so.conf')
-
-sha256sums=('6e48f0fa60768427f03035b0a3e93d1ae29b972bb2bd9ca998ccc6a0f6dae393'
-'SKIP'
-'c5e3a8ffe23e5deb4f7893d9877d972347c2ee45c4ebf713de85c537e47cfcaf'
-'bb7620be7fc0217d77fcac940441c2abbd9efc6ef660153288d09ba412e27e06'
-'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858')
-
-validpgpkeys=(
-  'E643F0BDFDCD04D9FFCB6279C948525140558AC9' # Timo Sirainen 
-  '2BE74AAB3EE754DFB9C80D3318A348AEED409DA1' # Dovecot Community Edition
-)
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch ${filename##*/}"
-  patch -p1 -N -l -i "$srcdir/${filename##*/}"
-fi
-  done
-
-  # fix path in helper script
-  sed -i 
's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG-
 /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr --sysconfdir=/etc \
---sbindir=/usr/bin \
---localstatedir=/var \
---libexecdir=/usr/lib \
---with-moduledir=/usr/lib/dovecot/modules \
---with-systemdsystemunitdir=/usr/lib/systemd/system \
---disable-static \
---with-nss \
---with-pam \
---with-mysql \
---with-pgsql \
---with-sqlite \
---with-ssl=openssl \
---with-ssldir=/etc/ssl \
---with-gssapi \
---with-ldap=plugin \
---with-zlib \
---with-bzlib \
---with-lzma \
---with-lz4 \
---with-libcap \
---with-solr \
---with-lucene \
---with-sodium \
---with-docs
-
-  make
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check
-}
-
-package() {
-  # system user/group dovenull - 74
-  # system user/group dovecot  - 76
-
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir" install
-  install -Dm644 "${srcdir}/dovecot.sysusersd" \
-"${pkgdir}/usr/lib/sysusers.d/dovecot.conf"
-  install -Dm644 "${srcdir}/dovecot.tmpfilesd" \
-"${pkgdir}/usr/lib/tmpfiles.d/dovecot.conf"
-  install -d -m755 "${pkgdir}/etc/dovecot/conf.d"
-  rm -f "${pkgdir}/etc/dovecot/README"
-
-  # install mkcert helper script
-  install -m 755  doc/mkcert.sh "${pkgdir}/usr/lib/dovecot/mkcert.sh"
-
-  # add dovecot libdir
-  install -Dm644 "${srcdir}/dovecot.ld.so.conf" 
"${pkgdir}/etc/ld.so.conf.d/dovecot.conf"
-}

Copied: dovecot/repos/community-x86_64/PKGBUILD (from rev 354657, 
dovecot/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-08 08:03:35 UTC (rev 354659)
@@ -0,0 +1,116 @@
+# $Id$
+# Maintainer: Johannes Löthberg 
+# Maintainer: Thore Bödecker 
+# Contributor:  Bartł

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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:03:20
  Author: felixonmars
Revision: 354658

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 354657, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:03:20 UTC (rev 354658)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.28.2
+pkgrel=43
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-bifunctors' 'haskell-cryptonite' 
'haskell-glob'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-interpolate'
+ 'haskell-mockery' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz";)
+sha512sums=('230ac451e4677a8b6501e461307ec87b346df1bc7a8b1411ae5cb691ee2f47387d5dd1ea48a506bf486753bfcbd6683f4c2be87b4bd50fc0cfaf06c3d65e1973')
+
+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
+  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
+}
+
+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-pipes-http/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:04:13
  Author: felixonmars
Revision: 354660

upgpkg: haskell-pipes-http 1.0.5-146

rebuild with network 2.7.0.2

Modified:
  haskell-pipes-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:03:35 UTC (rev 354659)
+++ PKGBUILD2018-07-08 08:04:13 UTC (rev 354660)
@@ -5,7 +5,7 @@
 _hkgname=pipes-http
 pkgname=haskell-pipes-http
 pkgver=1.0.5
-pkgrel=145
+pkgrel=146
 pkgdesc="HTTP client with pipes interface"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:04:49
  Author: felixonmars
Revision: 354661

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-pipes-http/repos/community-staging-x86_64/
  haskell-pipes-http/repos/community-staging-x86_64/PKGBUILD
(from rev 354660, haskell-pipes-http/trunk/PKGBUILD)

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

Copied: haskell-pipes-http/repos/community-staging-x86_64/PKGBUILD (from rev 
354660, haskell-pipes-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:04:49 UTC (rev 354661)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pipes-http
+pkgname=haskell-pipes-http
+pkgver=1.0.5
+pkgrel=146
+pkgdesc="HTTP client with pipes interface"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-http-client" "haskell-http-client-tls" 
"haskell-pipes")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('48d2b7236d4f04688bdc083452346974031c3123003c9c0ffe32e00b70c2e1ef294e66f713e590a72fa9005d8bf9aa4daed22bf85fc0505ecd534662e4e4ed70')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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 python-neovim/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:05:25
  Author: felixonmars
Revision: 354662

Python 3.7 rebuild

Modified:
  python-neovim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:04:49 UTC (rev 354661)
+++ PKGBUILD2018-07-08 08:05:25 UTC (rev 354662)
@@ -4,7 +4,7 @@
 pkgname=('python-neovim' 'python2-neovim')
 _realname=python-client
 pkgver=0.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Python client for Neovim'
 url='https://github.com/neovim/python-client'
 arch=('any')


[arch-commits] Commit in haskell-tls-session-manager/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:05:38
  Author: felixonmars
Revision: 354663

upgpkg: haskell-tls-session-manager 0.0.0.2-56

rebuild with network 2.7.0.2

Modified:
  haskell-tls-session-manager/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:05:25 UTC (rev 354662)
+++ PKGBUILD2018-07-08 08:05:38 UTC (rev 354663)
@@ -5,7 +5,7 @@
 _hkgname=tls-session-manager
 pkgname=haskell-tls-session-manager
 pkgver=0.0.0.2
-pkgrel=55
+pkgrel=56
 pkgdesc="In-memory TLS session manager"
 url="https://hackage.haskell.org/package/tls-session-manager";
 license=("custom:BSD3")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:05:46
  Author: felixonmars
Revision: 354664

Python 3.7 rebuild

Modified:
  tlsh/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:05:38 UTC (rev 354663)
+++ PKGBUILD2018-07-08 08:05:46 UTC (rev 354664)
@@ -3,7 +3,7 @@
 pkgbase=tlsh
 pkgname=('tlsh' 'python-tlsh' 'python2-tlsh')
 pkgver=3.4.5
-pkgrel=3
+pkgrel=4
 pkgdesc='Fuzzy matching library that generates a hash value which can be used 
for similarity comparisons'
 url='https://github.com/trendmicro/tlsh'
 arch=('x86_64')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:05:56
  Author: felixonmars
Revision: 354665

archrelease: copy trunk to community-staging-any

Added:
  python-neovim/repos/community-staging-any/
  python-neovim/repos/community-staging-any/PKGBUILD
(from rev 354663, python-neovim/trunk/PKGBUILD)

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

Copied: python-neovim/repos/community-staging-any/PKGBUILD (from rev 354663, 
python-neovim/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 08:05:56 UTC (rev 354665)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase 
+
+pkgbase=python-neovim
+pkgname=('python-neovim' 'python2-neovim')
+_realname=python-client
+pkgver=0.2.6
+pkgrel=2
+pkgdesc='Python client for Neovim'
+url='https://github.com/neovim/python-client'
+arch=('any')
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/neovim/python-client/archive/${pkgver}.tar.gz";)
+sha256sums=('629c420b6e61b013f339bc6af409c74f9a135210f14e35967c1ceabe2b169c92')
+
+prepare() {
+  sed -i "s/msgpack-python/msgpack/g" ${_realname}-${pkgver}/setup.py
+  cp -a ${_realname}-${pkgver}{,-python2}
+}
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  python setup.py build
+
+  cd "${srcdir}/${_realname}-${pkgver}-python2"
+  python2 setup.py build
+}
+
+package_python-neovim() {
+  pkgdesc='Python 3 client for neovim'
+  depends=('neovim' 'python' 'python-msgpack' 'python-greenlet')
+
+  cd "${srcdir}/${_realname}-${pkgver}"
+  python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" 
--skip-build
+}
+
+package_python2-neovim() {
+  pkgdesc='Python 2 client for neovim'
+  depends=('neovim' 'python2' 'python2-msgpack' 'python2-greenlet' 
'python2-trollius')
+
+  cd "${srcdir}/${_realname}-${pkgver}-python2"
+  python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" 
--skip-build
+}
+
+# vim:set sw=2 sts=2 et:


[arch-commits] Commit in haskell-tls-session-manager/repos (2 files)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:06:12
  Author: felixonmars
Revision: 354666

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tls-session-manager/repos/community-staging-x86_64/
  haskell-tls-session-manager/repos/community-staging-x86_64/PKGBUILD
(from rev 354665, haskell-tls-session-manager/trunk/PKGBUILD)

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

Copied: haskell-tls-session-manager/repos/community-staging-x86_64/PKGBUILD 
(from rev 354665, haskell-tls-session-manager/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:06:12 UTC (rev 354666)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tls-session-manager
+pkgname=haskell-tls-session-manager
+pkgver=0.0.0.2
+pkgrel=56
+pkgdesc="In-memory TLS session manager"
+url="https://hackage.haskell.org/package/tls-session-manager";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-auto-update" "haskell-clock" "haskell-psqueues" 
"haskell-tls")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('5c46de84f2398852faf9749673e2d61543908cd0a51194d43facad4feae2d6590d1559318a1123c5964b25a8e9bf7e06dd7cc54a345d0eb613b3ca3a1399')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:06:59
  Author: felixonmars
Revision: 354668

upgpkg: haskell-wai 3.2.1.2-24

rebuild with network 2.7.0.2

Modified:
  haskell-wai/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:06:21 UTC (rev 354667)
+++ PKGBUILD2018-07-08 08:06:59 UTC (rev 354668)
@@ -5,7 +5,7 @@
 _hkgname=wai
 pkgname=haskell-wai
 pkgver=3.2.1.2
-pkgrel=23
+pkgrel=24
 pkgdesc="Web Application Interface."
 url="https://github.com/yesodweb/wai";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:06:21
  Author: felixonmars
Revision: 354667

archrelease: copy trunk to community-staging-x86_64

Added:
  tlsh/repos/community-staging-x86_64/
  tlsh/repos/community-staging-x86_64/PKGBUILD
(from rev 354665, tlsh/trunk/PKGBUILD)
  tlsh/repos/community-staging-x86_64/dont-use-rpath.patch
(from rev 354665, tlsh/trunk/dont-use-rpath.patch)
  tlsh/repos/community-staging-x86_64/install-libraries.patch
(from rev 354665, tlsh/trunk/install-libraries.patch)

-+
 PKGBUILD|   80 ++
 dont-use-rpath.patch|   46 ++
 install-libraries.patch |   23 +
 3 files changed, 149 insertions(+)

Copied: tlsh/repos/community-staging-x86_64/PKGBUILD (from rev 354665, 
tlsh/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:06:21 UTC (rev 354667)
@@ -0,0 +1,80 @@
+# Maintainer: Levente Polyak 
+
+pkgbase=tlsh
+pkgname=('tlsh' 'python-tlsh' 'python2-tlsh')
+pkgver=3.4.5
+pkgrel=4
+pkgdesc='Fuzzy matching library that generates a hash value which can be used 
for similarity comparisons'
+url='https://github.com/trendmicro/tlsh'
+arch=('x86_64')
+license=('Apache')
+makedepends=('cmake' 'python' 'python2' 'gcc-libs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/trendmicro/${pkgname}/archive/v${pkgver}.tar.gz
+dont-use-rpath.patch
+install-libraries.patch)
+sha512sums=('039f9fb9fb467a9b22f85a621c46069bac1745da039657840e1ff1a53901392fcf29d3c953b0f47d831d022a5e2594925c726d4ff921614418a3bb023a4ebbdc'
+
'6b7d32c24151c6513918875011339990bdf4638a4f03c166b5144efe10a4bb5bf1da0401951f78a75f7e197c81a03b4ae540e22cd3ce9f2f2c99f0436780d510'
+
'448dc550df26c756b8fef7b774d193336d63f7fa2f01683308ddfd042edbe60677adad23c95e27b3d98ce7d6c734110cf218335bbc8bd0ce57dccf3eaa63a065')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  patch -p1 < "${srcdir}/install-libraries.patch"
+  patch -p1 < "${srcdir}/dont-use-rpath.patch"
+  cp -ra py_ext{,-py2}
+  cp Testing/python_test.sh Testing/python2_test.sh
+  sed 's|py_ext|py_ext-py2|g' -i Testing/python2_test.sh
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  mkdir -p build
+  (cd build
+cmake .. \
+  -DCMAKE_BUILD_TYPE=RELEASE \
+  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib
+make
+  )
+  (cd bin
+cmake -E create_symlink tlsh_unittest tlsh
+  )
+  (cd py_ext
+python setup.py build
+  )
+  (cd py_ext-py2
+python2 setup.py build
+  )
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  (cd build
+make test
+  )
+  Testing/python_test.sh
+  Testing/python2_test.sh python2
+}
+
+package_tlsh() {
+  depends=('gcc-libs')
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 bin/tlsh_unittest "${pkgdir}/usr/bin/tlsh_unittest"
+  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  (cd build
+make DESTDIR="${pkgdir}" install
+  )
+}
+
+package_python-tlsh() {
+  depends=('python')
+  cd ${pkgbase}-${pkgver}/py_ext
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+}
+
+package_python2-tlsh() {
+  depends=('python2')
+  cd ${pkgbase}-${pkgver}/py_ext-py2
+  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
+}
+
+# vim: ts=2 sw=2 et:

Copied: tlsh/repos/community-staging-x86_64/dont-use-rpath.patch (from rev 
354665, tlsh/trunk/dont-use-rpath.patch)
===
--- community-staging-x86_64/dont-use-rpath.patch   
(rev 0)
+++ community-staging-x86_64/dont-use-rpath.patch   2018-07-08 08:06:21 UTC 
(rev 354667)
@@ -0,0 +1,46 @@
+From 7363d0ec5c84e873d86defc8a02533e6debcb4bd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= 
+Date: Wed, 27 Jan 2016 17:43:44 +0100
+Subject: [PATCH 1/2] do not set RPATH for tlsh_unittest
+
+Using RPATH leads to problem when linked libraries have their own
+dependencies. See: https://wiki.debian.org/RpathIssue
+---
+ test/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index bc92ffc..8b9181f 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -26,3 +26,4 @@ add_executable(tlsh_unittest tlsh_unittest.cpp)
+ target_link_libraries(tlsh_unittest tlsh_shared)
+ set_target_properties(tlsh_unittest PROPERTIES RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_SOURCE_DIR}/bin)
+ set_target_properties(tlsh_unittest PROPERTIES OUTPUT_NAME 
tlsh_unittest${BUILD_POSTFIX})
++set_target_properties(tlsh_unittest PROPERTIES SKIP_BUILD_RPATH TRUE)
+-- 
+2.7.0
+
+
+From 9f6f94efe8c900a522607e2cbf7f2d443511c3b5 Mon Sep 17 00:00:00 2001
+From: anthraxx 
+Date: Wed, 27 Jan 2016 19:01:12 +0100
+Subject: [PATCH 2/2] set LD_PRELOAD for running tests against local shared
+ library

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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:07:30
  Author: felixonmars
Revision: 354669

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai/repos/community-staging-x86_64/PKGBUILD (from rev 354668, 
haskell-wai/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:07:30 UTC (rev 354669)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai
+pkgname=haskell-wai
+pkgver=3.2.1.2
+pkgrel=24
+pkgdesc="Web Application Interface."
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-http-types" "haskell-network"
+ "haskell-vault")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('8aa2a7d75712fc36e65fa91e352fb261cac82069a0a8ef937cff54b77efe9aa0e995aaed4a412e69389fc9c92d8bacdc16986eea8d9a0a092e1eb1064e3d90d3')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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-conduit/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:08:49
  Author: felixonmars
Revision: 354671

upgpkg: haskell-wai-conduit 3.0.0.4-40

rebuild with network 2.7.0.2

Modified:
  haskell-wai-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:08:39 UTC (rev 354670)
+++ PKGBUILD2018-07-08 08:08:49 UTC (rev 354671)
@@ -5,7 +5,7 @@
 _hkgname=wai-conduit
 pkgname=haskell-wai-conduit
 pkgver=3.0.0.4
-pkgrel=39
+pkgrel=40
 pkgdesc="Conduit wrappers for WAI"
 url="https://github.com/yesodweb/wai";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:08:39
  Author: felixonmars
Revision: 354670

Python 3.7 rebuild

Modified:
  python-apptools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:07:30 UTC (rev 354669)
+++ PKGBUILD2018-07-08 08:08:39 UTC (rev 354670)
@@ -4,7 +4,7 @@
 pkgbase=python-apptools
 pkgname=('python2-apptools' 'python-apptools')
 pkgver=4.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Application tools"
 arch=('any')
 url="https://github.com/enthought/apptools";


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:09:03
  Author: felixonmars
Revision: 354672

archrelease: copy trunk to community-staging-any

Added:
  python-apptools/repos/community-staging-any/
  python-apptools/repos/community-staging-any/PKGBUILD
(from rev 354671, python-apptools/trunk/PKGBUILD)

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

Copied: python-apptools/repos/community-staging-any/PKGBUILD (from rev 354671, 
python-apptools/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 08:09:03 UTC (rev 354672)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz 
+
+pkgbase=python-apptools
+pkgname=('python2-apptools' 'python-apptools')
+pkgver=4.4.0
+pkgrel=3
+pkgdesc="Application tools"
+arch=('any')
+url="https://github.com/enthought/apptools";
+license=('BSD')
+makedepends=('python-setuptools' 'python-traits' 'python2-setuptools' 
'python2-traits')
+
+source=("apptools-$pkgver.tar.gz::https://github.com/enthought/apptools/archive/${pkgver}.tar.gz";)
+md5sums=('7ca7ec191d20533ff7106f3ca3f951c1')
+
+prepare() {
+  cd "$srcdir"
+  cp -a apptools-${pkgver} apptools-py2-${pkgver}
+
+  cd apptools-py2-${pkgver}
+  sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+$(find "${srcdir}" -name '*.py')
+}
+
+build() {
+  cd "$srcdir"/apptools-py2-$pkgver
+
+  msg "Building Python2"
+  python2 setup.py build
+
+  cd "$srcdir"/apptools-$pkgver
+
+  msg "Building Python3"
+  python setup.py build
+}
+
+package_python2-apptools() {
+  depends=('python2-traits')
+  optdepends=('python2-configobj: for apptools.preferences package'
+  'python2-traitsui: for user interface to apptools')
+  cd "$srcdir"/apptools-py2-$pkgver
+
+  python2 setup.py install --root="$pkgdir"/  --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-apptools() {
+  depends=('python-traits')
+  optdepends=('python-configobj: for apptools.preferences package'
+  'python-traitsui: for user interface to apptools')
+  cd "$srcdir"/apptools-$pkgver
+
+  python setup.py install --root="$pkgdir"/  --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:09:15
  Author: felixonmars
Revision: 354673

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-conduit/repos/community-staging-x86_64/
  haskell-wai-conduit/repos/community-staging-x86_64/PKGBUILD
(from rev 354672, haskell-wai-conduit/trunk/PKGBUILD)

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

Copied: haskell-wai-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
354672, haskell-wai-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:09:15 UTC (rev 354673)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-conduit
+pkgname=haskell-wai-conduit
+pkgver=3.0.0.4
+pkgrel=40
+pkgdesc="Conduit wrappers for WAI"
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-http-types' 'haskell-wai')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('49f1a2b53912a899b4cf427a72ab7c34994fd86810e5345233de34a611c71b970ff09e8fa33c93803950c2991a7c22c9b0b6d277fc9aca64bb599af60415ae70')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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-cors/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:09:55
  Author: felixonmars
Revision: 354674

upgpkg: haskell-wai-cors 0.2.6-48

rebuild with network 2.7.0.2

Modified:
  haskell-wai-cors/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:09:15 UTC (rev 354673)
+++ PKGBUILD2018-07-08 08:09:55 UTC (rev 354674)
@@ -5,7 +5,7 @@
 _hkgname=wai-cors
 pkgname=haskell-wai-cors
 pkgver=0.2.6
-pkgrel=47
+pkgrel=48
 pkgdesc="CORS for WAI"
 url="https://github.com/larskuhtz/wai-cors";
 license=("MIT")


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:10:10
  Author: felixonmars
Revision: 328053

Python 3.7 rebuild

Modified:
  liborcus/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 07:39:09 UTC (rev 328052)
+++ PKGBUILD2018-07-08 08:10:10 UTC (rev 328053)
@@ -4,7 +4,7 @@
 
 pkgname=liborcus
 pkgver=0.13.4
-pkgrel=2
+pkgrel=3
 pkgdesc="File import filter library for spreadsheet documents."
 arch=('x86_64')
 url="https://gitlab.com/orcus/orcus/blob/master/README.md";


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:10:40
  Author: felixonmars
Revision: 328054

archrelease: copy trunk to staging-x86_64

Added:
  liborcus/repos/staging-x86_64/
  liborcus/repos/staging-x86_64/PKGBUILD
(from rev 328053, liborcus/trunk/PKGBUILD)
  liborcus/repos/staging-x86_64/boost-1.67.patch
(from rev 328053, liborcus/trunk/boost-1.67.patch)

--+
 PKGBUILD |   38 ++
 boost-1.67.patch |   47 +++
 2 files changed, 85 insertions(+)

Copied: liborcus/repos/staging-x86_64/PKGBUILD (from rev 328053, 
liborcus/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-07-08 08:10:40 UTC (rev 328054)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: AndyRTR 
+# Contributor: Thomas Arnhold 
+
+pkgname=liborcus
+pkgver=0.13.4
+pkgrel=3
+pkgdesc="File import filter library for spreadsheet documents."
+arch=('x86_64')
+url="https://gitlab.com/orcus/orcus/blob/master/README.md";
+license=('MPL')
+depends=('libixion')
+makedepends=('boost' 'mdds')
+source=(https://kohei.us/files/orcus/src/${pkgname}-${pkgver}.tar.xz
+boost-1.67.patch)
+sha256sums=('b71c4c15febe7dae63406e8023898e3a5cf7fe4ec43b2028dfbbf24e9fe282e4'
+'ea6041d217e775bb5e5bb2bce2c6bc5b12de4397bc80b1a5d1d1a0c37144b420')
+
+prepare() {
+cd ${pkgname}-${pkgver}
+patch -Np1 -i ../boost-1.67.patch
+}
+
+build() {
+cd ${pkgname}-${pkgver}
+./configure --prefix=/usr
+make
+}
+
+check() {
+cd ${pkgname}-${pkgver}
+make check
+}
+
+package() {
+cd ${pkgname}-${pkgver}
+make DESTDIR=$pkgdir install
+}

Copied: liborcus/repos/staging-x86_64/boost-1.67.patch (from rev 328053, 
liborcus/trunk/boost-1.67.patch)
===
--- staging-x86_64/boost-1.67.patch (rev 0)
+++ staging-x86_64/boost-1.67.patch 2018-07-08 08:10:40 UTC (rev 328054)
@@ -0,0 +1,47 @@
+From f7485813af8e50f88c77312fb29b7bb489a0a17d Mon Sep 17 00:00:00 2001
+From: Adam Majer 
+Date: Wed, 23 May 2018 10:45:56 +0200
+Subject: [PATCH] Fix build with Boost 1.67
+
+Boost:DateTime that no longer accepts non-integer types.
+In the past, these types were implicitly cast down to integer
+values. Now this requires explicit cast.
+
+https://svn.boost.org/trac10/ticket/11168
+
+This fixes #60
+---
+ src/spreadsheet/sheet.cpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/spreadsheet/sheet.cpp b/src/spreadsheet/sheet.cpp
+index 7df1aedb..33b372ad 100644
+--- a/src/spreadsheet/sheet.cpp
 b/src/spreadsheet/sheet.cpp
+@@ -289,7 +289,7 @@ void sheet::set_date_time(row_t row, col_t col, int year, 
int month, int day, in
+ 
+ double days_since_epoch = (d - origin).days();
+ 
+-double ms = second * 100.0;
++long ms = second * 100.0;
+ 
+ posix_time::time_duration t(
+ posix_time::hours(hour) +
+@@ -606,7 +606,7 @@ date_time_t sheet::get_date_time(row_t row, col_t col) 
const
+ if (time_fraction)
+ {
+ // Convert a fraction day to microseconds.
+-double ms = time_fraction * 24.0 * 60.0 * 60.0 * 100.0;
++long long ms = time_fraction * 24.0 * 60.0 * 60.0 * 100.0;
+ posix_time::time_duration td = posix_time::microsec(ms);
+ 
+ hours = td.hours();
+@@ -615,7 +615,7 @@ date_time_t sheet::get_date_time(row_t row, col_t col) 
const
+ 
+ td -= posix_time::hours(hours);
+ td -= posix_time::minutes(minutes);
+-td -= posix_time::seconds(seconds);
++td -= posix_time::seconds((long)seconds);
+ 
+ ms = td.total_microseconds(); // remaining microseconds.
+ 


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:10:20
  Author: felixonmars
Revision: 354675

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-cors/repos/community-staging-x86_64/
  haskell-wai-cors/repos/community-staging-x86_64/PKGBUILD
(from rev 354674, haskell-wai-cors/trunk/PKGBUILD)

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

Copied: haskell-wai-cors/repos/community-staging-x86_64/PKGBUILD (from rev 
354674, haskell-wai-cors/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 08:10:20 UTC (rev 354675)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-cors
+pkgname=haskell-wai-cors
+pkgver=0.2.6
+pkgrel=48
+pkgdesc="CORS for WAI"
+url="https://github.com/larskuhtz/wai-cors";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-attoparsec" "haskell-base-unicode-symbols" 
"haskell-case-insensitive"
+ "haskell-http-types" "haskell-wai")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('aa1454096e6243edd48cf52d2e9ad27f174fe934b2256c58bec84c6da2de899e523ff70af783e458fe5f95d51371d2111d8f979cc89a0ecbf646b23a74ae6617')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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}/${_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 yubikey-manager/trunk (PKGBUILD)

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:16:53
  Author: felixonmars
Revision: 354676

Python 3.7 rebuild

Modified:
  yubikey-manager/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:10:20 UTC (rev 354675)
+++ PKGBUILD2018-07-08 08:16:53 UTC (rev 354676)
@@ -4,7 +4,7 @@
 
 pkgname='yubikey-manager'
 pkgver=0.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Python library and command line tool for configuring a YubiKey'
 arch=('any')
 url='https://developers.yubico.com/yubikey-manager/'


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:17:15
  Author: felixonmars
Revision: 354677

archrelease: copy trunk to community-staging-any

Added:
  yubikey-manager/repos/community-staging-any/
  yubikey-manager/repos/community-staging-any/PKGBUILD
(from rev 354676, yubikey-manager/trunk/PKGBUILD)

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

Copied: yubikey-manager/repos/community-staging-any/PKGBUILD (from rev 354676, 
yubikey-manager/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-08 08:17:15 UTC (rev 354677)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Karol Babioch 
+
+pkgname='yubikey-manager'
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='Python library and command line tool for configuring a YubiKey'
+arch=('any')
+url='https://developers.yubico.com/yubikey-manager/'
+license=('BSD')
+depends=('python' 'python-click' 'python-cryptography' 'python-pyopenssl' 
'python-pyscard'
+ 'python-pyusb' 'python-six' 'python-fido2' 'ccid' 'libu2f-host'
+ 'yubikey-personalization')
+makedepends=('python-setuptools')
+validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3'  # Dag Heyman 

+  '57A9DEED4C6D962A923BB691816F3ED99921835E') # Emil Lundberg 
(Software Developer) 
+source=("https://developers.yubico.com/$pkgname/Releases/yubikey-manager-$pkgver.tar.gz"{,.sig})
+sha256sums=('f99b82b40e06782a4003a634d59b386ee9ab92494e5d562069e6f1c2e4a07b8f'
+'SKIP')
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   python setup.py install --root="${pkgdir}/" --optimize=1
+
+   install -D -m0644 COPYING 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 08:18:53
  Author: felixonmars
Revision: 354678

Python 3.7 rebuild

Modified:
  python-pytables/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 08:17:15 UTC (rev 354677)
+++ PKGBUILD2018-07-08 08:18:53 UTC (rev 354678)
@@ -6,7 +6,7 @@
 pkgbase=python-pytables
 pkgname=('python2-pytables' 'python-pytables')
 pkgver=3.4.4
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 pkgdesc="A package for managing hierarchical datasets and designed to 
efficiently and easily cope with extremely large amounts of data"
 url="http://www.pytables.org";


  1   2   3   4   5   6   7   8   9   10   >