1 |
commit: 5c9b7b5efacd4f037fa15f864db5578430968eb7 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 6 15:49:42 2018 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 6 19:23:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9b7b5e |
7 |
|
8 |
dev-ros/ros_environment: initial import |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-ros/ros_environment/Manifest | 1 + |
13 |
.../ros_environment/files/catkinprefixpath.patch | 13 +++++++++++ |
14 |
dev-ros/ros_environment/metadata.xml | 11 ++++++++++ |
15 |
.../ros_environment/ros_environment-1.2.0.ebuild | 25 ++++++++++++++++++++++ |
16 |
.../ros_environment/ros_environment-9999.ebuild | 25 ++++++++++++++++++++++ |
17 |
5 files changed, 75 insertions(+) |
18 |
|
19 |
diff --git a/dev-ros/ros_environment/Manifest b/dev-ros/ros_environment/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..f557152cca0 |
22 |
--- /dev/null |
23 |
+++ b/dev-ros/ros_environment/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST ros_environment-1.2.0.tar.gz 6366 BLAKE2B ff540b9e861d039739253b9effbfe06ec703f47b48d9bb7009b5caed5010ed8219a207bfd363c03b115d018965c2e584abbf58f649ea868e66e79d4dda11d1ae SHA512 1b89e3d6ea88fc0972bbe980bae0b663e9335adece8eb0d517cac76b0a412cbe6b9783a967d4a9b5ca1c3bf2a432bb826d28f6f1d9a33fcc33a75edeef0be20b |
26 |
|
27 |
diff --git a/dev-ros/ros_environment/files/catkinprefixpath.patch b/dev-ros/ros_environment/files/catkinprefixpath.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..ba78a70c2a4 |
30 |
--- /dev/null |
31 |
+++ b/dev-ros/ros_environment/files/catkinprefixpath.patch |
32 |
@@ -0,0 +1,13 @@ |
33 |
+Index: ros_environment-9999/env-hooks/1.ros_package_path.sh.em |
34 |
+=================================================================== |
35 |
+--- ros_environment-9999.orig/env-hooks/1.ros_package_path.sh.em |
36 |
++++ ros_environment-9999/env-hooks/1.ros_package_path.sh.em |
37 |
+@@ -4,7 +4,7 @@ |
38 |
+ PYTHON_CODE_BUILD_ROS_PACKAGE_PATH=$(cat <<EOF |
39 |
+ from __future__ import print_function |
40 |
+ import os |
41 |
+-env_name = 'CMAKE_PREFIX_PATH' |
42 |
++env_name = 'CATKIN_PREFIX_PATH' |
43 |
+ paths = [path for path in os.environ[env_name].split(os.pathsep)] if env_name in os.environ and os.environ[env_name] != '' else [] |
44 |
+ workspaces = [path for path in paths if os.path.exists(os.path.join(path, '.catkin'))] |
45 |
+ paths = [] |
46 |
|
47 |
diff --git a/dev-ros/ros_environment/metadata.xml b/dev-ros/ros_environment/metadata.xml |
48 |
new file mode 100644 |
49 |
index 00000000000..7476e60efa6 |
50 |
--- /dev/null |
51 |
+++ b/dev-ros/ros_environment/metadata.xml |
52 |
@@ -0,0 +1,11 @@ |
53 |
+<?xml version="1.0" encoding="UTF-8"?> |
54 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
55 |
+<pkgmetadata> |
56 |
+ <maintainer type="project"> |
57 |
+ <email>ros@g.o</email> |
58 |
+ <name>Gentoo ROS Project</name> |
59 |
+ </maintainer> |
60 |
+ <upstream> |
61 |
+ <remote-id type="github">ros/ros_environment</remote-id> |
62 |
+ </upstream> |
63 |
+</pkgmetadata> |
64 |
|
65 |
diff --git a/dev-ros/ros_environment/ros_environment-1.2.0.ebuild b/dev-ros/ros_environment/ros_environment-1.2.0.ebuild |
66 |
new file mode 100644 |
67 |
index 00000000000..14906c3050d |
68 |
--- /dev/null |
69 |
+++ b/dev-ros/ros_environment/ros_environment-1.2.0.ebuild |
70 |
@@ -0,0 +1,25 @@ |
71 |
+# Copyright 1999-2018 Gentoo Foundation |
72 |
+# Distributed under the terms of the GNU General Public License v2 |
73 |
+ |
74 |
+EAPI=5 |
75 |
+ |
76 |
+ROS_REPO_URI="https://github.com/ros/ros_environment" |
77 |
+KEYWORDS="~amd64 ~arm" |
78 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) |
79 |
+ |
80 |
+inherit ros-catkin |
81 |
+ |
82 |
+DESCRIPTION="ROS environment variables" |
83 |
+LICENSE="BSD" |
84 |
+SLOT="0" |
85 |
+IUSE="" |
86 |
+ |
87 |
+RDEPEND="!!<dev-ros/roslib-1.14.3" |
88 |
+DEPEND="${RDEPEND}" |
89 |
+PATCHES=( "${FILESDIR}/catkinprefixpath.patch" ) |
90 |
+ |
91 |
+src_configure() { |
92 |
+ export ROS_DISTRO="Gentoo" |
93 |
+ export ROS_DISTRO_OVERRIDE="Gentoo" |
94 |
+ ros-catkin_src_configure |
95 |
+} |
96 |
|
97 |
diff --git a/dev-ros/ros_environment/ros_environment-9999.ebuild b/dev-ros/ros_environment/ros_environment-9999.ebuild |
98 |
new file mode 100644 |
99 |
index 00000000000..14906c3050d |
100 |
--- /dev/null |
101 |
+++ b/dev-ros/ros_environment/ros_environment-9999.ebuild |
102 |
@@ -0,0 +1,25 @@ |
103 |
+# Copyright 1999-2018 Gentoo Foundation |
104 |
+# Distributed under the terms of the GNU General Public License v2 |
105 |
+ |
106 |
+EAPI=5 |
107 |
+ |
108 |
+ROS_REPO_URI="https://github.com/ros/ros_environment" |
109 |
+KEYWORDS="~amd64 ~arm" |
110 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) |
111 |
+ |
112 |
+inherit ros-catkin |
113 |
+ |
114 |
+DESCRIPTION="ROS environment variables" |
115 |
+LICENSE="BSD" |
116 |
+SLOT="0" |
117 |
+IUSE="" |
118 |
+ |
119 |
+RDEPEND="!!<dev-ros/roslib-1.14.3" |
120 |
+DEPEND="${RDEPEND}" |
121 |
+PATCHES=( "${FILESDIR}/catkinprefixpath.patch" ) |
122 |
+ |
123 |
+src_configure() { |
124 |
+ export ROS_DISTRO="Gentoo" |
125 |
+ export ROS_DISTRO_OVERRIDE="Gentoo" |
126 |
+ ros-catkin_src_configure |
127 |
+} |