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/timestamp_tools/files/, dev-ros/timestamp_tools/
Date: Wed, 23 Sep 2015 12:52:35
Message-Id: 1443010834.ced5dc9d8187906c45905dda3cd43681d6f29799.aballier@gentoo
1 commit: ced5dc9d8187906c45905dda3cd43681d6f29799
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 23 12:20:34 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 12:20:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced5dc9d
7
8 dev-ros/timestamp_tools: Initial import. Ebuild by me.
9
10 Package-Manager: portage-2.2.21
11
12 dev-ros/timestamp_tools/Manifest | 1 +
13 dev-ros/timestamp_tools/files/tests.patch | 14 +++++++++++++
14 dev-ros/timestamp_tools/metadata.xml | 5 +++++
15 .../timestamp_tools/timestamp_tools-1.6.8.ebuild | 23 ++++++++++++++++++++++
16 .../timestamp_tools/timestamp_tools-9999.ebuild | 23 ++++++++++++++++++++++
17 5 files changed, 66 insertions(+)
18
19 diff --git a/dev-ros/timestamp_tools/Manifest b/dev-ros/timestamp_tools/Manifest
20 new file mode 100644
21 index 0000000..b6adff0
22 --- /dev/null
23 +++ b/dev-ros/timestamp_tools/Manifest
24 @@ -0,0 +1 @@
25 +DIST driver_common-1.6.8.tar.gz 15055 SHA256 74b0464902b3853ff24a2a126767c8fbec2e901b9cd86756e00efaa902e14eaa SHA512 b698143d08785088ac13e62f5b96676bd590a84e4ffb147fa3698be6a8ded510f648d043ecdc1d31ba7b95fb3041d06ee1a39b224c359b8612adebdba259d188 WHIRLPOOL 918b11d2b5d8f90990b7545b992e27b1ae00777c6cc917414b817e9b8909b38e54f808d9bd9477fbf24fddbca08c61543e95d2b5eeb676a776e2fa7682de9958
26
27 diff --git a/dev-ros/timestamp_tools/files/tests.patch b/dev-ros/timestamp_tools/files/tests.patch
28 new file mode 100644
29 index 0000000..c73d09a
30 --- /dev/null
31 +++ b/dev-ros/timestamp_tools/files/tests.patch
32 @@ -0,0 +1,14 @@
33 +Index: driver_common-1.6.8/timestamp_tools/CMakeLists.txt
34 +===================================================================
35 +--- driver_common-1.6.8.orig/timestamp_tools/CMakeLists.txt
36 ++++ driver_common-1.6.8/timestamp_tools/CMakeLists.txt
37 +@@ -17,5 +17,7 @@ install(DIRECTORY include/${PROJECT_NAME
38 + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
39 + FILES_MATCHING PATTERN "*.h")
40 +
41 ++if(CATKIN_ENABLE_TESTING)
42 + catkin_add_gtest(test_trigger_matcher test/test_trigger_matcher.cpp)
43 +-target_link_libraries(test_trigger_matcher ${catkin_LIBRARIES})
44 +\ No newline at end of file
45 ++target_link_libraries(test_trigger_matcher ${catkin_LIBRARIES})
46 ++endif()
47
48 diff --git a/dev-ros/timestamp_tools/metadata.xml b/dev-ros/timestamp_tools/metadata.xml
49 new file mode 100644
50 index 0000000..c42ea5b
51 --- /dev/null
52 +++ b/dev-ros/timestamp_tools/metadata.xml
53 @@ -0,0 +1,5 @@
54 +<?xml version="1.0" encoding="UTF-8"?>
55 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
56 +<pkgmetadata>
57 +<herd>ros</herd>
58 +</pkgmetadata>
59
60 diff --git a/dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild b/dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild
61 new file mode 100644
62 index 0000000..ff904893
63 --- /dev/null
64 +++ b/dev-ros/timestamp_tools/timestamp_tools-1.6.8.ebuild
65 @@ -0,0 +1,23 @@
66 +# Copyright 1999-2014 Gentoo Foundation
67 +# Distributed under the terms of the GNU General Public License v2
68 +# $Id$
69 +
70 +EAPI=5
71 +ROS_REPO_URI="https://github.com/ros-drivers/driver_common"
72 +KEYWORDS="~amd64 ~arm"
73 +ROS_SUBDIR=${PN}
74 +
75 +inherit ros-catkin
76 +
77 +DESCRIPTION="Classes to help timestamp hardware events"
78 +LICENSE="BSD"
79 +SLOT="0"
80 +IUSE=""
81 +
82 +RDEPEND="
83 + dev-ros/roslib
84 + dev-ros/roscpp
85 +"
86 +DEPEND="${RDEPEND}
87 + test? ( dev-cpp/gtest )"
88 +PATCHES=( "${FILESDIR}/tests.patch" )
89
90 diff --git a/dev-ros/timestamp_tools/timestamp_tools-9999.ebuild b/dev-ros/timestamp_tools/timestamp_tools-9999.ebuild
91 new file mode 100644
92 index 0000000..ff904893
93 --- /dev/null
94 +++ b/dev-ros/timestamp_tools/timestamp_tools-9999.ebuild
95 @@ -0,0 +1,23 @@
96 +# Copyright 1999-2014 Gentoo Foundation
97 +# Distributed under the terms of the GNU General Public License v2
98 +# $Id$
99 +
100 +EAPI=5
101 +ROS_REPO_URI="https://github.com/ros-drivers/driver_common"
102 +KEYWORDS="~amd64 ~arm"
103 +ROS_SUBDIR=${PN}
104 +
105 +inherit ros-catkin
106 +
107 +DESCRIPTION="Classes to help timestamp hardware events"
108 +LICENSE="BSD"
109 +SLOT="0"
110 +IUSE=""
111 +
112 +RDEPEND="
113 + dev-ros/roslib
114 + dev-ros/roscpp
115 +"
116 +DEPEND="${RDEPEND}
117 + test? ( dev-cpp/gtest )"
118 +PATCHES=( "${FILESDIR}/tests.patch" )