Skip to content

Commit

Permalink
dev-util/catkin: Set PYTHONPATH at configure time so that tests run a…
Browse files Browse the repository at this point in the history
…gainst the version to install, not the installed one.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
aballier committed Feb 16, 2017
1 parent 58e6135 commit 91d6400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/catkin/catkin-0.7.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions dev-util/catkin/catkin-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 91d6400

Please sign in to comment.