[ros] 03/03: Add packaging for python-rosunit

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Tue Dec 9 15:03:08 UTC 2014


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

jspricke-guest pushed a commit to branch master
in repository ros.

commit 7881b9ea6691c45bdb2df82c3790f5f936d56ce2
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Dec 9 16:01:51 2014 +0100

    Add packaging for python-rosunit
---
 debian/control                  | 13 ++++++++++++-
 debian/python-rosunit.install   |  1 +
 debian/python-rosunit.pyinstall |  1 +
 debian/rules                    |  2 +-
 4 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 90872c9..c2ee1d8 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9),
 	       catkin,
          librospack-dev,
          libboost-thread-dev,
-         libgtest-dev
+         libgtest-dev,
+         dh-python
 Standards-Version: 3.9.4
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/ros/ros.git
 Vcs-Git: git://git.debian.org/debian-science/packages/ros/ros.git
@@ -58,3 +59,13 @@ Description: library for roslib
  library implementations.
  .
  This package contains the library.
+
+Package: python-rosunit
+Section: python
+Architecture: any
+Multi-Arch: allowed
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Description: Unit-testing package for ROS
+ This is a lower-level library for rostest and handles unit tests, whereas
+ rostest handles integration tests.
diff --git a/debian/python-rosunit.install b/debian/python-rosunit.install
new file mode 100644
index 0000000..daa87ae
--- /dev/null
+++ b/debian/python-rosunit.install
@@ -0,0 +1 @@
+usr/share/rosunit
diff --git a/debian/python-rosunit.pyinstall b/debian/python-rosunit.pyinstall
new file mode 100644
index 0000000..7e12bf1
--- /dev/null
+++ b/debian/python-rosunit.pyinstall
@@ -0,0 +1 @@
+tools/rosunit/src/rosunit/*.py rosunit
diff --git a/debian/rules b/debian/rules
index 320914b..9b91676 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,4 +2,4 @@
 # -*- makefile -*-
 
 %:
-	dh  $@ --parallel --buildsystem=cmake
+	dh  $@ --parallel --buildsystem=cmake --with python2

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



More information about the debian-science-commits mailing list