summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-06-15 17:38:17 -0700
committerBrian Dolbec <dolsen@gentoo.org>2017-06-15 17:42:29 -0700
commit22aa595ef8ae004509ad23fe3a6b6baa0bfe92ec (patch)
treeb15b6347f69a1b88428b30025d99df02fd5a053e /dev-python
parentperl-core/podlators: Drop keywords (diff)
downloadgentoo-22aa595ef8ae004509ad23fe3a6b6baa0bfe92ec.tar.gz
gentoo-22aa595ef8ae004509ad23fe3a6b6baa0bfe92ec.tar.bz2
gentoo-22aa595ef8ae004509ad23fe3a6b6baa0bfe92ec.zip
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
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/autobahn/autobahn-0.16.0.ebuild7
-rw-r--r--dev-python/autobahn/autobahn-17.5.1.ebuild5
2 files changed, 11 insertions, 1 deletions
diff --git a/dev-python/autobahn/autobahn-0.16.0.ebuild b/dev-python/autobahn/autobahn-0.16.0.ebuild
index 6daae09d86a0..9cc6b9581cad 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 9c6160c20975..bd3ca434ee92 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
+}