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 6D3EF15808B for ; Thu, 17 Mar 2022 08:54:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 933F2E0833; Thu, 17 Mar 2022 08:54:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 01C03E0833 for ; Thu, 17 Mar 2022 08:54:38 +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 A59483435BD for ; Thu, 17 Mar 2022 08:54:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89B062EA for ; Thu, 17 Mar 2022 08:54:34 +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: <1647507241.dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/twisted/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/twisted/twisted-22.2.0.ebuild X-VCS-Directories: dev-python/twisted/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0 X-VCS-Branch: master Date: Thu, 17 Mar 2022 08:54:34 +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: 426c35e1-2782-4c25-88f6-8ceb281becdc X-Archives-Hash: 2c91f42c20fa645304fe3154e5d20ca5 commit: dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 17 08:54:01 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 17 08:54:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0b1763 dev-python/twisted: Do not update twisted cache for ROOT != / Bug: https://bugs.gentoo.org/835460 Signed-off-by: Michał Górny gentoo.org> dev-python/twisted/twisted-22.2.0.ebuild | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dev-python/twisted/twisted-22.2.0.ebuild b/dev-python/twisted/twisted-22.2.0.ebuild index 1154f5d8c6ad..6c2dcb735c72 100644 --- a/dev-python/twisted/twisted-22.2.0.ebuild +++ b/dev-python/twisted/twisted-22.2.0.ebuild @@ -134,17 +134,8 @@ python_postinst() { } pkg_postinst() { - python_foreach_impl python_postinst - - einfo "Install complete" - if use test ; then - einfo "" - einfo "Some tests have been disabled during testing due to" - einfo "known incompatibilities with the emerge sandboxes and/or" - einfo "not runnable as the root user." - einfo "For a complete test suite run on the code." - einfo "Run the tests as a normal user for each python it is installed to." - einfo " ie: $ python3.6 /usr/bin/trial twisted" + if [[ -z ${ROOT} ]]; then + python_foreach_impl python_postinst fi }