From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1495058-garchives=archives.gentoo.org@lists.gentoo.org>
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 5227A15802F
	for <garchives@archives.gentoo.org>; Sat, 11 Mar 2023 06:56:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9C1D8E07C5;
	Sat, 11 Mar 2023 06:56:02 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 86F18E07C5
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 Mar 2023 06:56: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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B0BB6335D7C
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 Mar 2023 06:56:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 023CA8E0
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 Mar 2023 06:55:59 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1678517755.9896dbad4ed392f5231e7e807ab2a5ae1bfe6aa5.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/responses/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/responses/responses-0.23.1-r1.ebuild dev-python/responses/responses-0.23.1.ebuild
X-VCS-Directories: dev-python/responses/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 9896dbad4ed392f5231e7e807ab2a5ae1bfe6aa5
X-VCS-Branch: master
Date: Sat, 11 Mar 2023 06:55:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 529c3adc-2387-480f-b977-d1ddbcde7e05
X-Archives-Hash: 3e09b406c90ceb605936fd685739b069

commit:     9896dbad4ed392f5231e7e807ab2a5ae1bfe6aa5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 06:11:41 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 06:55:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9896dbad

dev-python/responses: Strip type stub dependency

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{responses-0.23.1.ebuild => responses-0.23.1-r1.ebuild}         | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/responses/responses-0.23.1.ebuild b/dev-python/responses/responses-0.23.1-r1.ebuild
similarity index 90%
rename from dev-python/responses/responses-0.23.1.ebuild
rename to dev-python/responses/responses-0.23.1-r1.ebuild
index 1d8148d6f43d..92619e6c5b64 100644
--- a/dev-python/responses/responses-0.23.1.ebuild
+++ b/dev-python/responses/responses-0.23.1-r1.ebuild
@@ -43,6 +43,12 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+src_prepare() {
+	# remove unnecessary RDEP on type stubs
+	sed -i -e '/types-/d' setup.py || die
+	distutils-r1_src_prepare
+}
+
 python_test() {
 	epytest -p no:localserver
 }