summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-03-17 09:54:01 +0100
committerMichał Górny <mgorny@gentoo.org>2022-03-17 09:54:01 +0100
commitdc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0 (patch)
treeeb391fe73526a715a133b27d877c0f587283b659
parentdev-python/polygon: Update pypi remote-id (diff)
downloadgentoo-dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0.tar.gz
gentoo-dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0.tar.bz2
gentoo-dc0b1763c0ed633ec11a3b7bffa5cf87df5dc2f0.zip
dev-python/twisted: Do not update twisted cache for ROOT != /
Bug: https://bugs.gentoo.org/835460 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/twisted/twisted-22.2.0.ebuild13
1 files 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
}