diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-02-16 05:26:18 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-02-16 05:31:43 +0100 |
commit | 91d640016d97d0dee3f9d4a28b466b6141d1b9f9 (patch) | |
tree | 3b363883c4024cec09e9b4f74045aca290ce6eca /dev-util/catkin | |
parent | dev-util/catkin: Bump to 0.7.5. (diff) | |
download | gentoo-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.ebuild | 1 | ||||
-rw-r--r-- | dev-util/catkin/catkin-9999.ebuild | 1 |
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 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" |