From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3ECB31382C5 for ; Thu, 20 May 2021 13:51:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83062E08BB; Thu, 20 May 2021 13:51:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D1B5E08BB for ; Thu, 20 May 2021 13:51:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2A2A340D8E for ; Thu, 20 May 2021 13:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 464E9791 for ; Thu, 20 May 2021 13:51:13 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1621518664.24ff936b7356b3edc52020ffb4728f5ffd8dd417.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpbin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/httpbin/httpbin-0.7.0-r2.ebuild X-VCS-Directories: dev-python/httpbin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 24ff936b7356b3edc52020ffb4728f5ffd8dd417 X-VCS-Branch: master Date: Thu, 20 May 2021 13:51:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08cc92a7-ed3c-4817-b0ef-06980b430aa6 X-Archives-Hash: c1fb9bd4412dc9f8c16d0ab49cea0696 commit: 24ff936b7356b3edc52020ffb4728f5ffd8dd417 Author: Michał Górny gentoo org> AuthorDate: Thu May 20 13:05:07 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 20 13:51:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ff936b dev-python/httpbin: Skip failing tests Signed-off-by: Michał Górny gentoo.org> dev-python/httpbin/httpbin-0.7.0-r2.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-python/httpbin/httpbin-0.7.0-r2.ebuild b/dev-python/httpbin/httpbin-0.7.0-r2.ebuild index 45fbfbcc791..e680f602c43 100644 --- a/dev-python/httpbin/httpbin-0.7.0-r2.ebuild +++ b/dev-python/httpbin/httpbin-0.7.0-r2.ebuild @@ -36,3 +36,14 @@ PATCHES=( ) distutils_enable_tests unittest + +src_prepare() { + # a new version of flask or whatever converts relative redirects + # to absolute; this package is dead anyway, so just skip + # the relevant tests + sed -e 's:test_redirect:_&:' \ + -e 's:test_relative:_&:' \ + -i test_httpbin.py || die + + distutils-r1_src_prepare +}