From 91d640016d97d0dee3f9d4a28b466b6141d1b9f9 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 16 Feb 2017 05:26:18 +0100 Subject: [PATCH] dev-util/catkin: Set PYTHONPATH at configure time so that tests run against the version to install, not the installed one. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-util/catkin/catkin-0.7.5.ebuild | 1 + dev-util/catkin/catkin-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/dev-util/catkin/catkin-0.7.5.ebuild b/dev-util/catkin/catkin-0.7.5.ebuild index 6dda0014e8e6..206cc518143a 100644 --- a/dev-util/catkin/catkin-0.7.5.ebuild +++ b/dev-util/catkin/catkin-0.7.5.ebuild @@ -68,6 +68,7 @@ catkin_src_configure_internal() { } src_configure() { + export PYTHONPATH="${S}/python" local mycmakeargs=( "$(cmake-utils_use test CATKIN_ENABLE_TESTING)" "-DCATKIN_BUILD_BINARY_PACKAGE=ON" diff --git a/dev-util/catkin/catkin-9999.ebuild b/dev-util/catkin/catkin-9999.ebuild index 6dda0014e8e6..206cc518143a 100644 --- a/dev-util/catkin/catkin-9999.ebuild +++ b/dev-util/catkin/catkin-9999.ebuild @@ -68,6 +68,7 @@ catkin_src_configure_internal() { } src_configure() { + export PYTHONPATH="${S}/python" local mycmakeargs=( "$(cmake-utils_use test CATKIN_ENABLE_TESTING)" "-DCATKIN_BUILD_BINARY_PACKAGE=ON" -- 2.26.2