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/filters/, dev-ros/filters/files/
Date: Tue, 22 Sep 2015 19:22:20
Message-Id: 1442949728.afa5c8cb58bbb2d4b5024a9b24c8a1880a7fa730.aballier@gentoo
1 commit: afa5c8cb58bbb2d4b5024a9b24c8a1880a7fa730
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 22 19:18:12 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 22 19:22:08 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa5c8cb
7
8 dev-ros/filters: Initial import. Ebuild by me.
9
10 Package-Manager: portage-2.2.21
11
12 dev-ros/filters/Manifest | 1 +
13 dev-ros/filters/files/tests.patch | 23 +++++++++++++++++++++++
14 dev-ros/filters/filters-1.7.4.ebuild | 21 +++++++++++++++++++++
15 dev-ros/filters/filters-9999.ebuild | 21 +++++++++++++++++++++
16 dev-ros/filters/metadata.xml | 5 +++++
17 5 files changed, 71 insertions(+)
18
19 diff --git a/dev-ros/filters/Manifest b/dev-ros/filters/Manifest
20 new file mode 100644
21 index 0000000..a63337f
22 --- /dev/null
23 +++ b/dev-ros/filters/Manifest
24 @@ -0,0 +1 @@
25 +DIST filters-1.7.4.tar.gz 16979 SHA256 fb71f1fbeaf89726877fce66dce1db8957c5cc6dffa1973d6a104a10233f8237 SHA512 74a0b64b7225f0b28e369f58fe9e5d639ed80acd18db849b1519e725b7566e6299b01e07559105c3072a781ba56b54d6a5887b02145700e046aeeb2740cbcc80 WHIRLPOOL 336f915d81b52f5b56d55026478ed60d3aa4a67cf281368213b446046edaf8b092f006818dbd54a7f7dc87b5575eda565d5ab8845b1c2f5e5be6d13ea24b3876
26
27 diff --git a/dev-ros/filters/files/tests.patch b/dev-ros/filters/files/tests.patch
28 new file mode 100644
29 index 0000000..ee1f862
30 --- /dev/null
31 +++ b/dev-ros/filters/files/tests.patch
32 @@ -0,0 +1,23 @@
33 +Upstream status: Merged.
34 +https://github.com/ros/filters/commit/2607c82034cdfbf96fe372c9637b0133b6ba6970
35 +
36 +Index: filters-1.7.4/CMakeLists.txt
37 +===================================================================
38 +--- filters-1.7.4.orig/CMakeLists.txt
39 ++++ filters-1.7.4/CMakeLists.txt
40 +@@ -40,6 +40,7 @@ target_link_libraries(median ${catkin_LI
41 + add_library(transfer_function src/transfer_function.cpp)
42 + target_link_libraries(transfer_function ${catkin_LIBRARIES} ${Boost_LIBRARIES})
43 +
44 ++if(CATKIN_ENABLE_TESTING)
45 + # Test median filter
46 + add_executable(median_test EXCLUDE_FROM_ALL test/test_median.cpp )
47 + target_link_libraries(median_test median ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${GTEST_LIBRARIES})
48 +@@ -67,6 +68,7 @@ add_rostest(test/test_chain.launch)
49 +
50 + # Test realtime safe buffer class
51 + catkin_add_gtest(realtime_buffer_test EXCLUDE_FROM_ALL test/test_realtime_circular_buffer.cpp)
52 ++endif()
53 +
54 + ##############################################################################
55 + # Install
56
57 diff --git a/dev-ros/filters/filters-1.7.4.ebuild b/dev-ros/filters/filters-1.7.4.ebuild
58 new file mode 100644
59 index 0000000..4b50ee0
60 --- /dev/null
61 +++ b/dev-ros/filters/filters-1.7.4.ebuild
62 @@ -0,0 +1,21 @@
63 +# Copyright 1999-2014 Gentoo Foundation
64 +# Distributed under the terms of the GNU General Public License v2
65 +# $Id$
66 +
67 +EAPI=5
68 +
69 +ROS_REPO_URI="https://github.com/ros/filters"
70 +KEYWORDS="~amd64 ~arm"
71 +
72 +inherit ros-catkin
73 +
74 +DESCRIPTION="Standardized interface for processing data as a sequence of filters"
75 +LICENSE="BSD"
76 +SLOT="0"
77 +IUSE=""
78 +
79 +RDEPEND="dev-ros/roscpp
80 + dev-ros/pluginlib"
81 +DEPEND="${RDEPEND}
82 + test? ( dev-ros/rostest dev-cpp/gtest )"
83 +PATCHES=( "${FILESDIR}/tests.patch" )
84
85 diff --git a/dev-ros/filters/filters-9999.ebuild b/dev-ros/filters/filters-9999.ebuild
86 new file mode 100644
87 index 0000000..4b50ee0
88 --- /dev/null
89 +++ b/dev-ros/filters/filters-9999.ebuild
90 @@ -0,0 +1,21 @@
91 +# Copyright 1999-2014 Gentoo Foundation
92 +# Distributed under the terms of the GNU General Public License v2
93 +# $Id$
94 +
95 +EAPI=5
96 +
97 +ROS_REPO_URI="https://github.com/ros/filters"
98 +KEYWORDS="~amd64 ~arm"
99 +
100 +inherit ros-catkin
101 +
102 +DESCRIPTION="Standardized interface for processing data as a sequence of filters"
103 +LICENSE="BSD"
104 +SLOT="0"
105 +IUSE=""
106 +
107 +RDEPEND="dev-ros/roscpp
108 + dev-ros/pluginlib"
109 +DEPEND="${RDEPEND}
110 + test? ( dev-ros/rostest dev-cpp/gtest )"
111 +PATCHES=( "${FILESDIR}/tests.patch" )
112
113 diff --git a/dev-ros/filters/metadata.xml b/dev-ros/filters/metadata.xml
114 new file mode 100644
115 index 0000000..c42ea5b
116 --- /dev/null
117 +++ b/dev-ros/filters/metadata.xml
118 @@ -0,0 +1,5 @@
119 +<?xml version="1.0" encoding="UTF-8"?>
120 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
121 +<pkgmetadata>
122 +<herd>ros</herd>
123 +</pkgmetadata>