mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/python_orocos_kdl: install package.xml in /usr/share/ros_packages/$PN
Package-Manager: portage-2.3.1
This commit is contained in:
11
dev-python/python_orocos_kdl/files/gentoo.patch
Normal file
11
dev-python/python_orocos_kdl/files/gentoo.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
Index: python_orocos_kdl/CMakeLists.txt
|
||||
===================================================================
|
||||
--- python_orocos_kdl.orig/CMakeLists.txt
|
||||
+++ python_orocos_kdl/CMakeLists.txt
|
||||
@@ -21,4 +21,4 @@ set(SIP_EXTRA_OPTIONS "-o")
|
||||
set(PYTHON_SITE_PACKAGES_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${PYTHON_SITE_PACKAGES})
|
||||
add_sip_python_module(PyKDL PyKDL/PyKDL.sip ${orocos_kdl_LIBRARIES})
|
||||
|
||||
-install(FILES package.xml DESTINATION share/python_orocos_kdl)
|
||||
\ No newline at end of file
|
||||
+install(FILES package.xml DESTINATION share/ros_packages/python_orocos_kdl)
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -32,7 +32,7 @@ RDEPEND="
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/py3.patch" )
|
||||
PATCHES=( "${FILESDIR}/py3.patch" "${FILESDIR}/gentoo.patch" )
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
S=${WORKDIR}/${P}/python_orocos_kdl
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -32,6 +32,7 @@ RDEPEND="
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/gentoo.patch" )
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
S=${WORKDIR}/${P}/python_orocos_kdl
|
||||
|
||||
Reference in New Issue
Block a user