diff options
Diffstat (limited to 'dev-ros/roslib')
-rw-r--r-- | dev-ros/roslib/Manifest | 8 | ||||
-rw-r--r-- | dev-ros/roslib/files/envhook.patch | 34 | ||||
-rw-r--r-- | dev-ros/roslib/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ros/roslib/roslib-1.14.0-r1.ebuild | 28 | ||||
-rw-r--r-- | dev-ros/roslib/roslib-1.14.1.ebuild | 28 | ||||
-rw-r--r-- | dev-ros/roslib/roslib-9999.ebuild | 28 |
6 files changed, 137 insertions, 0 deletions
diff --git a/dev-ros/roslib/Manifest b/dev-ros/roslib/Manifest new file mode 100644 index 000000000000..1fa88c0fa03d --- /dev/null +++ b/dev-ros/roslib/Manifest @@ -0,0 +1,8 @@ +AUX envhook.patch 1627 SHA256 2ca8578bdf929ce08460c97f7288c79a7a5d99733f76973e854e8b40a87c941b SHA512 a2d76712b068918c52a77d610a2a235298069b0ee0cbdac8d06b7a5ff5ed04cc824c7b8dba3cafb141910eb09a0a2d1a42b8cf96cb19b2f4b5982a21d0817c26 WHIRLPOOL b44ea834276c11bdee0d072246ba336f40757897cd4e1a743e6bec70191a9fbea93245e45745e45ae533944e4a754505ff41f5dc0554b1b2affeeaa0233cf452 +DIST ros-1.14.0.tar.gz 167371 SHA256 42d2a91e867684b3bd0cf9132e5d6dc5bc996086e5ac7baaeeec9c51005282eb SHA512 b3353eeb88b1e5db456ae796a9b869e540e71a7ff94327c7b2c0cfdc58af599793f4b4e36ec54a80059d938ea1d27ca87f4093ea2621c9267a642f99db3acb31 WHIRLPOOL 142dda77e1d9cf9b5fdab9bcdace8eb9fdeb19060eaff8af16bda27d925c00ffc401bf0a41017aa4d81325dc6703ac9571a54c17e433910c751a2080c2637355 +DIST ros-1.14.1.tar.gz 167768 SHA256 2bdf5e29c332982bec3b01abbf190ff72c0eaee352070c6dd2e23ee7d32b6da7 SHA512 b8d3ea058cd53d5ecd3aa3302ecdd89ef183cb0b58a0f39949e8215ffd7361111e0d926c3c8eb93bab7867d166870e9acc411c931df543f9ba9e5031739a399a WHIRLPOOL 36e8c1a2e8c6cb557cdc65c468449ba685832d5bfdc19115e4016815787997aaf5a3f3c6de6fdc58b3e3500f8c351c14421ad7dd611e00eba1648a91411b55f4 +EBUILD roslib-1.14.0-r1.ebuild 595 SHA256 b91ca9b7391432a79723fb13cb80224df5c85bb53bcb2d2d79ac7b74c5bef264 SHA512 8b6e937898de79be077c51e95a0776cace5b7593afa0ef85f04a0312d85b2eb22763315abc643cdce637d01e9c227c0cc1aea2385e46263d099c0a2677a7eba3 WHIRLPOOL ccbb0e743dec55af778d2baa63279144b0ff43eaeebb17a88e3678086341bd28b3a16bed7f21a1fcce7b0bb9d50cfdf594223fbb58e15262e8d8ea769da273cd +EBUILD roslib-1.14.1.ebuild 595 SHA256 b91ca9b7391432a79723fb13cb80224df5c85bb53bcb2d2d79ac7b74c5bef264 SHA512 8b6e937898de79be077c51e95a0776cace5b7593afa0ef85f04a0312d85b2eb22763315abc643cdce637d01e9c227c0cc1aea2385e46263d099c0a2677a7eba3 WHIRLPOOL ccbb0e743dec55af778d2baa63279144b0ff43eaeebb17a88e3678086341bd28b3a16bed7f21a1fcce7b0bb9d50cfdf594223fbb58e15262e8d8ea769da273cd +EBUILD roslib-9999.ebuild 595 SHA256 b91ca9b7391432a79723fb13cb80224df5c85bb53bcb2d2d79ac7b74c5bef264 SHA512 8b6e937898de79be077c51e95a0776cace5b7593afa0ef85f04a0312d85b2eb22763315abc643cdce637d01e9c227c0cc1aea2385e46263d099c0a2677a7eba3 WHIRLPOOL ccbb0e743dec55af778d2baa63279144b0ff43eaeebb17a88e3678086341bd28b3a16bed7f21a1fcce7b0bb9d50cfdf594223fbb58e15262e8d8ea769da273cd +MISC ChangeLog 2744 SHA256 a3538eaf994f65419dc02d3009b1719d9f88b581c99239a3b5f65c23e9a60c14 SHA512 ec779c69aa750867e9591ffd59bc9b404c37f972f36335e966b89fbbabb3d566f4f6960f14e6d515f951aa3c213719f196957fa645f9efd6d4df40b9368ff18d WHIRLPOOL b5287fdb400fca46188faf2e1fffafe3a2a02e9252300a476de297d3a8a2b697e8f34c56c0161ebe745733597cc7d1370adf2ff1555e1850a34284ad48bf856f +MISC metadata.xml 321 SHA256 284b74105203cdf605ee3106c5e672e5c7a885540ef527a5c362f5eb4c0f5bf1 SHA512 0707198ce7a91d49db28c402c1e0ae63251b706f002d35d2116c0b38669d42c07696c46eb3eae61deeb6fdb0d8ef2da900ead8d83d87970f055f818925f9c5fb WHIRLPOOL 1151ec75c6c3ab0a6705462a5ec83336f3f750775334a5088aae035dca7dc034f39f45624561cf6e8e233552ebe35d51ea7e626124f6cc13d3a8e5f488446ec3 diff --git a/dev-ros/roslib/files/envhook.patch b/dev-ros/roslib/files/envhook.patch new file mode 100644 index 000000000000..d4e24e937351 --- /dev/null +++ b/dev-ros/roslib/files/envhook.patch @@ -0,0 +1,34 @@ +Use env python for running python so that it uses the proper version on Gentoo. +Honour CATKIN_PREFIX_PATH gentoo addition. + +Index: roslib/env-hooks/10.ros.sh.em +=================================================================== +--- roslib.orig/env-hooks/10.ros.sh.em ++++ roslib/env-hooks/10.ros.sh.em +@@ -1,8 +1,5 @@ + # generated from ros/env-hooks/10.ros.sh.em + +-# scrub old ROS bin dirs, to avoid accidentally finding the wrong executables +-export PATH="`@(PYTHON_EXECUTABLE) -c \"import os; print(os.pathsep.join([x for x in \\\"$PATH\\\".split(os.pathsep) if not any([d for d in ['cturtle', 'diamondback', 'electric', 'fuerte'] if d in x])]))\"`" +- + @{ + # This is a build-time environment variable which allows a build engineer to override the expected + # ROS_DISTRO value for a workspace, for example to deliberately use a newer version of roslib with +@@ -19,7 +16,7 @@ export ROS_DISTRO=@(ROS_DISTRO) + PYTHON_CODE_BUILD_ROS_PACKAGE_PATH=$(cat <<EOF + from __future__ import print_function + import os +-env_name = 'CMAKE_PREFIX_PATH' ++env_name = 'CATKIN_PREFIX_PATH' + paths = [path for path in os.environ[env_name].split(os.pathsep)] if env_name in os.environ and os.environ[env_name] != '' else [] + workspaces = [path for path in paths if os.path.exists(os.path.join(path, '.catkin'))] + paths = [] +@@ -38,7 +35,7 @@ for workspace in workspaces: + print(os.pathsep.join(paths)) + EOF + ) +-export ROS_PACKAGE_PATH="`@(PYTHON_EXECUTABLE) -c \"$PYTHON_CODE_BUILD_ROS_PACKAGE_PATH\"`" ++export ROS_PACKAGE_PATH="`/usr/bin/env python -c \"$PYTHON_CODE_BUILD_ROS_PACKAGE_PATH\"`" + + @[if DEVELSPACE]@ + # env variables in develspace diff --git a/dev-ros/roslib/metadata.xml b/dev-ros/roslib/metadata.xml new file mode 100644 index 000000000000..c51d37d7cf5c --- /dev/null +++ b/dev-ros/roslib/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ros@gentoo.org</email> + <name>Gentoo ROS Project</name> + </maintainer> + <upstream> + <remote-id type="github">ros/ros</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ros/roslib/roslib-1.14.0-r1.ebuild b/dev-ros/roslib/roslib-1.14.0-r1.ebuild new file mode 100644 index 000000000000..1866c312cfe9 --- /dev/null +++ b/dev-ros/roslib/roslib-1.14.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +ROS_REPO_URI="https://github.com/ros/ros" +KEYWORDS="~amd64 ~arm" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) +ROS_SUBDIR=core/${PN} + +inherit ros-catkin + +DESCRIPTION="Base dependencies and support libraries for ROS" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + >=dev-python/rospkg-1.0.37[${PYTHON_USEDEP}] + dev-libs/boost:=[threads] + dev-ros/rospack +" +DEPEND="${RDEPEND} + test? ( + dev-cpp/gtest + dev-python/nose[${PYTHON_USEDEP}] + )" +PATCHES=( "${FILESDIR}/envhook.patch" ) diff --git a/dev-ros/roslib/roslib-1.14.1.ebuild b/dev-ros/roslib/roslib-1.14.1.ebuild new file mode 100644 index 000000000000..1866c312cfe9 --- /dev/null +++ b/dev-ros/roslib/roslib-1.14.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +ROS_REPO_URI="https://github.com/ros/ros" +KEYWORDS="~amd64 ~arm" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) +ROS_SUBDIR=core/${PN} + +inherit ros-catkin + +DESCRIPTION="Base dependencies and support libraries for ROS" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + >=dev-python/rospkg-1.0.37[${PYTHON_USEDEP}] + dev-libs/boost:=[threads] + dev-ros/rospack +" +DEPEND="${RDEPEND} + test? ( + dev-cpp/gtest + dev-python/nose[${PYTHON_USEDEP}] + )" +PATCHES=( "${FILESDIR}/envhook.patch" ) diff --git a/dev-ros/roslib/roslib-9999.ebuild b/dev-ros/roslib/roslib-9999.ebuild new file mode 100644 index 000000000000..1866c312cfe9 --- /dev/null +++ b/dev-ros/roslib/roslib-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +ROS_REPO_URI="https://github.com/ros/ros" +KEYWORDS="~amd64 ~arm" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) +ROS_SUBDIR=core/${PN} + +inherit ros-catkin + +DESCRIPTION="Base dependencies and support libraries for ROS" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + >=dev-python/rospkg-1.0.37[${PYTHON_USEDEP}] + dev-libs/boost:=[threads] + dev-ros/rospack +" +DEPEND="${RDEPEND} + test? ( + dev-cpp/gtest + dev-python/nose[${PYTHON_USEDEP}] + )" +PATCHES=( "${FILESDIR}/envhook.patch" ) |