commit:     c7f78999ea9d5db7ef747956487231d0a76792d9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  2 09:57:20 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov  2 11:47:12 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f78999

dev-python/matplotlib: Unset DISPLAY during build to fix sandbox problems

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564296

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/matplotlib/matplotlib-1.4.2.ebuild | 1 +
 dev-python/matplotlib/matplotlib-1.4.3.ebuild | 1 +
 dev-python/matplotlib/matplotlib-1.5.0.ebuild | 1 +
 dev-python/matplotlib/matplotlib-9999.ebuild  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/dev-python/matplotlib/matplotlib-1.4.2.ebuild 
b/dev-python/matplotlib/matplotlib-1.4.2.ebuild
index defc79b..f5b16b1 100644
--- a/dev-python/matplotlib/matplotlib-1.4.2.ebuild
+++ b/dev-python/matplotlib/matplotlib-1.4.2.ebuild
@@ -202,6 +202,7 @@ python_configure() {
 wrap_setup() {
        local MPLSETUPCFG=${BUILD_DIR}/setup.cfg
        export MPLSETUPCFG
+       unset DISPLAY
 
        # Note: remove build... if switching to out-of-source build
        "${@}" build --build-lib="${BUILD_DIR}"/build/lib

diff --git a/dev-python/matplotlib/matplotlib-1.4.3.ebuild 
b/dev-python/matplotlib/matplotlib-1.4.3.ebuild
index a31fa3f..86adcbf 100644
--- a/dev-python/matplotlib/matplotlib-1.4.3.ebuild
+++ b/dev-python/matplotlib/matplotlib-1.4.3.ebuild
@@ -219,6 +219,7 @@ python_configure() {
 wrap_setup() {
        local MPLSETUPCFG=${BUILD_DIR}/setup.cfg
        export MPLSETUPCFG
+       unset DISPLAY
 
        # Note: remove build... if switching to out-of-source build
        "${@}" build --build-lib="${BUILD_DIR}"/build/lib

diff --git a/dev-python/matplotlib/matplotlib-1.5.0.ebuild 
b/dev-python/matplotlib/matplotlib-1.5.0.ebuild
index f644ffe..cc6fe7e 100644
--- a/dev-python/matplotlib/matplotlib-1.5.0.ebuild
+++ b/dev-python/matplotlib/matplotlib-1.5.0.ebuild
@@ -224,6 +224,7 @@ python_configure() {
 wrap_setup() {
        local MPLSETUPCFG=${BUILD_DIR}/setup.cfg
        export MPLSETUPCFG
+       unset DISPLAY
 
        # Note: remove build... if switching to out-of-source build
        "${@}" build --build-lib="${BUILD_DIR}"/build/lib

diff --git a/dev-python/matplotlib/matplotlib-9999.ebuild 
b/dev-python/matplotlib/matplotlib-9999.ebuild
index 64665e7..a62eac5 100644
--- a/dev-python/matplotlib/matplotlib-9999.ebuild
+++ b/dev-python/matplotlib/matplotlib-9999.ebuild
@@ -215,6 +215,7 @@ python_configure() {
 wrap_setup() {
        local MPLSETUPCFG=${BUILD_DIR}/setup.cfg
        export MPLSETUPCFG
+       unset DISPLAY
 
        # Note: remove build... if switching to out-of-source build
        "${@}" build --build-lib="${BUILD_DIR}"/build/lib

Reply via email to