mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-27 21:48:16 -07:00
dev-python/python_orocos_kdl: Install package.xml in our custom gentoo path from ebuild instead of patching
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -32,7 +32,6 @@ RDEPEND="
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/gentoo.patch" )
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
S=${WORKDIR}/${P}/python_orocos_kdl
|
||||
@@ -54,4 +53,8 @@ src_test() {
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl cmake-utils_src_install
|
||||
|
||||
# Need to have package.xml in our custom gentoo path
|
||||
insinto /usr/share/ros_packages/${PN}
|
||||
doins "${ED}/usr/share/${PN}/package.xml"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -32,7 +32,6 @@ RDEPEND="
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/gentoo.patch" )
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
S=${WORKDIR}/${P}/python_orocos_kdl
|
||||
@@ -54,4 +53,8 @@ src_test() {
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl cmake-utils_src_install
|
||||
|
||||
# Need to have package.xml in our custom gentoo path
|
||||
insinto /usr/share/ros_packages/${PN}
|
||||
doins "${ED}/usr/share/${PN}/package.xml"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user