commit: 22aa595ef8ae004509ad23fe3a6b6baa0bfe92ec
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 00:38:17 2017 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 00:42:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22aa595e
dev-python/autobahn: Fix intermittent ACCESS VIOLATION
A twisted/plugins/ addition was triggerring a twisted cache update.
Causing:
* ACCESS DENIED: open_wr:
/usr/lib64/python3.6/site-packages/twisted/plugins/VAd-OChNHI-C28Rfdropin.cache.new
Package-Manager: Portage-2.3.6_p2, Repoman-2.3.2_p70
dev-python/autobahn/autobahn-0.16.0.ebuild | 7 ++++++-
dev-python/autobahn/autobahn-17.5.1.ebuild | 5 +++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dev-python/autobahn/autobahn-0.16.0.ebuild
b/dev-python/autobahn/autobahn-0.16.0.ebuild
index 6daae09d86a..9cc6b9581ca 100644
--- a/dev-python/autobahn/autobahn-0.16.0.ebuild
+++ b/dev-python/autobahn/autobahn-0.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -55,3 +55,8 @@ S="${WORKDIR}"/${MY_P}
python_test() {
esetup.py test
}
+
+python_compile() {
+ addpredict "$(python_get_sitedir)"
+ distutils-r1_python_compile
+}
diff --git a/dev-python/autobahn/autobahn-17.5.1.ebuild
b/dev-python/autobahn/autobahn-17.5.1.ebuild
index 9c6160c2097..bd3ca434ee9 100644
--- a/dev-python/autobahn/autobahn-17.5.1.ebuild
+++ b/dev-python/autobahn/autobahn-17.5.1.ebuild
@@ -55,3 +55,8 @@ python_test() {
cd "${BUILD_DIR}"/lib || die
py.test -v || die
}
+
+python_compile() {
+ addpredict "$(python_get_sitedir)"
+ distutils-r1_python_compile
+}