From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1372418-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 4B53315808B
	for <garchives@archives.gentoo.org>; Fri,  4 Mar 2022 07:57:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6E09EE09DF;
	Fri,  4 Mar 2022 07:57:47 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 31E9DE09DF
	for <gentoo-commits@lists.gentoo.org>; Fri,  4 Mar 2022 07:57:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 D8A2A343281
	for <gentoo-commits@lists.gentoo.org>; Fri,  4 Mar 2022 07:57:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 514932EA
	for <gentoo-commits@lists.gentoo.org>; Fri,  4 Mar 2022 07:57:44 +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: <1646380614.b26d8560caf2b1d6da968ea1639d627f4c364979.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-functools/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild
X-VCS-Directories: dev-python/jaraco-functools/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: b26d8560caf2b1d6da968ea1639d627f4c364979
X-VCS-Branch: master
Date: Fri,  4 Mar 2022 07:57:44 +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: 2b218717-7168-4413-8a0f-ec4017b62f35
X-Archives-Hash: 029a01cb692312ac793c99560468e088

commit:     b26d8560caf2b1d6da968ea1639d627f4c364979
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  4 07:53:29 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar  4 07:56:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26d8560

dev-python/jaraco-functools: Rename dist-info for pkg_resources

Bug: https://bugs.gentoo.org/834522
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...-functools-3.5.0-r1.ebuild => jaraco-functools-3.5.0-r2.ebuild} | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild
similarity index 86%
rename from dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild
rename to dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild
index fbe54974f9ab..2e1c4bb4a95d 100644
--- a/dev-python/jaraco-functools/jaraco-functools-3.5.0-r1.ebuild
+++ b/dev-python/jaraco-functools/jaraco-functools-3.5.0-r2.ebuild
@@ -48,3 +48,10 @@ src_configure() {
 		description = "Functools like those found in stdlib"
 	EOF
 }
+
+python_install() {
+	distutils-r1_python_install
+	# rename to workaround a bug in pkg_resources
+	# https://bugs.gentoo.org/834522
+	mv "${D}$(python_get_sitedir)"/jaraco{_,.}functools-${PV}.dist-info || die
+}