From 548c1482c748845e3dac7351d2e622fdce5727f4 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sun, 14 Feb 2021 14:14:46 -0500 Subject: dev-python/autobahn: Fix tinderbox sandbox issue Closes: https://bugs.gentoo.org/753338 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Brian Dolbec --- dev-python/autobahn/autobahn-21.2.1.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'dev-python/autobahn') diff --git a/dev-python/autobahn/autobahn-21.2.1.ebuild b/dev-python/autobahn/autobahn-21.2.1.ebuild index 8cc01e514d37..78281c5cf7a4 100644 --- a/dev-python/autobahn/autobahn-21.2.1.ebuild +++ b/dev-python/autobahn/autobahn-21.2.1.ebuild @@ -72,6 +72,11 @@ python_prepare_all() { # remove xbr components export AUTOBAHN_STRIP_XBR="True" fi + # remove twisted plugin cache regen in setup.py + # to fix tinderbox sandbox issue + sed -e 's/# regenerate Twisted plugin cache/# DO NOT regenerate Twisted plugin cache in Gentoo\nexit()/' \ + -i setup.py || die + distutils-r1_python_prepare_all } @@ -89,13 +94,6 @@ python_test() { rm -r .pytest_cache || die } -python_install_all() { - distutils-r1_python_install_all - - # delete the dropin.cache so we don't have collisions if it exists - rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache > /dev/null -} - pkg_postinst() { python_foreach_impl twisted-regen-cache || die } -- cgit v1.2.3-65-gdbad