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

Felix Yan felixonmars at archlinux.org
Thu Jan 4 06:41:17 UTC 2018


    Date: Thursday, January 4, 2018 @ 06:41:16
  Author: felixonmars
Revision: 278567

upgpkg: haskell-yaml 0.8.25.1-1

rebuild with yaml,0.8.25.1

Modified:
  haskell-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-04 06:01:19 UTC (rev 278566)
+++ PKGBUILD	2018-01-04 06:41:16 UTC (rev 278567)
@@ -4,18 +4,19 @@
 
 _hkgname=yaml
 pkgname=haskell-yaml
-pkgver=0.8.25
-pkgrel=4
+pkgver=0.8.25.1
+pkgrel=1
 pkgdesc="Support for parsing and rendering YAML documents."
 url="https://github.com/snoyberg/yaml/"
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-aeson" "haskell-attoparsec" "haskell-conduit" "haskell-vector"
-         "haskell-resourcet" "haskell-scientific" "haskell-semigroups" "haskell-text"
-         "haskell-unordered-containers")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 'haskell-vector'
+         'haskell-resourcet' 'haskell-scientific' 'haskell-semigroups' 'haskell-text'
+         'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-mockery' 'haskell-base-compat'
+             'haskell-temporary')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('0f42af6d30ee99d04d806befc8bcce95a5f66862ee309f406fa799746236584b5d3f50d35d6f909b2b5cd2a5586e727acd8c7cca41145f8f5c9399fcafec1867')
+sha512sums=('c5a93c1c06991c35ca39d689c83e2e62bdb8f6fdb7e6dd36813f27a46df63a367eda9c104c7200827f4b4bc57e086621f3d62f5bc92dc23023ddd7ffe525a7bd')
 
 prepare() {
     # Needed only for examples, which won't be built
@@ -26,7 +27,7 @@
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-no-unicode -f-system-libyaml -f-no-exe -fno-examples
     runhaskell Setup build
@@ -36,6 +37,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup test
+}
+
 package() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list