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

Felix Yan felixonmars at archlinux.org
Thu Dec 21 18:02:41 UTC 2017


    Date: Thursday, December 21, 2017 @ 18:02:40
  Author: felixonmars
Revision: 275208

upgpkg: haskell-persistent 2.7.3-1

rebuild with persistent,2.7.3

Modified:
  haskell-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-21 17:18:02 UTC (rev 275207)
+++ PKGBUILD	2017-12-21 18:02:40 UTC (rev 275208)
@@ -4,28 +4,28 @@
 
 _hkgname=persistent
 pkgname=haskell-persistent
-pkgver=2.7.1
-pkgrel=8
+pkgver=2.7.3
+pkgrel=1
 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-exceptions"
-         "haskell-fast-logger" "haskell-http-api-data" "haskell-lifted-base"
-         "haskell-monad-control" "haskell-monad-logger" "haskell-mtl" "haskell-old-locale"
-         "haskell-path-pieces" "haskell-resource-pool" "haskell-resourcet" "haskell-scientific"
-         "haskell-silently" "haskell-tagged" "haskell-text" "haskell-transformers-base"
-         "haskell-unordered-containers" "haskell-vector")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base64-bytestring'
+         'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-conduit' 'haskell-exceptions'
+         'haskell-fast-logger' 'haskell-http-api-data' 'haskell-lifted-base'
+         'haskell-monad-control' 'haskell-monad-logger' 'haskell-mtl' 'haskell-old-locale'
+         'haskell-path-pieces' 'haskell-resource-pool' 'haskell-resourcet' 'haskell-scientific'
+         'haskell-silently' 'haskell-src-meta' 'haskell-tagged' 'haskell-text'
+         'haskell-transformers-base' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('6417451ed9f4ec068b87f2c3996c31735d965a2b1e6bf88fd36f98ddd454bfa2d752693d3fb21f6945db6974d76204b7f3d568bc484a15209135884e1b710b89')
+sha512sums=('681cdbd86eeb8fbe1bbe1648c8ff3dce961350e6cc379ef4d47ed0cf85ceabf91e1893f12e3bb637a30aeeff127c057d11a61b1f3ace61e86df21db0416953e9')
 
 build() {
     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-nooverlap
     runhaskell Setup build
@@ -35,9 +35,14 @@
     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}"



More information about the arch-commits mailing list