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:
Alexis Ballier
2017-02-28 11:43:53 +01:00
parent f44f9b5211
commit 4c5dced023
2 changed files with 9 additions and 3 deletions

View File

@@ -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"
}

View File

@@ -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"
}