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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:31:20
  Author: felixonmars
Revision: 230027

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  hopenpgp-tools/repos/community-staging-i686/
  hopenpgp-tools/repos/community-staging-i686/PKGBUILD
(from rev 230026, hopenpgp-tools/trunk/PKGBUILD)
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 230026, hopenpgp-tools/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   38 
 community-staging-x86_64/PKGBUILD |   38 
 2 files changed, 76 insertions(+)

Copied: hopenpgp-tools/repos/community-staging-i686/PKGBUILD (from rev 230026, 
hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-25 07:31:20 UTC (rev 230027)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.19.4
+pkgrel=92
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "alex" "happy" "haskell-aeson" 
"haskell-ansi-wl-pprint"
+ "haskell-attoparsec" "haskell-base16-bytestring" 
"haskell-binary-conduit"
+ "haskell-conduit" "haskell-conduit-extra" "haskell-crypto-pubkey" 
"haskell-cryptohash"
+ "haskell-errors" "haskell-fgl" "haskell-graphviz" 
"haskell-hopenpgp"
+ "haskell-http-client" "haskell-http-client-tls" 
"haskell-http-types"
+ "haskell-ixset-typed" "haskell-lens" "haskell-monad-loops" 
"haskell-openpgp-asciiarmor"
+ "haskell-optparse-applicative" "haskell-resourcet" "haskell-text"
+ "haskell-time-locale-compat" "haskell-wl-pprint-extras" 
"haskell-wl-pprint-terminfo"
+ "haskell-yaml")
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('e656cd989833c6d318d5c44931ef5a8cd98bb0ebb4bab70a2d2f701091d0abd8')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
230026, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-25 07:31:20 UTC (rev 230027)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.19.4
+pkgrel=92
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "alex" "happy" "haskell-aeson" 
"haskell-ansi-wl-pprint"
+ "haskell-attoparsec" "haskell-base16-bytestring" 
"haskell-binary-conduit"
+ "haskell-conduit" "haskell-conduit-extra" "haskell-crypto-pubkey" 
"haskell-cryptohash"
+ "haskell-errors" "haskell-fgl" "haskell-graphviz" 
"haskell-hopenpgp"
+ "haskell-http-client" "haskell-http-client-tls" 
"haskell-http-types"
+ "haskell-ixset-typed" "haskell-lens" "haskell-monad-loops" 
"haskell-openpgp-asciiarmor"
+ "haskell-optparse-applicative" "haskell-resourcet" "haskell-text"
+ "haskell-time-locale-compat" "haskell-wl-pprint-extras" 
"haskell-wl-pprint-terminfo"
+ "haskell-yaml")
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('e656cd989833c6d318d5c44931ef5a8cd98bb0ebb4bab70a2d2f701091d0abd8')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:30:17
  Author: felixonmars
Revision: 230026

upgpkg: hopenpgp-tools 0.19.4-92

rebuild with yaml,0.8.23

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:27:28 UTC (rev 230025)
+++ PKGBUILD2017-05-25 07:30:17 UTC (rev 230026)
@@ -4,7 +4,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.19.4
-pkgrel=91
+pkgrel=92
 pkgdesc="hOpenPGP-based command-line tools"
 url="http://floss.scru.org/hopenpgp-tools;
 license=("AGPL3")


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:27:28
  Author: felixonmars
Revision: 230025

archrelease: copy trunk to community-any

Added:
  scrapy/repos/community-any/PKGBUILD
(from rev 230024, scrapy/trunk/PKGBUILD)
Deleted:
  scrapy/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-25 07:26:47 UTC (rev 230024)
