[arch-commits] Commit in purescript/trunk (PKGBUILD http-client-0.5.patch)

Felix Yan felixonmars at archlinux.org
Wed Jan 11 09:12:21 UTC 2017


    Date: Wednesday, January 11, 2017 @ 09:12:21
  Author: felixonmars
Revision: 206783

upgpkg: purescript 0.10.5-1

Modified:
  purescript/trunk/PKGBUILD
  purescript/trunk/http-client-0.5.patch

-----------------------+
 PKGBUILD              |   18 ++++++++++++------
 http-client-0.5.patch |    4 ++--
 2 files changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-11 08:40:26 UTC (rev 206782)
+++ PKGBUILD	2017-01-11 09:12:21 UTC (rev 206783)
@@ -3,8 +3,8 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=purescript
-pkgver=0.10.2
-pkgrel=3
+pkgver=0.10.5
+pkgrel=1
 pkgdesc="PureScript Programming Language Compiler"
 url="http://www.purescript.org/"
 license=("custom:BSD3")
@@ -22,17 +22,23 @@
              "haskell-regex-tdfa" "haskell-safe" "haskell-semigroups" "haskell-sourcemap"
              "haskell-spdx" "haskell-split" "haskell-stm" "haskell-syb" "haskell-system-filepath"
              "haskell-text" "haskell-transformers-base" "haskell-transformers-compat"
-             "haskell-turtle" "haskell-unordered-containers" "haskell-utf8-string" "haskell-vector"
-             "haskell-wai" "haskell-wai-websockets" "haskell-warp" "haskell-websockets")
+             "haskell-turtle1.2" "haskell-unordered-containers" "haskell-utf8-string"
+             "haskell-vector" "haskell-wai" "haskell-wai-websockets" "haskell-warp"
+             "haskell-websockets")
 optdepends=('pulp: for development environment')
 source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
         http-client-0.5.patch)
-sha256sums=('45e60466575afed67fbc5244c4e0d3c7184c5aa009ebe7b81aa92a673d212e14'
-            'e8fc3574adca72008a367755648a7029968ac4ab5672ab683a4d4d4b1b819d74')
+sha256sums=('0d36361819866efe703eb3ae37f597316098ec3ead6edc9236ea63d54bdc8916'
+            '2e8ac0165d8dfde7f2ec27f4b77fb4139a435cf2148d3853ec95455334601b03')
 
 prepare() {
     cd "${srcdir}/${pkgname}-${pkgver}"
     patch -p1 -i ../http-client-0.5.patch
+
+    sed -e 's/pipes >= 4.0.0 && < 4.3.0,/pipes >= 4.0.0 \&\& < 4.4.0,/' \
+        -e 's/websockets >= 0.9 && <0.10/websockets >= 0.9 \&\& <0.11/' \
+        -e 's/aeson >= 0.8 && < 1.0,/aeson >= 0.8,/' \
+        -i purescript.cabal
 }
 
 build() {

Modified: http-client-0.5.patch
===================================================================
--- http-client-0.5.patch	2017-01-11 08:40:26 UTC (rev 206782)
+++ http-client-0.5.patch	2017-01-11 09:12:21 UTC (rev 206783)
@@ -31,7 +31,7 @@
  queryPursuit :: Text -> IO ByteString
  queryPursuit q = do
 -  let qClean = T.dropWhileEnd (== '.') q
--  req' <- parseRequest "http://pursuit.purescript.org/search"
+-  req' <- parseRequest "https://pursuit.purescript.org/search"
 -  let req = req'
 -        { queryString= "q=" <> (fromString . T.unpack) qClean
 -        , requestHeaders=[(hAccept, "application/json")]
@@ -41,7 +41,7 @@
 -    P.fold (<>) "" identity (responseBody resp)
 -
 +    let qClean = T.dropWhileEnd (== '.') q
-+    req' <- parseRequest "http://pursuit.purescript.org/search"
++    req' <- parseRequest "https://pursuit.purescript.org/search"
 +    let req = req'
 +          { queryString= "q=" <> (fromString . T.unpack) qClean
 +          , requestHeaders=[(hAccept, "application/json")]



More information about the arch-commits mailing list