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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2664B158041 for ; Fri, 5 Apr 2024 16:13:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3874EE29F9; Fri, 5 Apr 2024 16:13:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19869E29F9 for ; Fri, 5 Apr 2024 16:13:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F8763432C8 for ; Fri, 5 Apr 2024 16:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9907D1680 for ; Fri, 5 Apr 2024 16:12:59 +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: <1712333574.4a2c110c0489f8ac0dae46a6b6f1a9c6e31fc1f5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stripe/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/stripe/stripe-8.10.0.ebuild X-VCS-Directories: dev-python/stripe/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4a2c110c0489f8ac0dae46a6b6f1a9c6e31fc1f5 X-VCS-Branch: master Date: Fri, 5 Apr 2024 16:12:59 +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: 7c09f886-948c-4f6c-bde5-62d101b74ea2 X-Archives-Hash: 5a2e3f06342938476658776440684d8c commit: 4a2c110c0489f8ac0dae46a6b6f1a9c6e31fc1f5 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 5 16:11:30 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 5 16:12:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a2c110c dev-python/stripe: Remove the use of dev-python/mock Closes: https://bugs.gentoo.org/928616 Signed-off-by: Michał Górny gentoo.org> dev-python/stripe/stripe-8.10.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-python/stripe/stripe-8.10.0.ebuild b/dev-python/stripe/stripe-8.10.0.ebuild index 333bbc608ba1..1c58ac6493eb 100644 --- a/dev-python/stripe/stripe-8.10.0.ebuild +++ b/dev-python/stripe/stripe-8.10.0.ebuild @@ -43,6 +43,9 @@ src_prepare() { if ! use telemetry; then sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die fi + # https://github.com/stripe/stripe-python/pull/1297 + sed -e 's:from mock:from unittest.mock:' \ + -i tests/test_http_client.py || die distutils-r1_src_prepare }