[ros-robot-model] 03/04: Add kdl_parser_py package

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Sun Jul 10 22:37:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

jspricke-guest pushed a commit to annotated tag debian/1.12.3-1
in repository ros-robot-model.

commit d23e376e25e14972ba8c8b834643ec1b0bbc7a7c
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sun Jul 10 23:45:42 2016 +0200

    Add kdl_parser_py package
---
 debian/control                                          | 14 +++++++++++++-
 debian/patches/0001-Add-CMakeLists.txt.patch            |  9 +++++----
 debian/patches/0002-Add-Debian-specific-SOVERSION.patch |  2 +-
 debian/python-kdl-parser.pyinstall                      |  1 +
 debian/rules                                            |  2 +-
 5 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 5a10dbf..b08932b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
            Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
            Leopold Palomo-Avellaneda <leo at alaxarxa.net>
-Build-Depends: debhelper (>= 9), catkin (>= 0.6.16-4), libboost-system-dev, liburdfdom-headers-dev, libboost-thread-dev, liburdfdom-dev, pluginlib-dev, librosconsole-bridge-dev, libroscpp-dev, ros-cmake-modules, libtinyxml-dev, libclass-loader-dev, libangles-dev, libresource-retriever-dev, libgeometric-shapes-dev, libtf-dev, libassimp-dev, libboost-filesystem-dev, libboost-program-options-dev, libcollada-dom2.4-dp-dev, liborocos-kdl-dev, librostest-dev, libpcre3-dev, liboctomap-dev
+Build-Depends: debhelper (>= 9), catkin (>= 0.6.16-4), libboost-system-dev, liburdfdom-headers-dev, libboost-thread-dev, liburdfdom-dev, pluginlib-dev, librosconsole-bridge-dev, libroscpp-dev, ros-cmake-modules, libtinyxml-dev, libclass-loader-dev, libangles-dev, libresource-retriever-dev, libgeometric-shapes-dev, libtf-dev, libassimp-dev, libboost-filesystem-dev, libboost-program-options-dev, libcollada-dom2.4-dp-dev, liborocos-kdl-dev, librostest-dev, libpcre3-dev, liboctomap-dev, pyth [...]
 Standards-Version: 3.9.7
 Section: libs
 Homepage: http://wiki.ros.org/robot_model
@@ -108,6 +108,18 @@ Description: ROS kdl_parser library
  .
  This package contains the library.
 
+Package: python-kdl-parser
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Robot OS kdl_parser library - Python
+ The Kinematics and Dynamics Library (KDL) defines a tree structure to
+ represent the kinematic and dynamic parameters of a robot mechanism.
+ kdl_parser_py provides Python tools to construct a KDL tree from an XML robot
+ representation in URDF.
+ .
+ This package contains the Python binding.
+
 Package: liburdf-dev
 Section: libdevel
 Architecture: any
diff --git a/debian/patches/0001-Add-CMakeLists.txt.patch b/debian/patches/0001-Add-CMakeLists.txt.patch
index fb6649b..6227a4a 100644
--- a/debian/patches/0001-Add-CMakeLists.txt.patch
+++ b/debian/patches/0001-Add-CMakeLists.txt.patch
@@ -3,16 +3,16 @@ Date: Wed, 5 Aug 2015 13:33:39 +0200
 Subject: Add CMakeLists.txt
 
 ---
- CMakeLists.txt | 9 +++++++++
- 1 file changed, 9 insertions(+)
+ CMakeLists.txt | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
  create mode 100644 CMakeLists.txt
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
 new file mode 100644
-index 0000000..4b3842c
+index 0000000..5503177
 --- /dev/null
 +++ b/CMakeLists.txt
-@@ -0,0 +1,9 @@
+@@ -0,0 +1,10 @@
 +cmake_minimum_required(VERSION 2.8.3)
 +project(robot_model)
 +
@@ -22,3 +22,4 @@ index 0000000..4b3842c
 +add_subdirectory(collada_urdf)
 +add_subdirectory(joint_state_publisher)
 +add_subdirectory(kdl_parser)
++add_subdirectory(kdl_parser_py)
diff --git a/debian/patches/0002-Add-Debian-specific-SOVERSION.patch b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
index ce963a0..0ead51c 100644
--- a/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
+++ b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
@@ -34,7 +34,7 @@ index 524f2e9..756c39c 100644
  add_executable(urdf_to_collada src/urdf_to_collada.cpp)
  target_link_libraries(urdf_to_collada ${catkin_LIBRARIES} ${COLLADA_DOM_LIBRARIES}  
 diff --git a/kdl_parser/CMakeLists.txt b/kdl_parser/CMakeLists.txt
-index eedaf8a..a101f64 100644
+index 43b96b7..dd6e6d6 100644
 --- a/kdl_parser/CMakeLists.txt
 +++ b/kdl_parser/CMakeLists.txt
 @@ -30,6 +30,7 @@ add_library(${PROJECT_NAME} src/kdl_parser.cpp)
diff --git a/debian/python-kdl-parser.pyinstall b/debian/python-kdl-parser.pyinstall
new file mode 100644
index 0000000..979a0b3
--- /dev/null
+++ b/debian/python-kdl-parser.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/kdl_parser_py/*.py kdl_parser_py
diff --git a/debian/rules b/debian/rules
index 129886d..ade009d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --buildsystem=cmake --with python2
 
 override_dh_clean:
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-robot-model.git



More information about the debian-science-commits mailing list