+++ PKGBUILD2017-05-25 07:27:28 UTC (rev 230025)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: PyroDevil 
-# Contributor: Anibal Pacheco 
-
-pkgname=scrapy
-pkgver=1.3.3
-pkgrel=1
-pkgdesc="A fast high-level scraping and web crawling framework."
-arch=('any')
-license=('BSD')
-url="http://scrapy.org;
-depends=('python-twisted' 'libxml2' 'python-w3lib' 'python-lxml' 'python-six' 
'python-queuelib'
- 'python-setuptools' 'python-cssselect' 'python-pyopenssl' 
'python-parsel'
- 'python-pydispatcher' 'python-service-identity')
-makedepends=('git')
-checkdepends=('python-pytest-runner' 'python-pillow' 'python-testfixtures' 
'python-botocore'
-  'python-jmespath' 'mitmproxy')
-optdepends=('ipython: for enhanced support of the interactive scraping shell')
-source=("git+https://github.com/scrapy/scrapy.git#tag=${pkgver};)
-md5sums=('SKIP')
-
-check() {
-  cd scrapy
-  python setup.py pytest --addopts tests
-}
-
-package() {
-  cd scrapy
-  python setup.py install -O1 --root="$pkgdir"
-
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -D -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname/README.rst
-  install -D -m644 docs/intro/install.rst 
"$pkgdir"/usr/share/doc/$pkgname/INSTALL.rst
-}

Copied: scrapy/repos/community-any/PKGBUILD (from rev 230024, 
scrapy/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-25 07:27:28 UTC (rev 230025)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: PyroDevil 
+# Contributor: Anibal Pacheco 
+
+pkgname=scrapy
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="A fast high-level scraping and web crawling framework."
+arch=('any')
+license=('BSD')
+url="http://scrapy.org;
+depends=('python-twisted' 'libxml2' 'python-w3lib' 'python-lxml' 'python-six' 
'python-queuelib'
+ 'python-setuptools' 'python-cssselect' 'python-pyopenssl' 
'python-parsel'
+ 'python-pydispatcher' 'python-service-identity')
+checkdepends=('python-pytest-runner' 'python-pillow' 'python-testfixtures' 
'python-botocore'
+  'python-jmespath' 'mitmproxy')
+optdepends=('ipython: for enhanced support of the interactive scraping shell')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz;)
+md5sums=('1be2bb5325cfebca07c66788b0734fbc')
+
+build() {
+  cd scrapy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd scrapy-$pkgver
+  python setup.py pytest --addopts tests
+}
+
+package() {
+  cd scrapy-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname/README.rst
+  install -D -m644 docs/intro/install.rst 
"$pkgdir"/usr/share/doc/$pkgname/INSTALL.rst
+}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:26:47
  Author: felixonmars
Revision: 230024

upgpkg: scrapy 1.4.0-1

Modified:
  scrapy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:22:26 UTC (rev 230023)
+++ PKGBUILD2017-05-25 07:26:47 UTC (rev 230024)
@@ -4,7 +4,7 @@
 # Contributor: Anibal Pacheco 
 
 pkgname=scrapy
-pkgver=1.3.3
+pkgver=1.4.0
 pkgrel=1
 pkgdesc="A fast high-level scraping and web crawling framework."
 arch=('any')
@@ -13,20 +13,24 @@
 depends=('python-twisted' 'libxml2' 'python-w3lib' 'python-lxml' 'python-six' 
'python-queuelib'
  'python-setuptools' 'python-cssselect' 'python-pyopenssl' 
'python-parsel'
  'python-pydispatcher' 'python-service-identity')
-makedepends=('git')
 checkdepends=('python-pytest-runner' 'python-pillow' 'python-testfixtures' 
'python-botocore'
   'python-jmespath' 'mitmproxy')
 optdepends=('ipython: for enhanced support of the interactive scraping shell')
-source=("git+https://github.com/scrapy/scrapy.git#tag=${pkgver};)
-md5sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz;)
+md5sums=('1be2bb5325cfebca07c66788b0734fbc')
 
+build() {
+  cd scrapy-$pkgver
+  python setup.py build
+}
+
 check() {
-  cd scrapy
+  cd scrapy-$pkgver
   python setup.py pytest --addopts tests
 }
 
 package() {
-  cd scrapy
+  cd scrapy-$pkgver
   python setup.py install -O1 --root="$pkgdir"
 
   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:22:26
  Author: felixonmars
Revision: 230023

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  hindent/repos/community-staging-i686/
  hindent/repos/community-staging-i686/PKGBUILD
(from rev 230022, hindent/trunk/PKGBUILD)
  hindent/repos/community-staging-x86_64/
  hindent/repos/community-staging-x86_64/PKGBUILD
(from rev 230022, hindent/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   34 ++
 community-staging-x86_64/PKGBUILD |   34 ++
 2 files changed, 68 insertions(+)

Copied: hindent/repos/community-staging-i686/PKGBUILD (from rev 230022, 
hindent/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-25 07:22:26 UTC (rev 230023)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hindent
+pkgver=5.2.3
+pkgrel=4
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/commercialhaskell/hindent;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=8.0.1" "haskell-descriptive" "haskell-exceptions" 
"haskell-monad-loops"
+ "haskell-mtl" "haskell-path" "haskell-path-io" "haskell-src-exts" 
"haskell-text"
+ "haskell-unix-compat" "haskell-utf8-string" "haskell-yaml")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('478c207ffb408e31f15dbc5bf941acdc9116de1c775d393cb59514e4a28354865d808715005a7e6f076b86d4e5f5c0f389059c16d4761ffcec31953d2d88d969')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "LICENSE.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 230022, 
hindent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-25 07:22:26 UTC (rev 230023)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hindent
+pkgver=5.2.3
+pkgrel=4
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/commercialhaskell/hindent;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=8.0.1" "haskell-descriptive" "haskell-exceptions" 
"haskell-monad-loops"
+ "haskell-mtl" "haskell-path" "haskell-path-io" "haskell-src-exts" 
"haskell-text"
+ "haskell-unix-compat" "haskell-utf8-string" "haskell-yaml")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('478c207ffb408e31f15dbc5bf941acdc9116de1c775d393cb59514e4a28354865d808715005a7e6f076b86d4e5f5c0f389059c16d4761ffcec31953d2d88d969')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "LICENSE.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:21:35
  Author: felixonmars
Revision: 230022

upgpkg: hindent 5.2.3-4

rebuild with yaml,0.8.23

Modified:
  hindent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:16:37 UTC (rev 230021)
+++ PKGBUILD2017-05-25 07:21:35 UTC (rev 230022)
@@ -4,7 +4,7 @@
 
 pkgname=hindent
 pkgver=5.2.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Extensible Haskell pretty printer"
 url="https://github.com/commercialhaskell/hindent;
 license=("custom:BSD3")


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:16:37
  Author: felixonmars
Revision: 230021

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-yaml/repos/community-staging-i686/
  haskell-yaml/repos/community-staging-i686/PKGBUILD
(from rev 230020, haskell-yaml/trunk/PKGBUILD)
  haskell-yaml/repos/community-staging-x86_64/
  haskell-yaml/repos/community-staging-x86_64/PKGBUILD
(from rev 230020, haskell-yaml/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-x86_64/PKGBUILD |   49 
 2 files changed, 98 insertions(+)

Copied: haskell-yaml/repos/community-staging-i686/PKGBUILD (from rev 230020, 
haskell-yaml/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-25 07:16:37 UTC (rev 230021)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yaml
+pkgname=haskell-yaml
+pkgver=0.8.23
+pkgrel=1
+pkgdesc="Support for parsing and rendering YAML documents."
+url="http://github.com/snoyberg/yaml/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-conduit" 
"haskell-vector"
+ "haskell-resourcet" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
+ "haskell-unordered-containers")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9c623be311646a7c2c063af6bb2686a6b08a3b05ec1bf8ffeaf4abdc3bc36fae7684fedb9c2c958058dc347d077deaa5475bc505c3bfaf2dac533bc87ea2b4')
+
+prepare() {
+# Needed only for examples, which won't be built
+sed -i '/raw-strings-qq/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-no-unicode -f-system-libyaml -f-no-exe -fno-examples
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+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-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 230020, 
haskell-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-25 07:16:37 UTC (rev 230021)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yaml
+pkgname=haskell-yaml
+pkgver=0.8.23
+pkgrel=1
+pkgdesc="Support for parsing and rendering YAML documents."
+url="http://github.com/snoyberg/yaml/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-conduit" 
"haskell-vector"
+ "haskell-resourcet" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
+ "haskell-unordered-containers")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9c623be311646a7c2c063af6bb2686a6b08a3b05ec1bf8ffeaf4abdc3bc36fae7684fedb9c2c958058dc347d077deaa5475bc505c3bfaf2dac533bc87ea2b4')
+
+prepare() {
+# Needed only for examples, which won't be built
+sed -i '/raw-strings-qq/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-no-unicode -f-system-libyaml -f-no-exe -fno-examples
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+

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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:15:41
  Author: felixonmars
Revision: 230020

upgpkg: haskell-yaml 0.8.23-1

rebuild with yaml,0.8.23

Modified:
  haskell-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:10:34 UTC (rev 230019)
+++ PKGBUILD2017-05-25 07:15:41 UTC (rev 230020)
@@ -4,8 +4,8 @@
 
 _hkgname=yaml
 pkgname=haskell-yaml
-pkgver=0.8.22.1
-pkgrel=2
+pkgver=0.8.23
+pkgrel=1
 pkgdesc="Support for parsing and rendering YAML documents."
 url="http://github.com/snoyberg/yaml/;
 license=("custom:BSD3")
@@ -14,7 +14,7 @@
  "haskell-resourcet" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
  "haskell-unordered-containers")
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('794ca125f6d2fddce5a57b3b44877b75edc47dffc1ad14d9b9d874d7f459d18df47bc646b41b0d1340f336240fd782c175a07c15ccbe8e5befe9f2f4a6b6cb60')
+sha512sums=('ec9c623be311646a7c2c063af6bb2686a6b08a3b05ec1bf8ffeaf4abdc3bc36fae7684fedb9c2c958058dc347d077deaa5475bc505c3bfaf2dac533bc87ea2b4')
 
 prepare() {
 # Needed only for examples, which won't be built


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:14:02
  Author: felixonmars
Revision: 296555

archrelease: copy trunk to extra-any

Added:
  python-attrs/repos/extra-any/PKGBUILD
(from rev 296554, python-attrs/trunk/PKGBUILD)
Deleted:
  python-attrs/repos/extra-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-25 07:13:22 UTC (rev 296554)
+++ PKGBUILD2017-05-25 07:14:02 UTC (rev 296555)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-attrs
-pkgname=('python-attrs' 'python2-attrs')
-pkgver=17.1.0
-pkgrel=1
-pkgdesc="Attributes without boilerplate."
-arch=('any')
-license=('MIT')
-url="https://attrs.readthedocs.org/;
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-zope-interface'
-  'python2-zope-interface' 'python-hypothesis' 
'python2-hypothesis')
-source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz;)
-sha512sums=('5d902dfefdcfdc693931e0600833d3bc412d26026fda8691cc8f2652b4e872dfd17ac600a463c11152df11db1c9bbf6e598360d1ead50d9ebf5bae4124921517')
-
-prepare() {
-  cp -a attrs-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/attrs-$pkgver
-  python setup.py build
- 
-  cd "$srcdir"/attrs-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/attrs-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/attrs-$pkgver-py2
-  python2 setup.py pytest
-}
- 
-package_python-attrs() {
-  depends=('python')
- 
-  cd attrs-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
- 
-package_python2-attrs() {
-  depends=('python2')
- 
-  cd attrs-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-attrs/repos/extra-any/PKGBUILD (from rev 296554, 
python-attrs/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-25 07:14:02 UTC (rev 296555)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-attrs
+pkgname=('python-attrs' 'python2-attrs')
+pkgver=17.2.0
+pkgrel=1
+pkgdesc="Attributes without boilerplate."
+arch=('any')
+license=('MIT')
+url="https://attrs.readthedocs.org/;
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-zope-interface'
+  'python2-zope-interface' 'python-hypothesis' 
'python2-hypothesis')
+source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz;)
+sha512sums=('02243e59ff417deddb330e841d42c0f43d3bea4435f114d3a9a8f4c3bd424c2ef565c630d179db7b3687d22091bf6e619de661171248c0ff0a0e5ec5f9bf7e21')
+
+prepare() {
+  cp -a attrs-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/attrs-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/attrs-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/attrs-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/attrs-$pkgver-py2
+  python2 setup.py pytest
+}
+ 
+package_python-attrs() {
+  depends=('python')
+ 
+  cd attrs-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+ 
+package_python2-attrs() {
+  depends=('python2')
+ 
+  cd attrs-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:13:22
  Author: felixonmars
Revision: 296554

upgpkg: python-attrs 17.2.0-1

Modified:
  python-attrs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 06:48:08 UTC (rev 296553)
+++ PKGBUILD2017-05-25 07:13:22 UTC (rev 296554)
@@ -3,7 +3,7 @@
 
 pkgbase=python-attrs
 pkgname=('python-attrs' 'python2-attrs')
-pkgver=17.1.0
+pkgver=17.2.0
 pkgrel=1
 pkgdesc="Attributes without boilerplate."
 arch=('any')
@@ -13,7 +13,7 @@
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-zope-interface'
   'python2-zope-interface' 'python-hypothesis' 
'python2-hypothesis')
 source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz;)
-sha512sums=('5d902dfefdcfdc693931e0600833d3bc412d26026fda8691cc8f2652b4e872dfd17ac600a463c11152df11db1c9bbf6e598360d1ead50d9ebf5bae4124921517')
+sha512sums=('02243e59ff417deddb330e841d42c0f43d3bea4435f114d3a9a8f4c3bd424c2ef565c630d179db7b3687d22091bf6e619de661171248c0ff0a0e5ec5f9bf7e21')
 
 prepare() {
   cp -a attrs-$pkgver{,-py2}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:10:34
  Author: felixonmars
Revision: 230019

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-25 07:09:52 UTC (rev 230018)
+++ PKGBUILD2017-05-25 07:10:34 UTC (rev 230019)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Stéphane Gaudreault 
-
-pkgbase=python-pytools
-pkgname=('python2-pytools' 'python-pytools')
-pkgver=2016.2.6
-pkgrel=2
-pkgdesc="A collection of tools for Python"
-arch=('any')
-url="http://mathema.tician.de/software/pytools;
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-decorator' 
'python2-decorator'
- 'python-six' 'python2-six' 'python-appdirs' 'python2-appdirs' 
'python-numpy'
- 'python2-numpy')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz;)
-sha512sums=('87faf5221982815ffecf8bbe4a81eb21aa8f893132cb5ed0d23e3464b651dcd5070589972c5dc7fac7c4dce768dfe4e064d8346e637af4bfff36aea17833')
-
-prepare() {
-  cp -a pytools-$pkgver{,-python2}
-}
-
-build() {
-  cd "$srcdir"/pytools-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytools-$pkgver-python2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pytools-$pkgver
-  python setup.py ptr
-
-  cd "$srcdir"/pytools-$pkgver-python2
-  python2 setup.py ptr
-}
-
-package_python-pytools(){
-  depends=('python-six' 'python-decorator' 'python-appdirs' 'python-numpy')
-
-  cd pytools-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build 
--optimize=1
-}
-
-package_python2-pytools() {
-  depends=('python2-six' 'python2-decorator' 'python2-appdirs' 'python2-numpy')
-
-  cd pytools-$pkgver-python2
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build 
--optimize=1
-}

Copied: python-pytools/repos/community-any/PKGBUILD (from rev 230018, 
python-pytools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-25 07:10:34 UTC (rev 230019)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+
+pkgbase=python-pytools
+pkgname=('python2-pytools' 'python-pytools')
+pkgver=2017.1.1
+pkgrel=1
+pkgdesc="A collection of tools for Python"
+arch=('any')
+url="http://mathema.tician.de/software/pytools;
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-decorator' 
'python2-decorator'
+ 'python-six' 'python2-six' 'python-appdirs' 'python2-appdirs' 
'python-numpy'
+ 'python2-numpy')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz;)
+sha512sums=('253b30e5105083e325ff422286c5d334f92b6621e863edb398b8da59b0cf8572cc645f099fd9e81d187d1cbbbccb02255ed1bf44c283f5df80ed16866c89')
+
+prepare() {
+  cp -a pytools-$pkgver{,-python2}
+}
+
+build() {
+  cd "$srcdir"/pytools-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytools-$pkgver-python2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pytools-$pkgver
+  python setup.py ptr
+
+  cd "$srcdir"/pytools-$pkgver-python2
+  python2 setup.py ptr
+}
+
+package_python-pytools(){
+  depends=('python-six' 'python-decorator' 'python-appdirs' 'python-numpy')
+
+  cd pytools-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build 
--optimize=1
+}
+
+package_python2-pytools() {
+  depends=('python2-six' 'python2-decorator' 'python2-appdirs' 'python2-numpy')
+
+  cd pytools-$pkgver-python2
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build 
--optimize=1
+}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:09:52
  Author: felixonmars
Revision: 230018

upgpkg: python-pytools 2017.1.1-1

Modified:
  python-pytools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:07:05 UTC (rev 230017)
+++ PKGBUILD2017-05-25 07:09:52 UTC (rev 230018)
@@ -4,8 +4,8 @@
 
 pkgbase=python-pytools
 pkgname=('python2-pytools' 'python-pytools')
-pkgver=2016.2.6
-pkgrel=2
+pkgver=2017.1.1
+pkgrel=1
 pkgdesc="A collection of tools for Python"
 arch=('any')
 url="http://mathema.tician.de/software/pytools;
@@ -15,7 +15,7 @@
  'python2-numpy')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner')
 source=("https://pypi.io/packages/source/p/pytools/pytools-$pkgver.tar.gz;)
-sha512sums=('87faf5221982815ffecf8bbe4a81eb21aa8f893132cb5ed0d23e3464b651dcd5070589972c5dc7fac7c4dce768dfe4e064d8346e637af4bfff36aea17833')
+sha512sums=('253b30e5105083e325ff422286c5d334f92b6621e863edb398b8da59b0cf8572cc645f099fd9e81d187d1cbbbccb02255ed1bf44c283f5df80ed16866c89')
 
 prepare() {
   cp -a pytools-$pkgver{,-python2}


[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:07:05
  Author: felixonmars
Revision: 230017

archrelease: copy trunk to community-any

Added:
  npm-check-updates/repos/community-any/PKGBUILD
(from rev 230016, npm-check-updates/trunk/PKGBUILD)
Deleted:
  npm-check-updates/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-25 07:06:25 UTC (rev 230016)
+++ PKGBUILD2017-05-25 07:07:05 UTC (rev 230017)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgname=npm-check-updates
-pkgdesc='Find newer versions of dependencies than what your package.json or 
bower.json allows'
-pkgver=2.11.1
-pkgrel=1
-arch=('any')
-url='https://github.com/tjunnone/npm-check-updates'
-license=('Apache')
-depends=('semver' 'npm')
-source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('bb651818148ed9220c75e78f47efa490a83316dce1ccf0159275e4d219e08db4ac1963ff4e46304ebf4c86ef0e41b1451ec7aeb930cfe774ff471e567b316a28')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz
-  rm -r "$pkgdir"/usr/etc
-
-  # Experimental dedup
-  cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
-  for dep in npm semver; do
-rm -r $dep;
-npm link $dep;
-  done
-
-  # Fix npm derp
-  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}

Copied: npm-check-updates/repos/community-any/PKGBUILD (from rev 230016, 
npm-check-updates/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-25 07:07:05 UTC (rev 230017)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=npm-check-updates
+pkgdesc='Find newer versions of dependencies than what your package.json or 
bower.json allows'
+pkgver=2.11.2
+pkgrel=1
+arch=('any')
+url='https://github.com/tjunnone/npm-check-updates'
+license=('Apache')
+depends=('semver' 'npm')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('0d53ad313914af0ae410b463d22f21c3ac57a8b738e7e7ec14c32a420243cfac18c6bba9a13912d9f3fe78c426cb03ae1afc8c8d2e8342c3ccc2ccad47fd6bba')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+
+  # Experimental dedup
+  cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+  for dep in npm semver; do
+rm -r $dep;
+npm link $dep;
+  done
+
+  # Fix npm derp
+  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}


[arch-commits] Commit in npm-check-updates/trunk (PKGBUILD)

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:06:25
  Author: felixonmars
Revision: 230016

upgpkg: npm-check-updates 2.11.2-1

Modified:
  npm-check-updates/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:04:56 UTC (rev 230015)
+++ PKGBUILD2017-05-25 07:06:25 UTC (rev 230016)
@@ -3,7 +3,7 @@
 
 pkgname=npm-check-updates
 pkgdesc='Find newer versions of dependencies than what your package.json or 
bower.json allows'
-pkgver=2.11.1
+pkgver=2.11.2
 pkgrel=1
 arch=('any')
 url='https://github.com/tjunnone/npm-check-updates'
@@ -11,7 +11,7 @@
 depends=('semver' 'npm')
 source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
-sha512sums=('bb651818148ed9220c75e78f47efa490a83316dce1ccf0159275e4d219e08db4ac1963ff4e46304ebf4c86ef0e41b1451ec7aeb930cfe774ff471e567b316a28')
+sha512sums=('0d53ad313914af0ae410b463d22f21c3ac57a8b738e7e7ec14c32a420243cfac18c6bba9a13912d9f3fe78c426cb03ae1afc8c8d2e8342c3ccc2ccad47fd6bba')
 
 package() {
   npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:04:56
  Author: felixonmars
Revision: 230015

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-25 07:04:17 UTC (rev 230014)
+++ PKGBUILD2017-05-25 07:04:56 UTC (rev 230015)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-pkgbase=python-configargparse
-pkgname=('python-configargparse' 'python2-configargparse')
-pkgver=0.11.0
-pkgrel=2
-pkgdesc='A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables'
-arch=('any')
-url='https://github.com/zorro3/ConfigArgParse'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/bw2/ConfigArgParse.git#tag=$pkgver;)
-sha256sums=('SKIP')
-
-prepare() {
-  cp -a ConfigArgParse{,-py2}
-}
-
-check() {
-  cd "$srcdir/ConfigArgParse"
-  # https://github.com/bw2/ConfigArgParse/issues/31
-  python setup.py test || warning "Tests failed"
-
-  cd "$srcdir/ConfigArgParse-py2"
-  python2 setup.py test
-}
-
-package_python-configargparse() {
-  depends=('python')
-  cd ConfigArgParse
-
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-configargparse() {
-  depends=('python2')
-  cd ConfigArgParse
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-configargparse/repos/community-any/PKGBUILD (from rev 230014, 
python-configargparse/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-25 07:04:56 UTC (rev 230015)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-configargparse
+pkgname=('python-configargparse' 'python2-configargparse')
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables'
+arch=('any')
+url='https://github.com/zorro3/ConfigArgParse'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-yaml' 'python2-yaml')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bw2/ConfigArgParse/archive/$pkgver.tar.gz;)
+sha512sums=('c8499241c3fb13bc7734e1d63bee1cedce909c6800595265e61f8d086f985b08a01ce8312bc47db04402bb4070d41884fe8eedd73d9c5ef7c7a159236639792d')
+
+prepare() {
+  cp -a ConfigArgParse-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/ConfigArgParse-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/ConfigArgParse-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-configargparse() {
+  depends=('python')
+  optdepends=('python-yaml: for YAML support')
+
+  cd ConfigArgParse-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-configargparse() {
+  depends=('python2')
+  optdepends=('python2-yaml: for YAML support')
+
+  cd ConfigArgParse-$pkgver-py2
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:04:17
  Author: felixonmars
Revision: 230014

upgpkg: python-configargparse 0.12.0-1

Modified:
  python-configargparse/trunk/PKGBUILD

--+
 PKGBUILD |   32 ++--
 1 file changed, 18 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 07:00:17 UTC (rev 230013)
+++ PKGBUILD2017-05-25 07:04:17 UTC (rev 230014)
@@ -3,43 +3,47 @@
 
 pkgbase=python-configargparse
 pkgname=('python-configargparse' 'python2-configargparse')
-pkgver=0.11.0
-pkgrel=2
+pkgver=0.12.0
+pkgrel=1
 pkgdesc='A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables'
 arch=('any')
 url='https://github.com/zorro3/ConfigArgParse'
 license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/bw2/ConfigArgParse.git#tag=$pkgver;)
-sha256sums=('SKIP')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-yaml' 'python2-yaml')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bw2/ConfigArgParse/archive/$pkgver.tar.gz;)
+sha512sums=('c8499241c3fb13bc7734e1d63bee1cedce909c6800595265e61f8d086f985b08a01ce8312bc47db04402bb4070d41884fe8eedd73d9c5ef7c7a159236639792d')
 
 prepare() {
-  cp -a ConfigArgParse{,-py2}
+  cp -a ConfigArgParse-$pkgver{,-py2}
 }
 
 check() {
-  cd "$srcdir/ConfigArgParse"
-  # https://github.com/bw2/ConfigArgParse/issues/31
-  python setup.py test || warning "Tests failed"
+  cd "$srcdir"/ConfigArgParse-$pkgver
+  python setup.py test
 
-  cd "$srcdir/ConfigArgParse-py2"
+  cd "$srcdir"/ConfigArgParse-$pkgver-py2
   python2 setup.py test
 }
 
 package_python-configargparse() {
   depends=('python')
-  cd ConfigArgParse
+  optdepends=('python-yaml: for YAML support')
 
+  cd ConfigArgParse-$pkgver
+
   python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 package_python2-configargparse() {
   depends=('python2')
-  cd ConfigArgParse
+  optdepends=('python2-yaml: for YAML support')
 
+  cd ConfigArgParse-$pkgver-py2
+
   python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 07:00:17
  Author: felixonmars
Revision: 230013

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-05-25 06:59:44 UTC (rev 230012)
+++ PKGBUILD2017-05-25 07:00:17 UTC (rev 230013)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Kaiting Chen 
-# Contributor: Aaron Schaefer 
-
-pkgbase=python-boto
-pkgname=(python-boto python2-boto)
-pkgver=2.46.1
-pkgrel=1
-pkgdesc='A Python interface to Amazon Web Services (AWS)'
-arch=('any')
-url='https://github.com/boto/boto'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-requests'
-  'python2-requests' 'python-httpretty' 'python2-httpretty')
-source=("git+https://github.com/boto/boto.git#tag=$pkgver;)
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a boto{,-py2}
-
-  cd boto-py2
-  # python2 fix
-  find . -name '*.py' -type f -print0 | xargs -0 \
-sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_'
-}
-
-check() {
-  cd boto
-  # Known failure on test_correct_low_level_api_calls: 
https://bugs.python.org/issue25195
-  python tests/test.py default || warning 'Tests failed'
-
-  cd ../boto-py2
-  python2 tests/test.py default
-}
-
-package_python-boto() {
-  depends=('python')
-
-  cd boto
-
-  python setup.py install -O1 --root="$pkgdir"
-  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Remove (somewhat deprecated) tools that conflicts with the python 2 
version.
-  rm -r "$pkgdir/usr/bin"
-}
-
-package_python2-boto() {
-  depends=('python2')
-  conflicts=('python-boto<2.32.1-1')
-  replaces=('python-boto<2.32.1-1')
-
-  cd boto-py2
-
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-boto/repos/community-any/PKGBUILD (from rev 230012, 
python-boto/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-05-25 07:00:17 UTC (rev 230013)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Kaiting Chen 
+# Contributor: Aaron Schaefer 
+
+pkgbase=python-boto
+pkgname=(python-boto python2-boto)
+pkgver=2.47.0
+pkgrel=1
+pkgdesc='A Python interface to Amazon Web Services (AWS)'
+arch=('any')
+url='https://github.com/boto/boto'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-requests'
+  'python2-requests' 'python-httpretty' 'python2-httpretty')
+source=("git+https://github.com/boto/boto.git#tag=$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a boto{,-py2}
+
+  cd boto-py2
+  # python2 fix
+  find . -name '*.py' -type f -print0 | xargs -0 \
+sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_'
+}
+
+check() {
+  cd boto
+  # Known failure on test_correct_low_level_api_calls: 
https://bugs.python.org/issue25195
+  python tests/test.py default || warning 'Tests failed'
+
+  cd ../boto-py2
+  python2 tests/test.py default
+}
+
+package_python-boto() {
+  depends=('python')
+
+  cd boto
+
+  python setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove (somewhat deprecated) tools that conflicts with the python 2 
version.
+  rm -r "$pkgdir/usr/bin"
+}
+
+package_python2-boto() {
+  depends=('python2')
+  conflicts=('python-boto<2.32.1-1')
+  replaces=('python-boto<2.32.1-1')
+
+  cd boto-py2
+
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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

2017-05-25 Thread Felix Yan
Date: Thursday, May 25, 2017 @ 06:59:44
  Author: felixonmars
Revision: 230012

upgpkg: python-boto 2.47.0-1

Modified:
  python-boto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 03:32:28 UTC (rev 230011)
+++ PKGBUILD2017-05-25 06:59:44 UTC (rev 230012)
@@ -5,7 +5,7 @@
 
 pkgbase=python-boto
 pkgname=(python-boto python2-boto)
-pkgver=2.46.1
+pkgver=2.47.0
 pkgrel=1
 pkgdesc='A Python interface to Amazon Web Services (AWS)'
 arch=('any')


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

2017-05-25 Thread Bartłomiej Piotrowski
Date: Thursday, May 25, 2017 @ 06:48:08
  Author: bpiotrowski
Revision: 296553

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  strace/repos/extra-i686/PKGBUILD
(from rev 296552, strace/trunk/PKGBUILD)
  strace/repos/extra-x86_64/PKGBUILD
(from rev 296552, strace/trunk/PKGBUILD)
Deleted:
  strace/repos/extra-i686/PKGBUILD
  strace/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |   58 
 extra-i686/PKGBUILD   |   32 --
 extra-x86_64/PKGBUILD |   32 --
 3 files changed, 58 insertions(+), 64 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-05-25 06:47:59 UTC (rev 296552)
+++ extra-i686/PKGBUILD 2017-05-25 06:48:08 UTC (rev 296553)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora 
-# Contributor: Tom Newsom 
-
-pkgname=strace
-pkgver=4.16
-pkgrel=1
-pkgdesc="A useful diagnositic, instructional, and debugging tool"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/strace/;
-license=('custom')
-depends=('perl' 'libunwind')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz"{,.asc})
-md5sums=('2873366cac98770efcbed6e748d5ef23'
- 'SKIP')
-validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
---with-libunwind
-
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}/" install
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: strace/repos/extra-i686/PKGBUILD (from rev 296552, 
strace/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-05-25 06:48:08 UTC (rev 296553)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Giovanni Scafora 
+# Contributor: Tom Newsom 
+
+pkgname=strace
+pkgver=4.17
+pkgrel=1
+pkgdesc="A useful diagnositic, instructional, and debugging tool"
+arch=(i686 x86_64)
+url="http://sourceforge.net/projects/strace/;
+license=(BSD)
+depends=(perl libunwind)
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz{,.asc})
+md5sums=('8d7eb10eba68bad83a269197e634b626'
+ 'SKIP')
+validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+--with-libunwind
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2017-05-25 06:47:59 UTC (rev 296552)
+++ extra-x86_64/PKGBUILD   2017-05-25 06:48:08 UTC (rev 296553)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora 
-# Contributor: Tom Newsom 
-
-pkgname=strace
-pkgver=4.16
-pkgrel=1
-pkgdesc="A useful diagnositic, instructional, and debugging tool"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/strace/;
-license=('custom')
-depends=('perl' 'libunwind')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz"{,.asc})
-md5sums=('2873366cac98770efcbed6e748d5ef23'
- 'SKIP')
-validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr \
---with-libunwind
-
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}/" install
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: strace/repos/extra-x86_64/PKGBUILD (from rev 296552, 
strace/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2017-05-25 06:48:08 UTC (rev 296553)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Giovanni Scafora 
+# Contributor: Tom Newsom 
+
+pkgname=strace
+pkgver=4.17
+pkgrel=1
+pkgdesc="A useful diagnositic, instructional, and debugging tool"
+arch=(i686 x86_64)
+url="http://sourceforge.net/projects/strace/;
+license=(BSD)
+depends=(perl libunwind)
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz{,.asc})
+md5sums=('8d7eb10eba68bad83a269197e634b626'
+ 'SKIP')
+validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+--with-libunwind

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

2017-05-25 Thread Bartłomiej Piotrowski
Date: Thursday, May 25, 2017 @ 06:47:59
  Author: bpiotrowski
Revision: 296552

upgpkg: strace 4.17-1

new upstream release

Modified:
  strace/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-25 06:47:17 UTC (rev 296551)
+++ PKGBUILD2017-05-25 06:47:59 UTC (rev 296552)
@@ -3,30 +3,27 @@
 # Contributor: Tom Newsom 
 
 pkgname=strace
-pkgver=4.16
+pkgver=4.17
 pkgrel=1
 pkgdesc="A useful diagnositic, instructional, and debugging tool"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url="http://sourceforge.net/projects/strace/;
-license=('custom')
-depends=('perl' 'libunwind')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz"{,.asc})
-md5sums=('2873366cac98770efcbed6e748d5ef23'
+license=(BSD)
+depends=(perl libunwind)
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz{,.asc})
+md5sums=('8d7eb10eba68bad83a269197e634b626'
  'SKIP')
 validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr \
 --with-libunwind
-
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}/" install
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


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

2017-05-25 Thread Bartłomiej Piotrowski
Date: Thursday, May 25, 2017 @ 06:47:04
  Author: bpiotrowski
Revision: 296550

upgpkg: go 2:1.8.3-1

new upstream release

Modified:
  go/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-24 21:11:07 UTC (rev 296549)
+++ PKGBUILD2017-05-25 06:47:04 UTC (rev 296550)
@@ -3,7 +3,7 @@
 
 pkgname=go
 epoch=2
-pkgver=1.8.2
+pkgver=1.8.3
 pkgrel=1
 pkgdesc='Core compiler tools for the Go programming language'
 arch=(i686 x86_64)
@@ -11,7 +11,7 @@
 license=(BSD)
 makedepends=(git go)
 options=(!strip staticlibs)
-_commit=59870f9e19384c3155f603f799b61b401fa20cc9
+_commit=352996a381701cfa0c16e8de29cbde8f3922182f
 source=(git+https://go.googlesource.com/go#commit=$_commit)
 md5sums=('SKIP')
 


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

2017-05-25 Thread Bartłomiej Piotrowski
Date: Thursday, May 25, 2017 @ 06:47:17
  Author: bpiotrowski
Revision: 296551

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  go/repos/extra-i686/PKGBUILD
(from rev 296550, go/trunk/PKGBUILD)
  go/repos/extra-x86_64/PKGBUILD
(from rev 296550, go/trunk/PKGBUILD)
Deleted:
  go/repos/extra-i686/PKGBUILD
  go/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |  138 
 extra-i686/PKGBUILD   |   69 
 extra-x86_64/PKGBUILD |   69 
 3 files changed, 138 insertions(+), 138 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-05-25 06:47:04 UTC (rev 296550)
+++ extra-i686/PKGBUILD 2017-05-25 06:47:17 UTC (rev 296551)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski 
-
-pkgname=go
-epoch=2
-pkgver=1.8.2
-pkgrel=1
-pkgdesc='Core compiler tools for the Go programming language'
-arch=(i686 x86_64)
-url='http://golang.org/'
-license=(BSD)
-makedepends=(git go)
-options=(!strip staticlibs)
-_commit=59870f9e19384c3155f603f799b61b401fa20cc9
-source=(git+https://go.googlesource.com/go#commit=$_commit)
-md5sums=('SKIP')
-
-export GOOS=linux
-case "$CARCH" in
-  x86_64) export GOARCH=amd64 ;;
-  i686) export GOARCH=386 GO386=387 ;;
-esac
-export GOROOT_FINAL=/usr/lib/go
-export GOROOT_BOOTSTRAP=/usr/lib/go
-
-build() {
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export GOPATH="$srcdir/"
-
-  cd $pkgname/src
-  ./make.bash --no-clean
-}
-
-check() {
-  export GOROOT="$srcdir/$pkgname"
-  export GOBIN="$GOROOT/bin"
-  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
-  export GO_TEST_TIMEOUT_SCALE=2
-
-  # The cgo_test and race tests fail via run.bash but not if run manually.
-  # Assume that five "failed" messages are okay and just re-run failed tests.
-  cd $pkgname/src
-  ./run.bash --no-rebuild -v -v -v -k |& tee run.log
-  if (( $(grep -c Failed: run.log) > 5 )) && grep -q FAILED run.log; then
-return 1
-  fi
-
-  go tool dist test -v -v -v -run=^cgo_test$
-  go tool dist test -v -v -v -run=^race$
-}
-
-package() {
-  cd $pkgbase
-
-  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
-  cp -a bin pkg src lib misc "$pkgdir/usr/lib/go"
-  cp -r doc/* "$pkgdir/usr/share/doc/go"
-
-  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
-  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
-  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/go/LICENSE"
-  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
-
-  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
-  rm -rf "$pkgdir/usr/lib/go/pkg/tool/*/api"
-}

Copied: go/repos/extra-i686/PKGBUILD (from rev 296550, go/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-05-25 06:47:17 UTC (rev 296551)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+
+pkgname=go
+epoch=2
+pkgver=1.8.3
+pkgrel=1
+pkgdesc='Core compiler tools for the Go programming language'
+arch=(i686 x86_64)
+url='http://golang.org/'
+license=(BSD)
+makedepends=(git go)
+options=(!strip staticlibs)
+_commit=352996a381701cfa0c16e8de29cbde8f3922182f
+source=(git+https://go.googlesource.com/go#commit=$_commit)
+md5sums=('SKIP')
+
+export GOOS=linux
+case "$CARCH" in
+  x86_64) export GOARCH=amd64 ;;
+  i686) export GOARCH=386 GO386=387 ;;
+esac
+export GOROOT_FINAL=/usr/lib/go
+export GOROOT_BOOTSTRAP=/usr/lib/go
+
+build() {
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export GOPATH="$srcdir/"
+
+  cd $pkgname/src
+  ./make.bash --no-clean
+}
+
+check() {
+  export GOROOT="$srcdir/$pkgname"
+  export GOBIN="$GOROOT/bin"
+  export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
+  export GO_TEST_TIMEOUT_SCALE=2
+
+  # The cgo_test and race tests fail via run.bash but not if run manually.
+  # Assume that five "failed" messages are okay and just re-run failed tests.
+  cd $pkgname/src
+  ./run.bash --no-rebuild -v -v -v -k |& tee run.log
+  if (( $(grep -c Failed: run.log) > 5 )) && grep -q FAILED run.log; then
+return 1
+  fi
+
+  go tool dist test -v -v -v -run=^cgo_test$
+  go tool dist test -v -v -v -run=^race$
+}
+
+package() {
+  cd $pkgbase
+
+  install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib/go" "$pkgdir/usr/share/doc/go"
+  cp -a bin pkg src lib misc "$pkgdir/usr/lib/go"
+  cp -r doc/* "$pkgdir/usr/share/doc/go"
+
+  ln -sf /usr/lib/go/bin/go "$pkgdir/usr/bin/go"
+  ln -sf /usr/lib/go/bin/gofmt "$pkgdir/usr/bin/gofmt"
+  ln -sf /usr/share/doc/go "$pkgdir/usr/lib/go/doc"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/go/LICENSE"
+  install -Dm644 VERSION "$pkgdir/usr/lib/go/VERSION"
+
+  rm -rf "$pkgdir/usr/lib/go/pkg/bootstrap"
+  rm -rf 

<    1   2   3   4