Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autobahn/
Date: Sun, 10 May 2020 08:20:52
Message-Id: 1589098836.72b922ab23b2ec71d654da5099072110b739e49f.dolsen@gentoo
1 commit: 72b922ab23b2ec71d654da5099072110b739e49f
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 10 08:11:32 2020 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Sun May 10 08:20:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b922ab
7
8 dev-python/autobahn: Ignore possible file doesn't exist error
9
10 When upgrading from older autobahn versions, the twisted plugin cache
11 is not updated in the build environment. So ignore the error, allow it to fail
12 with a file collision if it failed to delete it and it still exists.
13
14 bug: https://bugs.gentoo.org/721986
15
16 Package-Manager: Portage-2.3.99, Repoman-2.3.22
17 Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
18
19 dev-python/autobahn/autobahn-20.4.3.ebuild | 4 ++--
20 1 file changed, 2 insertions(+), 2 deletions(-)
21
22 diff --git a/dev-python/autobahn/autobahn-20.4.3.ebuild b/dev-python/autobahn/autobahn-20.4.3.ebuild
23 index b9380e38dc9..396e8da241b 100644
24 --- a/dev-python/autobahn/autobahn-20.4.3.ebuild
25 +++ b/dev-python/autobahn/autobahn-20.4.3.ebuild
26 @@ -71,8 +71,8 @@ python_test() {
27 python_install_all() {
28 distutils-r1_python_install_all
29
30 - # delete the dropin.cache so we don't have collisions
31 - rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache || die
32 + # delete the dropin.cache so we don't have collisions if it exists
33 + rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache > /dev/null
34 }
35
36 pkg_postinst() {