From nobody Thu Jun 16 19:39:59 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 57F7384779D; Thu, 16 Jun 2022 19:40:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LPCDv5tlBz57mt; Thu, 16 Jun 2022 19:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655408399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X7b5y878QtT/yA0ZqWyTzELB1LouccbT76E69HjT7PQ=; b=wlOH11ZkSCL3mEo7M/IpNb+d/JZDhSDih06Ljye1KYtSHoUQJ/gZtaIj0OWPaQB7rLn0Sd YHMFKRTx2j4JI4UMaq19S55J/xIooGynBGX21mcMN4YTN5FVdcrLIhg4L/OrcNDAzCfWrz GDRbq56kAUMkp3IipUEzF/m6drEfnCxn0Lw3ZNH+4p5lczHdEgBi3gpcSqBwNe6MnAFR/y ndIRb8vqtUst75cXi0uNZ2nPoRILrWOsnwY/hkalIZ3bjbAM7x9hS8vkIsvcskv1SoP2zw RFKObK0aedBP5K0pt1Msz7aP9sF/o4mkta4lW2M+GWTKNOqB72k2j6Ejl7li8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36AF811646; Thu, 16 Jun 2022 19:39:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25GJdxti065175; Thu, 16 Jun 2022 19:39:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25GJdxLt065174; Thu, 16 Jun 2022 19:39:59 GMT (envelope-from git) Date: Thu, 16 Jun 2022 19:39:59 GMT Message-Id: <202206161939.25GJdxLt065174@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8f009815d35c - main - www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f009815d35cfb5de7ae11d543b9bfd8426f2821 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655408399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X7b5y878QtT/yA0ZqWyTzELB1LouccbT76E69HjT7PQ=; b=YUgBhuun7oqGqbzUMvC0435Q5FfQKKsW/huY0UQH6dqLCTRhXDfQbF0IXqwy4YqUkBt2QZ HKGu7i6OiAbpSTBVtRN6r0WzsAERT2QJ5Ygu9CdeIMOr4UEy1lRr5bjEcAKRq+23dQr0Qp 9hI9VbTW6GTtEI6m2CyseUuDpwN7ge3RwZ7z3B1iwZUa4exQAmp0c80aosEig9XGA9Kze1 sZ/nkzFhSzMNOsYWpUVNbpHrLD1c/LPkdkt8os/NReQx+UgCqoMyyVRZlRwQ63JkiZsmo3 1uqYJs4sTyXdm9ZN3/gsmo9pCZ4t3nWAUP0Kad5R1lWrEECEdSXyEWKHTGP4rQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655408399; a=rsa-sha256; cv=none; b=dYH+ibLOQ5aVNHkWQvPpEiK0EK8vysAIDexnqkQesVKSqilh2a6+vyHeEuhaew8IgAmFm7 udlg/PY/yYV7+vsMpw7bLCoV0DeZfXcYNY+4gKtUa5dXrxvY7NKq4j8CY6MnI6ijOmvkoD qpSHhAIo5ryP6x3eHyaoOfRQzNVixgVCa1QK2dUPYtOcaraB1JfU0W4kQrAoU9EGNFlWrE L3MZknkTeyhwa2YPYSrwyagWboIFZJDyf64uqJiKQwPGjaxbPmvFvXJ0au3ImjQ79d1hHx NiM6vrXvjVSZn4tvZZbSjEa6NNUGuAhNKDiAi9A8e3DCIfzHKFn/j1yfb3U9jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f009815d35cfb5de7ae11d543b9bfd8426f2821 commit 8f009815d35cfb5de7ae11d543b9bfd8426f2821 Author: Po-Chuan Hsieh AuthorDate: 2022-06-16 19:35:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-16 19:35:59 +0000 www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+ - Bump PORTREVISION for package change With hat: python --- www/py-httpbin/Makefile | 1 + www/py-httpbin/files/patch-httpbin-core.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/www/py-httpbin/Makefile b/www/py-httpbin/Makefile index 13c34c7ba23a..d9610bd1b674 100644 --- a/www/py-httpbin/Makefile +++ b/www/py-httpbin/Makefile @@ -1,5 +1,6 @@ PORTNAME= httpbin PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-httpbin/files/patch-httpbin-core.py b/www/py-httpbin/files/patch-httpbin-core.py new file mode 100644 index 000000000000..61f342b9188f --- /dev/null +++ b/www/py-httpbin/files/patch-httpbin-core.py @@ -0,0 +1,11 @@ +--- httpbin/core.py.orig 2018-05-08 11:41:03 UTC ++++ httpbin/core.py +@@ -19,7 +19,7 @@ from flask import Flask, Response, request, render_tem + 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 +