summaryrefslogtreecommitdiff
path: root/dev-ros/rosbridge_server
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ros/rosbridge_server
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ros/rosbridge_server')
-rw-r--r--dev-ros/rosbridge_server/Manifest8
-rw-r--r--dev-ros/rosbridge_server/files/backports-ssl.patch13
-rw-r--r--dev-ros/rosbridge_server/files/tornado.patch91
-rw-r--r--dev-ros/rosbridge_server/metadata.xml11
-rw-r--r--dev-ros/rosbridge_server/rosbridge_server-0.8.6.ebuild29
-rw-r--r--dev-ros/rosbridge_server/rosbridge_server-0.9.0.ebuild25
-rw-r--r--dev-ros/rosbridge_server/rosbridge_server-9999.ebuild25
7 files changed, 202 insertions, 0 deletions
diff --git a/dev-ros/rosbridge_server/Manifest b/dev-ros/rosbridge_server/Manifest
new file mode 100644
index 000000000000..9c8d4aafecdf
--- /dev/null
+++ b/dev-ros/rosbridge_server/Manifest
@@ -0,0 +1,8 @@
+AUX backports-ssl.patch 420 BLAKE2B 0d97fd93631f33867234ca1e7207ab5176c45f6747cc37b97f54b57fe0d10987c02466988c612293072ffe10962c8777ed0723aca8b6f24ded873f7ad7f5b99f SHA512 ed873ddfffb3702d2de62491d76cb829d02f215b09a3c8ce3564d1ccf1aced76939dca26eb22ccb21853ab8ab1a85d654a34bfd48533041c0dbc709c105b296d
+AUX tornado.patch 3361 BLAKE2B 94032b87881cba8bf383729ff260ad34a10fc42d4cfbbf53e5051eb488bfc4a534381445260709566b0fe7d03129cdf7737a9bd952cd2eb3f79181650ee758ef SHA512 6f8768716801dbfd00ef5698b91ea3d949c00895d18b3476d80a4fb09456b23412564d03b7a10eac6ee603dc4747aea8a96e6571164718eb0790f6475de9ee93
+DIST rosbridge_suite-0.8.6.tar.gz 378267 BLAKE2B b5e72b7897feef66aa05603bcff00ba213844f700f56be97a7110f33a77e3aa848ca0c583d5509ee205dc01bf001181b1887e20ee89d8348bc5eb43fd5a829b0 SHA512 e935c20466a13cbcf00051a4f32bc981806244aecf314e09e9e0ca9e0e873ab098b14b5ca5839bf14f2d3dfb823ecc62bb4e26027d4d0ff3f52bf0385011fbf3
+DIST rosbridge_suite-0.9.0.tar.gz 89409 BLAKE2B e48f36b71d8c5bcbd1ede0a87015b231d45194f3410b4cfcc38d39089477418b1f40afb28d8df7beba2e5e99b4aafde53bbc3f9bf371f0434099d7730c6393ee SHA512 4d7a6c0c33da9bf42ff24a0add81cad5fec707ef7149bf929bd2aac92ea2fe6f42da21bd5349dadee05cacb69d7efdb7adb0c01fc01c8251e0503cb488a73364
+EBUILD rosbridge_server-0.8.6.ebuild 764 BLAKE2B ab514861c12a7d838a821acd2635f9b8b8f6af5f461aa235b60787900dc1a28d86a84e4511eb3968b4fccae216da72262ccc4a4efe2df680748b539fae9019c1 SHA512 e224d013573111dac8f7de49f0a617a42f1b96d474c740823f3506a1e7353ed4d1e15b0d31d122331bbdbe5bb7896d894a9c0be667c5f7caab92bf1d1ddcd331
+EBUILD rosbridge_server-0.9.0.ebuild 688 BLAKE2B 08a4a13cb920cdf49b059c7578d36834d5a26df42ea8dd0edcaf15dc7cab2ec6db571138fdac289f38a3194c7f083149a523806131d10ca54e704fda3115d33c SHA512 a6677d1a786506d9909abb297b58b823588294df9d066cd20ada2db7543a036ce7b32cfaf7f0e87334c6f97e9543c62e010997ce1ed198b46e4738b4a99beb4d
+EBUILD rosbridge_server-9999.ebuild 688 BLAKE2B 08a4a13cb920cdf49b059c7578d36834d5a26df42ea8dd0edcaf15dc7cab2ec6db571138fdac289f38a3194c7f083149a523806131d10ca54e704fda3115d33c SHA512 a6677d1a786506d9909abb297b58b823588294df9d066cd20ada2db7543a036ce7b32cfaf7f0e87334c6f97e9543c62e010997ce1ed198b46e4738b4a99beb4d
+MISC metadata.xml 343 BLAKE2B 54e565b139250d84a9adfb768099d530c91876a8d20dabdb1c5fdb61c7c4e799b3e4121ad704c09b8019693ccbf15be426100cdc8e9388f8ef68312d4ca75d31 SHA512 45889c0aa111bcf8050244d51f15ceef5501a722f3feac93c3795a4b9217a41098f44f6b06f906ff333e2c98d03b0f44e4a41d1acdc70942fa9c54b05dde1365
diff --git a/dev-ros/rosbridge_server/files/backports-ssl.patch b/dev-ros/rosbridge_server/files/backports-ssl.patch
new file mode 100644
index 000000000000..b8fc226bde0c
--- /dev/null
+++ b/dev-ros/rosbridge_server/files/backports-ssl.patch
@@ -0,0 +1,13 @@
+Index: rosbridge_server/setup.py
+===================================================================
+--- rosbridge_server.orig/setup.py
++++ rosbridge_server/setup.py
+@@ -11,8 +11,6 @@ from catkin_pkg.python_setup import gene
+ d = generate_distutils_setup(
+ packages=[
+ 'rosbridge_server',
+- 'backports',
+- 'backports.ssl_match_hostname',
+ 'tornado',
+ 'tornado.platform'
+ ],
diff --git a/dev-ros/rosbridge_server/files/tornado.patch b/dev-ros/rosbridge_server/files/tornado.patch
new file mode 100644
index 000000000000..ae2391385238
--- /dev/null
+++ b/dev-ros/rosbridge_server/files/tornado.patch
@@ -0,0 +1,91 @@
+Index: rosbridge_server/setup.py
+===================================================================
+--- rosbridge_server.orig/setup.py
++++ rosbridge_server/setup.py
+@@ -10,85 +10,9 @@ from catkin_pkg.python_setup import gene
+
+ d = generate_distutils_setup(
+ packages=[
+- 'rosbridge_server',
+- 'tornado',
+- 'tornado.platform'
++ 'rosbridge_server'
+ ],
+ package_dir={'': 'src'}
+ )
+
+-# The following code is copied from
+-# https://github.com/mongodb/mongo-python-driver/blob/master/setup.py
+-# to support installing without the extension on platforms where
+-# no compiler is available.
+-from distutils.command.build_ext import build_ext
+-
+-class custom_build_ext(build_ext):
+- """Allow C extension building to fail.
+-
+- The C extension speeds up websocket masking, but is not essential.
+- """
+-
+- warning_message = """
+-********************************************************************
+-WARNING: %s could not
+-be compiled. No C extensions are essential for Tornado to run,
+-although they do result in significant speed improvements for
+-websockets.
+-%s
+-
+-Here are some hints for popular operating systems:
+-
+-If you are seeing this message on Linux you probably need to
+-install GCC and/or the Python development package for your
+-version of Python.
+-
+-Debian and Ubuntu users should issue the following command:
+-
+- $ sudo apt-get install build-essential python-dev
+-
+-RedHat, CentOS, and Fedora users should issue the following command:
+-
+- $ sudo yum install gcc python-devel
+-********************************************************************
+-"""
+-
+- def run(self):
+- try:
+- build_ext.run(self)
+- except Exception:
+- e = sys.exc_info()[1]
+- sys.stdout.write('%s\n' % str(e))
+- warnings.warn(self.warning_message % ("Extension modules",
+- "There was an issue with "
+- "your platform configuration"
+- " - see above."))
+-
+- def build_extension(self, ext):
+- name = ext.name
+- try:
+- build_ext.build_extension(self, ext)
+- except Exception:
+- e = sys.exc_info()[1]
+- sys.stdout.write('%s\n' % str(e))
+- warnings.warn(self.warning_message % ("The %s extension "
+- "module" % (name,),
+- "The output above "
+- "this warning shows how "
+- "the compilation "
+- "failed."))
+-
+-if (platform.python_implementation() == 'CPython' and
+- os.environ.get('TORNADO_EXTENSION') != '0'):
+- # This extension builds and works on pypy as well, although pypy's jit
+- # produces equivalent performance.
+- d['ext_modules'] = [
+- Extension('tornado.speedups', sources=['src/tornado/speedups.c']),
+- ]
+-
+- if os.environ.get('TORNADO_EXTENSION') != '1':
+- # Unless the user has specified that the extension is mandatory,
+- # fall back to the pure-python implementation on any build failure.
+- d['cmdclass'] = {'build_ext': custom_build_ext}
+-
+ setup(**d)
diff --git a/dev-ros/rosbridge_server/metadata.xml b/dev-ros/rosbridge_server/metadata.xml
new file mode 100644
index 000000000000..b99398ddaaba
--- /dev/null
+++ b/dev-ros/rosbridge_server/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">RobotWebTools/rosbridge_suite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ros/rosbridge_server/rosbridge_server-0.8.6.ebuild b/dev-ros/rosbridge_server/rosbridge_server-0.8.6.ebuild
new file mode 100644
index 000000000000..775590dc7d3b
--- /dev/null
+++ b/dev-ros/rosbridge_server/rosbridge_server-0.8.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+ROS_REPO_URI="https://github.com/RobotWebTools/rosbridge_suite"
+KEYWORDS="~amd64"
+PYTHON_COMPAT=( python2_7 )
+ROS_SUBDIR=${PN}
+
+inherit ros-catkin
+
+DESCRIPTION="A WebSocket interface to rosbridge"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-ros/rosapi[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/rospy[${PYTHON_USEDEP}]
+ dev-ros/rosbridge_library[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/rosauth[${PYTHON_USEDEP}]
+ dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]
+ www-servers/tornado[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}/backports-ssl.patch"
+ "${FILESDIR}/tornado.patch"
+)
diff --git a/dev-ros/rosbridge_server/rosbridge_server-0.9.0.ebuild b/dev-ros/rosbridge_server/rosbridge_server-0.9.0.ebuild
new file mode 100644
index 000000000000..1ea9a841c8fd
--- /dev/null
+++ b/dev-ros/rosbridge_server/rosbridge_server-0.9.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+ROS_REPO_URI="https://github.com/RobotWebTools/rosbridge_suite"
+KEYWORDS="~amd64"
+PYTHON_COMPAT=( python2_7 )
+ROS_SUBDIR=${PN}
+
+inherit ros-catkin
+
+DESCRIPTION="A WebSocket interface to rosbridge"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-ros/rosapi[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/rospy[${PYTHON_USEDEP}]
+ dev-ros/rosbridge_library[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/rosauth[${PYTHON_USEDEP}]
+ dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]
+ www-servers/tornado[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}"
diff --git a/dev-ros/rosbridge_server/rosbridge_server-9999.ebuild b/dev-ros/rosbridge_server/rosbridge_server-9999.ebuild
new file mode 100644
index 000000000000..1ea9a841c8fd
--- /dev/null
+++ b/dev-ros/rosbridge_server/rosbridge_server-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+ROS_REPO_URI="https://github.com/RobotWebTools/rosbridge_suite"
+KEYWORDS="~amd64"
+PYTHON_COMPAT=( python2_7 )
+ROS_SUBDIR=${PN}
+
+inherit ros-catkin
+
+DESCRIPTION="A WebSocket interface to rosbridge"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-ros/rosapi[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/rospy[${PYTHON_USEDEP}]
+ dev-ros/rosbridge_library[${PYTHON_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/rosauth[${PYTHON_USEDEP}]
+ dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]
+ www-servers/tornado[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}"