Codebase list ros-genmsg / b7b3fb2
New upstream version 0.5.14 Jochen Sprickerhof 4 years ago
8 changed file(s) with 27 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package genmsg
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 0.5.14 (2020-01-17)
5 -------------------
6 * switch to setuptools, add add buildtool depend on setuptools (`#90 <https://github.com/ros/genmsg/issues/90>`_)
7
8 0.5.13 (2020-01-16)
9 -------------------
10 * fix escape sequences (`#89 <https://github.com/ros/genmsg/issues/89>`_)
11 * Python 3 compatibility (`#86 <https://github.com/ros/genmsg/issues/86>`_)
12 * improve MsgNotFound exception information
313
414 0.5.12 (2019-03-04)
515 -------------------
1414
1515 catkin_python_setup()
1616
17 install(
17 catkin_install_python(
1818 PROGRAMS scripts/genmsg_check_deps.py
1919 DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
2020
00 <?xml version="1.0"?>
1 <package>
1 <?xml-model
2 href="http://download.ros.org/schema/package_format3.xsd"
3 schematypens="http://www.w3.org/2001/XMLSchema"?>
4 <package format="3">
25 <name>genmsg</name>
3 <version>0.5.12</version>
6 <version>0.5.14</version>
47 <description>
58 Standalone Python library for generating ROS message and service data structures for various languages.
69 </description>
710 <maintainer email="dthomas@osrfoundation.org">Dirk Thomas</maintainer>
811 <license>BSD</license>
912
10 <url type="website">http://www.ros.org/wiki/genmsg</url>
13 <url type="website">http://wiki.ros.org/genmsg</url>
1114 <url type="bugtracker">https://github.com/ros/genmsg/issues</url>
1215 <url type="repository">https://github.com/ros/genmsg</url>
1316
1417 <author>Troy Straszheim</author>
1518 <author>Morten Kjaergaard</author>
1619 <author>Ken Conley</author>
20 <author>Dirk Thomas</author>
1721
1822 <buildtool_depend version_gte="0.5.74">catkin</buildtool_depend>
19 <run_depend>catkin</run_depend>
20 <run_depend>python-empy</run_depend>
23 <buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
24 <buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>
25 <exec_depend>catkin</exec_depend>
26 <exec_depend condition="$ROS_PYTHON_VERSION == 2">python-empy</exec_depend>
27 <exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-empy</exec_depend>
2128
2229 <export>
2330 <rosdoc config="rosdoc.yaml"/>
0 #!/usr/bin/env python
1
2 from distutils.core import setup
0 from setuptools import setup
31 from catkin_pkg.python_setup import generate_distutils_setup
42
53 d = generate_distutils_setup(
0 #! /usr/bin/env python
10 # Software License Agreement (BSD License)
21 #
32 # Copyright (c) 2008, Willow Garage, Inc.
112112 # NAME VALIDATORS
113113
114114 #ascii char followed by (alphanumeric, _, /)
115 RESOURCE_NAME_LEGAL_CHARS_P = re.compile('^[A-Za-z][\w_\/]*$')
115 RESOURCE_NAME_LEGAL_CHARS_P = re.compile(r'^[A-Za-z][\w_\/]*$')
116116 def is_legal_resource_name(name):
117117 """
118118 Check if name is a legal ROS name for filesystem resources
130130 # '//' check makes sure there isn't double-slashes
131131 return m is not None and m.group(0) == name and not '//' in name
132132
133 BASE_RESOURCE_NAME_LEGAL_CHARS_P = re.compile('^[A-Za-z][\w_]*$') #ascii char followed by (alphanumeric, _)
133 BASE_RESOURCE_NAME_LEGAL_CHARS_P = re.compile(r'^[A-Za-z][\w_]*$') #ascii char followed by (alphanumeric, _)
134134 def is_legal_resource_base_name(name):
135135 """
136136 Validates that name is a legal resource base name. A base name has
0 #!/usr/bin/env python
10 # Software License Agreement (BSD License)
21 #
32 # Copyright (c) 2008, Willow Garage, Inc.
190190
191191 # types and names mismatch
192192 try:
193 MsgSpec(['int32', 'int32'], ['intval'], [], 'int32 intval\int32 y', 'x/Mismatch')
193 MsgSpec(['int32', 'int32'], ['intval'], [], 'int32 intval\nint32 y', 'x/Mismatch')
194194 assert False, "types and names must align"
195195 except: pass
196196