commit:     dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 08:54:01 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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
 }
 

Reply via email to