Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/gazebo_plugins/
Date: Sun, 28 Jan 2018 12:54:53
Message-Id: 1517144074.4991b04dd4102116b405a9df7e8007fccd271102.aballier@gentoo
1 commit: 4991b04dd4102116b405a9df7e8007fccd271102
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 28 12:51:54 2018 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 12:54:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4991b04d
7
8 dev-ros/gazebo_plugins: backport upstream fixes to build with gazebo 9
9
10 Package-Manager: Portage-2.3.20, Repoman-2.3.6
11
12 dev-ros/gazebo_plugins/Manifest | 1 +
13 dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild | 11 ++++++++++-
14 2 files changed, 11 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-ros/gazebo_plugins/Manifest b/dev-ros/gazebo_plugins/Manifest
17 index a0d2a406e41..607f672d3bf 100644
18 --- a/dev-ros/gazebo_plugins/Manifest
19 +++ b/dev-ros/gazebo_plugins/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST gazebo-ros-2.7.3-patches-1.tar.bz2 19057 BLAKE2B ee8040e7f25d734d31c32963d47601b908b153a55294e736e49d1a10ea14a9ed74133e547eb1abf5d50ee70814f6b3476433e835cc604798057cb9d5a698a3aa SHA512 12ec281277f83c7a267fc111ec029b732435f50f320c74255eeb8e8ea7b38aa8771d08c9815d6525b22b7f2fe706aae087a33591082cddbcf7a46742a35ae0fb
22 DIST gazebo_ros_pkgs-2.6.2.tar.gz 1830633 BLAKE2B 8365084619d57d8427753e33d4a3128162c44b10552166c7070eaabde3f806cee9981c60b30b18b6cbe80b83e2871b0100b51329a1a6bd9747320245f21ec1a4 SHA512 f932eebbc88f4922c0275625d50ad5723446744cbf4a59138437d9bdd75a9b5232fdf8df2012460313eb2224d4287daebc3a28181ab3f1b81e67d70a8b8ed5d3
23 DIST gazebo_ros_pkgs-2.7.3.tar.gz 1836260 BLAKE2B 7867bec1461769923ba36ea2e56b21d85cf1db254cd50a028af5953fe1b5373015b68785a90d242e245d12a2da2c7a8ff26db66c0c466e6a6e029fbb74340a06 SHA512 66590a248f0813ab0f2a80df234f9dd8d448c500726b62d3fc74397d3a618d6fae994c3e463bb0c4a8892cef35ba1729229c471f3d21d4b3a2091d5ad74cc33b
24
25 diff --git a/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild b/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild
26 index ef6837eae89..76ce67a6f0b 100644
27 --- a/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild
28 +++ b/dev-ros/gazebo_plugins/gazebo_plugins-2.7.3.ebuild
29 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
30 CATKIN_HAS_MESSAGES=yes
31 ROS_SUBDIR=${PN}
32
33 -inherit ros-catkin
34 +inherit ros-catkin eutils
35
36 DESCRIPTION="Robot-independent Gazebo plugins for sensors, motors and dynamic reconfigurable components"
37 LICENSE="BSD Apache-2.0"
38 @@ -51,3 +51,12 @@ RDEPEND="
39 dev-ros/roslib[${PYTHON_USEDEP}]
40 "
41 DEPEND="${RDEPEND}"
42 +SRC_URI="${SRC_URI}
43 + mirror://gentoo/gazebo-ros-2.7.3-patches-1.tar.bz2"
44 +
45 +src_prepare() {
46 + pushd "${WORKDIR}/gazebo_ros_pkgs-${PV}" || die
47 + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
48 + popd || die
49 + ros-catkin_src_prepare
50 +}