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

Felix Yan felixonmars at archlinux.org
Sun Aug 26 13:42:57 UTC 2018


    Date: Sunday, August 26, 2018 @ 13:42:57
  Author: felixonmars
Revision: 374241

upgpkg: haskell-hasql 1.3.0.3-1

rebuild with hasql 1.3.0.3, hasql-pool 0.5, hasql-transaction 0.7, postgrest 0.5.0.0

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-26 13:42:06 UTC (rev 374240)
+++ PKGBUILD	2018-08-26 13:42:57 UTC (rev 374241)
@@ -4,8 +4,8 @@
 
 _hkgname=hasql
 pkgname=haskell-hasql
-pkgver=1.1.1
-pkgrel=112
+pkgver=1.3.0.3
+pkgrel=1
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql"
 license=('MIT')
@@ -14,27 +14,13 @@
          'haskell-contravariant' 'haskell-contravariant-extras' 'haskell-data-default-class'
          'haskell-dlist' 'haskell-hashable' 'haskell-hashtables' 'haskell-loch-th'
          'haskell-placeholders' 'haskell-postgresql-binary' 'haskell-postgresql-libpq'
-         'haskell-profunctors' 'haskell-vector')
+         'haskell-profunctors' 'haskell-text-builder' 'haskell-vector')
 makedepends=('ghc' 'haskell-bug' 'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tasty-hunit'
              'haskell-quickcheck-instances' 'haskell-quickcheck' 'haskell-rerebase')
 checkdepends=('postgresql' 'pifpaf')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('f72097118dbecd87c31394be882aa81a591d5e6d429bbee974cc4d6acaf1a86b9cb1c623666f3ffcc4f258992a3522d1780fbcc5a2edaded18c106bbe1fd28be')
+sha512sums=('fb951f3c7f09b7bc9ba62afc01c25dea7b839d3da21065bb4bba923a96ecd9b53074650084db846e00f3bb27de638e7dd776b081346919b4e92c5d1aac405336')
 
-prepare() {
-    sed -e 's/tasty-hunit >= 0.9 && < 0.10,/tasty-hunit >= 0.9,/' \
-        -e 's/tasty >= 0.12 && < 0.13,/tasty >= 0.12,/' \
-        -e 's/tasty-quickcheck >= 0.9 && < 0.10,/tasty-quickcheck >= 0.9,/' \
-        -e '/semigroups/d' \
-        -i $_hkgname-$pkgver/$_hkgname.cabal
-    sed -e 's/deriving (Monoid)/deriving (Semigroup, Monoid)/' \
-        -e '/instance Semigroup/d' \
-        -i $_hkgname-$pkgver/library/Hasql/Private/Commands.hs
-    sed -e 's/ Monoid)/ Semigroup, Monoid)/' \
-        -e '/instance Semigroup/d' \
-        -i $_hkgname-$pkgver/library/Hasql/Private/Encoders/Params.hs
-}
-
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list