dev-util/catkin: Set PYTHONPATH at configure time so that tests run against the versi...
authorAlexis Ballier <aballier@gentoo.org>
Thu, 16 Feb 2017 04:26:18 +0000 (05:26 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 16 Feb 2017 04:31:43 +0000 (05:31 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-util/catkin/catkin-0.7.5.ebuild
dev-util/catkin/catkin-9999.ebuild

index 6dda0014e8e6b7ee5343132abb010c3856db771b..206cc518143a8495a262a45d1df2c4764f655e45 100644 (file)
@@ -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"
index 6dda0014e8e6b7ee5343132abb010c3856db771b..206cc518143a8495a262a45d1df2c4764f655e45 100644 (file)
@@ -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"