dev-python/autobahn: Fix intermittent ACCESS VIOLATION
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 16 Jun 2017 00:38:17 +0000 (17:38 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Fri, 16 Jun 2017 00:42:29 +0000 (17:42 -0700)
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
dev-python/autobahn/autobahn-17.5.1.ebuild

index 6daae09d86a0f636f461116d64e64c2e2680b9d3..9cc6b9581cad5550a6b36033c8f638d83d25b6d6 100644 (file)
@@ -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
+}
index 9c6160c209752a15c2cca0215bce443d3a7f8486..bd3ca434ee92a848cc59446f591ac4d0566c3388 100644 (file)
@@ -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
+}