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 D25E515808B 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 0A7B4E0A6E; Fri, 4 Mar 2022 07:57:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E3984E0A6E 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 DF2E5343299 for ; Fri, 4 Mar 2022 07:57:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 656F82FE 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: <1646380617.5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-text/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild X-VCS-Directories: dev-python/jaraco-text/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240 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: 1489704f-b5ec-4442-8c26-079a1d7b2580 X-Archives-Hash: d7f733f1cc926864f4b9a12eae1414c5 commit: 5b68e88a901e7ac4a2f44f1d4dfec654d2fd8240 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 4 07:54:27 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 4 07:56:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b68e88a dev-python/jaraco-text: Rename dist-info for pkg_resources Bug: https://bugs.gentoo.org/834522 Signed-off-by: Michał Górny gentoo.org> .../{jaraco-text-3.7.0-r1.ebuild => jaraco-text-3.7.0-r2.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild similarity index 87% rename from dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild rename to dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild index 85034eb2a60f..03319444e8f2 100644 --- a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild +++ b/dev-python/jaraco-text/jaraco-text-3.7.0-r2.ebuild @@ -47,3 +47,10 @@ src_configure() { description = "Module for text manipulation" 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{_,.}text-${PV}.dist-info || die +}