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/opencv_tests/
Date: Wed, 23 Sep 2015 09:44:36
Message-Id: 1443001452.385ef1cecd9a00bef5f8c971114cb4301616b409.aballier@gentoo
1 commit: 385ef1cecd9a00bef5f8c971114cb4301616b409
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 23 09:06:13 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 09:44:12 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385ef1ce
7
8 dev-ros/opencv_tests: Initial import. Ebuild by me.
9
10 Package-Manager: portage-2.2.21
11
12 dev-ros/opencv_tests/Manifest | 1 +
13 dev-ros/opencv_tests/metadata.xml | 5 ++++
14 dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild | 32 +++++++++++++++++++++++++
15 dev-ros/opencv_tests/opencv_tests-9999.ebuild | 32 +++++++++++++++++++++++++
16 4 files changed, 70 insertions(+)
17
18 diff --git a/dev-ros/opencv_tests/Manifest b/dev-ros/opencv_tests/Manifest
19 new file mode 100644
20 index 0000000..ae2c9da
21 --- /dev/null
22 +++ b/dev-ros/opencv_tests/Manifest
23 @@ -0,0 +1 @@
24 +DIST vision_opencv-1.11.8.tar.gz 80160 SHA256 0cf0934d4d9bd91e966afc2f25a4e54646016b6628f4fe58e81faee0c58c88c2 SHA512 55ca2554a3736bd5102bfef14562a6bc341d13eb098fbb7d8d050c90b5d397820791aed54a3697f5084a1b629d959c7abc24172a8efbdfc65490ebdbcb548c77 WHIRLPOOL 8b2b9f4968618258ebd6b2d6d0674ca9c24ed5e7d1adcc4cbbf769e13206017ea06fe5172277a19d67c73c88066270a2e259743ee1b63e4cec7ce8508405b8d3
25
26 diff --git a/dev-ros/opencv_tests/metadata.xml b/dev-ros/opencv_tests/metadata.xml
27 new file mode 100644
28 index 0000000..c42ea5b
29 --- /dev/null
30 +++ b/dev-ros/opencv_tests/metadata.xml
31 @@ -0,0 +1,5 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 +<herd>ros</herd>
36 +</pkgmetadata>
37
38 diff --git a/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild b/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild
39 new file mode 100644
40 index 0000000..9c9cf25
41 --- /dev/null
42 +++ b/dev-ros/opencv_tests/opencv_tests-1.11.8.ebuild
43 @@ -0,0 +1,32 @@
44 +# Copyright 1999-2014 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Id$
47 +
48 +EAPI=5
49 +ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
50 +KEYWORDS="~amd64 ~arm"
51 +PYTHON_COMPAT=( python2_7 )
52 +ROS_SUBDIR=${PN}
53 +
54 +inherit ros-catkin
55 +
56 +DESCRIPTION="Tests for ROS OpenCV integration"
57 +LICENSE="BSD"
58 +SLOT="0"
59 +IUSE=""
60 +
61 +RDEPEND="
62 + dev-ros/cv_bridge[${PYTHON_USEDEP}]
63 + dev-ros/rospy[${PYTHON_USEDEP}]
64 + media-libs/opencv[python,${PYTHON_USEDEP}]
65 + dev-python/numpy[${PYTHON_USEDEP}]
66 +"
67 +DEPEND="${RDEPEND}"
68 +
69 +src_install() {
70 + ros-catkin_src_install
71 + insinto /usr/share/${PN}/launch
72 + doins launch/*.launch
73 + exeinto /usr/libexec/${PN}
74 + doexe nodes/*
75 +}
76
77 diff --git a/dev-ros/opencv_tests/opencv_tests-9999.ebuild b/dev-ros/opencv_tests/opencv_tests-9999.ebuild
78 new file mode 100644
79 index 0000000..9c9cf25
80 --- /dev/null
81 +++ b/dev-ros/opencv_tests/opencv_tests-9999.ebuild
82 @@ -0,0 +1,32 @@
83 +# Copyright 1999-2014 Gentoo Foundation
84 +# Distributed under the terms of the GNU General Public License v2
85 +# $Id$
86 +
87 +EAPI=5
88 +ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
89 +KEYWORDS="~amd64 ~arm"
90 +PYTHON_COMPAT=( python2_7 )
91 +ROS_SUBDIR=${PN}
92 +
93 +inherit ros-catkin
94 +
95 +DESCRIPTION="Tests for ROS OpenCV integration"
96 +LICENSE="BSD"
97 +SLOT="0"
98 +IUSE=""
99 +
100 +RDEPEND="
101 + dev-ros/cv_bridge[${PYTHON_USEDEP}]
102 + dev-ros/rospy[${PYTHON_USEDEP}]
103 + media-libs/opencv[python,${PYTHON_USEDEP}]
104 + dev-python/numpy[${PYTHON_USEDEP}]
105 +"
106 +DEPEND="${RDEPEND}"
107 +
108 +src_install() {
109 + ros-catkin_src_install
110 + insinto /usr/share/${PN}/launch
111 + doins launch/*.launch
112 + exeinto /usr/libexec/${PN}
113 + doexe nodes/*
114 +}