summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-16 05:26:18 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-16 05:31:43 +0100
commit91d640016d97d0dee3f9d4a28b466b6141d1b9f9 (patch)
tree3b363883c4024cec09e9b4f74045aca290ce6eca /dev-util/catkin
parentdev-util/catkin: Bump to 0.7.5. (diff)
downloadgentoo-91d640016d97d0dee3f9d4a28b466b6141d1b9f9.tar.gz
gentoo-91d640016d97d0dee3f9d4a28b466b6141d1b9f9.tar.bz2
gentoo-91d640016d97d0dee3f9d4a28b466b6141d1b9f9.zip
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
Diffstat (limited to 'dev-util/catkin')
-rw-r--r--dev-util/catkin/catkin-0.7.5.ebuild1
-rw-r--r--dev-util/catkin/catkin-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/dev-util/catkin/catkin-0.7.5.ebuild b/dev-util/catkin/catkin-0.7.5.ebuild
index 6dda0014e8e..206cc518143 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 6dda0014e8e..206cc518143 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"