summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-23 10:31:52 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-23 10:44:52 +0100
commit2eea25efd90d77eff2d6d56d6c9944097e78d615 (patch)
tree66c6eb9020d5a615779859d11f7889365daa3eb2 /dev-util/catkin/files
parentdev-util/catkin: remove old (diff)
downloadgentoo-2eea25efd90d77eff2d6d56d6c9944097e78d615.tar.gz
gentoo-2eea25efd90d77eff2d6d56d6c9944097e78d615.tar.bz2
gentoo-2eea25efd90d77eff2d6d56d6c9944097e78d615.zip
dev-util/catkin: Add pypy support.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-util/catkin/files')
-rw-r--r--dev-util/catkin/files/sitedir.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/catkin/files/sitedir.patch b/dev-util/catkin/files/sitedir.patch
new file mode 100644
index 00000000000..61fcad29d04
--- /dev/null
+++ b/dev-util/catkin/files/sitedir.patch
@@ -0,0 +1,15 @@
+Pass --install-lib to setup.py install.
+pypy installs in /usr/site-packages otherwise...
+
+Index: catkin-0.7.6/cmake/templates/python_distutils_install.sh.in
+===================================================================
+--- catkin-0.7.6.orig/cmake/templates/python_distutils_install.sh.in
++++ catkin-0.7.6/cmake/templates/python_distutils_install.sh.in
+@@ -30,4 +30,6 @@ echo_and_run /usr/bin/env \
+ build --build-base "@CMAKE_CURRENT_BINARY_DIR@" \
+ install \
+ $DESTDIR_ARG \
+- @SETUPTOOLS_ARG_EXTRA@ --prefix="@CMAKE_INSTALL_PREFIX@" --install-scripts="${PYTHON_SCRIPTDIR:-@CMAKE_INSTALL_PREFIX@/@CATKIN_GLOBAL_BIN_DESTINATION@}"
++ @SETUPTOOLS_ARG_EXTRA@ --prefix="@CMAKE_INSTALL_PREFIX@" \
++ --install-scripts="${PYTHON_SCRIPTDIR:-@CMAKE_INSTALL_PREFIX@/@CATKIN_GLOBAL_BIN_DESTINATION@}" \
++ --install-lib="@CMAKE_INSTALL_PREFIX@/@PYTHON_INSTALL_DIR@"