summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-28 11:43:53 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-28 12:26:50 +0100
commit4c5dced023349a27c314bee6b41cb08b6cd18390 (patch)
tree2fced9244eded28f66e588a330e84163dc1f58d0 /dev-python
parentsci-libs/orocos_kdl: Install package.xml in our custom gentoo path from ebuil... (diff)
downloadgentoo-4c5dced023349a27c314bee6b41cb08b6cd18390.tar.gz
gentoo-4c5dced023349a27c314bee6b41cb08b6cd18390.tar.bz2
gentoo-4c5dced023349a27c314bee6b41cb08b6cd18390.zip
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
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python_orocos_kdl/python_orocos_kdl-1.3.1-r1.ebuild5
-rw-r--r--dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-python/python_orocos_kdl/python_orocos_kdl-1.3.1-r1.ebuild b/dev-python/python_orocos_kdl/python_orocos_kdl-1.3.1-r1.ebuild
index 227c40d706f..c8144ed108e 100644
--- a/dev-python/python_orocos_kdl/python_orocos_kdl-1.3.1-r1.ebuild
+++ b/dev-python/python_orocos_kdl/python_orocos_kdl-1.3.1-r1.ebuild
@@ -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"
}
diff --git a/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild b/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild
index 89a4b94a288..c8144ed108e 100644
--- a/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild
+++ b/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild
@@ -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"
}