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

Felix Yan felixonmars at archlinux.org
Fri Aug 7 06:24:32 UTC 2020


    Date: Friday, August 7, 2020 @ 06:24:32
  Author: felixonmars
Revision: 671275

attempt to use a local httpbin instance instead

https://github.com/postmanlabs/httpbin/issues/617
https://github.com/jd/pifpaf/pull/131

Modified:
  haskell-http-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-07 06:22:05 UTC (rev 671274)
+++ PKGBUILD	2020-08-07 06:24:32 UTC (rev 671275)
@@ -11,9 +11,9 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 'haskell-cookie'
          'haskell-http-types' 'haskell-memory' 'haskell-mime-types'
-         'haskell-network' 'haskell-network-uri' 'haskell-random' 'haskell-streaming-commons'
-        )
+         'haskell-network' 'haskell-network-uri' 'haskell-random' 'haskell-streaming-commons')
 makedepends=('ghc' 'haskell-async' 'haskell-hspec' 'haskell-monad-control' 'haskell-zlib')
+checkdepends('httpbin' 'pifpaf')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('82f9b85a5da976f8bc965a625dca2e1795bb53f88babf830aa82b511046da223fc1966d139c2d1c3d1f55103d7130715bab38a9280ec7dd9b579ead47fc068eb')
 
@@ -20,7 +20,7 @@
 prepare() {
     cd $_hkgname-$pkgver
     # https://github.com/postmanlabs/httpbin/issues/617
-    sed -i 's|http://httpbin.org/redirect-to|http://httpbin.scrapinghub.com/redirect-to|' test/Network/HTTP/ClientSpec.hs
+    sed -i 's|http://httpbin.org/redirect-to|http://127.0.0.1:5000/redirect-to|' test/Network/HTTP/ClientSpec.hs
 }
 
 build() {


More information about the arch-commits mailing list