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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 55FD71382C5 for ; Sun, 14 Feb 2021 19:15:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A49E2E08C3; Sun, 14 Feb 2021 19:15:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BDD0E08C3 for ; Sun, 14 Feb 2021 19:15:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5035533FD3F for ; Sun, 14 Feb 2021 19:15:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9973DB9 for ; Sun, 14 Feb 2021 19:15:35 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1613330125.548c1482c748845e3dac7351d2e622fdce5727f4.dolsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autobahn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/autobahn/autobahn-21.2.1.ebuild X-VCS-Directories: dev-python/autobahn/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 548c1482c748845e3dac7351d2e622fdce5727f4 X-VCS-Branch: master Date: Sun, 14 Feb 2021 19:15:35 +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: b78fee4a-0af2-41ea-9e82-dd8084579385 X-Archives-Hash: 149b69910d41c2af5b92d1890f14f0ce commit: 548c1482c748845e3dac7351d2e622fdce5727f4 Author: Brian Dolbec gentoo org> AuthorDate: Sun Feb 14 19:14:46 2021 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sun Feb 14 19:15:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548c1482 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 gentoo.org> dev-python/autobahn/autobahn-21.2.1.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/dev-python/autobahn/autobahn-21.2.1.ebuild b/dev-python/autobahn/autobahn-21.2.1.ebuild index 8cc01e514d3..78281c5cf7a 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 }