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, 28 Sep 2016 11:07:35
Message-Id: 1475060731.49f77d274145ec20bd075b703bb191bb1b466bbc.aballier@gentoo
1 commit: 49f77d274145ec20bd075b703bb191bb1b466bbc
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 28 11:05:31 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 11:05:31 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f77d27
7
8 dev-ros/opencv_tests: Bump to 1.12.2.
9
10 Package-Manager: portage-2.3.1
11
12 dev-ros/opencv_tests/Manifest | 1 +
13 dev-ros/opencv_tests/opencv_tests-1.12.2.ebuild | 33 +++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-ros/opencv_tests/Manifest b/dev-ros/opencv_tests/Manifest
17 index cc7e7a5..f921bf7 100644
18 --- a/dev-ros/opencv_tests/Manifest
19 +++ b/dev-ros/opencv_tests/Manifest
20 @@ -1 +1,2 @@
21 DIST vision_opencv-1.12.1.tar.gz 79203 SHA256 ad0b66e5523b6862ada185f5064b2d9979b28d46e2b2eb42308e260dabae8c83 SHA512 f95b3247eed1d5f4403b1a123a033a5178d3491cf5deee27bf8386a9dab66475ef7889d0787483a03545ba9fc11e039b4ab0beedfa09121562cabd1bd33b5f88 WHIRLPOOL 647eb428982ecc57aca41db893cf738d0c4b6870c5b54ddf79181f7e07a83f0738c18421d213f3463e64e4b8658b8ef643fd6c9c7c10ee62a011df5311d45c33
22 +DIST vision_opencv-1.12.2.tar.gz 79771 SHA256 e0123ad457d33cfd1ca562c023e2bfb4305e1d363cb8165f54f2494e3e73c798 SHA512 823e7e122d351e615e95093f6962b38ff76c01a876f71f4810fa2014ee9c71ec0c1e63d3d5a01a0297d6c58012e6b6a14ee850f57feda83d4d7125b9e0bd12c0 WHIRLPOOL 13c9e1f0149cfb5b8e467619ddf6da1327545ef6a7cba23dc58980da109473f6c6fbf7ded2e3f76e8f1fe170b05bcd1f40cadcfffe96d86cd8d1be82ce4de586
23
24 diff --git a/dev-ros/opencv_tests/opencv_tests-1.12.2.ebuild b/dev-ros/opencv_tests/opencv_tests-1.12.2.ebuild
25 new file mode 100644
26 index 00000000..00dc8ea
27 --- /dev/null
28 +++ b/dev-ros/opencv_tests/opencv_tests-1.12.2.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +ROS_REPO_URI="https://github.com/ros-perception/vision_opencv"
36 +KEYWORDS="~amd64 ~arm"
37 +# Be careful: It needs opencv with python support but opencv is python-single-r1
38 +PYTHON_COMPAT=( python2_7 )
39 +ROS_SUBDIR=${PN}
40 +
41 +inherit ros-catkin
42 +
43 +DESCRIPTION="Tests for ROS OpenCV integration"
44 +LICENSE="BSD"
45 +SLOT="0"
46 +IUSE=""
47 +
48 +RDEPEND="
49 + dev-ros/cv_bridge[${PYTHON_USEDEP}]
50 + dev-ros/rospy[${PYTHON_USEDEP}]
51 + media-libs/opencv[python,${PYTHON_USEDEP}]
52 + dev-python/numpy[${PYTHON_USEDEP}]
53 +"
54 +DEPEND="${RDEPEND}"
55 +
56 +src_install() {
57 + ros-catkin_src_install
58 + insinto /usr/share/${PN}/launch
59 + doins launch/*.launch
60 + exeinto /usr/libexec/${PN}
61 + doexe nodes/*
62 +}