From: Alexis Ballier Date: Thu, 16 Feb 2017 04:26:18 +0000 (+0100) Subject: dev-util/catkin: Set PYTHONPATH at configure time so that tests run against the versi... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91d640016d97d0dee3f9d4a28b466b6141d1b9f9;p=gentoo.git 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 --- 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"