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 9AB5D15808B for ; 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 D8FD8E09EE; Fri, 4 Mar 2022 07:57:47 +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 B51A4E09EE for ; 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 1544934329A for ; Fri, 4 Mar 2022 07:57:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DAEA287 for ; Fri, 4 Mar 2022 07:57:44 +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: <1646380611.6826f591416a13631c62aec8ee4bb563e295c7a2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-context/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild X-VCS-Directories: dev-python/jaraco-context/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6826f591416a13631c62aec8ee4bb563e295c7a2 X-VCS-Branch: master Date: Fri, 4 Mar 2022 07:57:44 +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: 76c0718e-0c3e-4cbc-9d92-feb54b292231 X-Archives-Hash: d028641a41b386ef1c3dd80cdea26091 commit: 6826f591416a13631c62aec8ee4bb563e295c7a2 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 4 07:50:33 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 4 07:56:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6826f591 dev-python/jaraco-context: Rename dist-info for pkg_resources Bug: https://bugs.gentoo.org/834522 Signed-off-by: Michał Górny gentoo.org> ...raco-context-4.1.1-r1.ebuild => jaraco-context-4.1.1-r2.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild b/dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild similarity index 83% rename from dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild rename to dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild index b7f36c26be0e..38c43218c585 100644 --- a/dev-python/jaraco-context/jaraco-context-4.1.1-r1.ebuild +++ b/dev-python/jaraco-context/jaraco-context-4.1.1-r2.ebuild @@ -36,3 +36,10 @@ src_configure() { description = "Context managers by jaraco" 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{_,.}context-${PV}.dist-info || die +}