pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-httpbin



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 10 19:52:03 UTC 2022

Modified Files:
        pkgsrc/www/py-httpbin: Makefile distinfo
Added Files:
        pkgsrc/www/py-httpbin/patches: patch-httpbin_core.py

Log Message:
py-httpbin: add patch for compatibility with py-werkzeug 2.1

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-httpbin/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-httpbin/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-httpbin/patches/patch-httpbin_core.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-httpbin/Makefile
diff -u pkgsrc/www/py-httpbin/Makefile:1.11 pkgsrc/www/py-httpbin/Makefile:1.12
--- pkgsrc/www/py-httpbin/Makefile:1.11 Tue Jan  4 20:55:29 2022
+++ pkgsrc/www/py-httpbin/Makefile      Sun Jul 10 19:52:03 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:29 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/07/10 19:52:03 wiz Exp $
 
 DISTNAME=      httpbin-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpbin/}
 

Index: pkgsrc/www/py-httpbin/distinfo
diff -u pkgsrc/www/py-httpbin/distinfo:1.8 pkgsrc/www/py-httpbin/distinfo:1.9
--- pkgsrc/www/py-httpbin/distinfo:1.8  Tue Oct 26 11:30:41 2021
+++ pkgsrc/www/py-httpbin/distinfo      Sun Jul 10 19:52:03 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:30:41 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/07/10 19:52:03 wiz Exp $
 
 BLAKE2s (httpbin-0.7.0.tar.gz) = c25602362782565ce40953f3a531cdc6f943745e1dfa9ece77caa7c68c9ccd4d
 SHA512 (httpbin-0.7.0.tar.gz) = 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63
 Size (httpbin-0.7.0.tar.gz) = 92613 bytes
+SHA1 (patch-httpbin_core.py) = 3c01a77d18d540b6cd5e5a5b013418b6f70a6819

Added files:

Index: pkgsrc/www/py-httpbin/patches/patch-httpbin_core.py
diff -u /dev/null pkgsrc/www/py-httpbin/patches/patch-httpbin_core.py:1.1
--- /dev/null   Sun Jul 10 19:52:03 2022
+++ pkgsrc/www/py-httpbin/patches/patch-httpbin_core.py Sun Jul 10 19:52:03 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-httpbin_core.py,v 1.1 2022/07/10 19:52:03 wiz Exp $
+
+Fix compatibility with py-werkzeug>=2.1
+https://github.com/postmanlabs/httpbin/issues/673
+
+--- httpbin/core.py.orig       2018-05-08 11:41:03.000000000 +0000
++++ httpbin/core.py
+@@ -19,7 +19,7 @@ from flask import Flask, Response, reque
+ from six.moves import range as xrange
+ from werkzeug.datastructures import WWWAuthenticate, MultiDict
+ from werkzeug.http import http_date
+-from werkzeug.wrappers import BaseResponse
++from werkzeug.wrappers import Response as BaseResponse
+ from werkzeug.http import parse_authorization_header
+ from raven.contrib.flask import Sentry
+ 



Home | Main Index | Thread Index | Old Index