[ros-angles] 05/07: Add python-angles package

Jochen Sprickerhof jspricke at moszumanska.debian.org
Fri Sep 29 13:05:00 UTC 2017


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

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

commit 933d8e9d6729dbf1bb77e8d92b92fd432c3337df
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Fri Sep 29 14:55:08 2017 +0200

    Add python-angles package
---
 debian/control                 | 21 ++++++++++++++++++++-
 debian/python-angles.pyinstall |  1 +
 debian/rules                   |  2 +-
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 2611b9e..3016e28 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,11 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,  
            Jochen Sprickerhof <jspricke at debian.org>,
            Leopold Palomo-Avellaneda <leo at alaxarxa.net>
-Build-Depends: debhelper (>= 10), catkin,
+Build-Depends: debhelper (>= 10), catkin, python-all, python-setuptools, dh-python,
 Standards-Version: 4.0.0
 Section: libs
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Homepage: http://wiki.ros.org/angles
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-angles.git
 Vcs-Git: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-angles.git
@@ -23,3 +25,20 @@ Description: Robot OS set of simple math utilities to work with angles
  robot, but the joint motion is constrained by joint limits, this
  package is what you need. The code in this package is stable and well
  tested.  There are no plans for major changes in the near future.
+ .
+ This package contains the development files.
+
+Package: python-angles
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Robot OS set of simple math utilities to work with angles
+ This package is part of Robot OS (ROS). The utilities cover simple
+ things like normalizing an angle and conversion between degrees and
+ radians. But even if you're trying to calculate things like the
+ shortest angular distance between two joint space positions of your
+ robot, but the joint motion is constrained by joint limits, this
+ package is what you need. The code in this package is stable and well
+ tested.  There are no plans for major changes in the near future.
+ .
+ This package contains the Python binding.
diff --git a/debian/python-angles.pyinstall b/debian/python-angles.pyinstall
new file mode 100644
index 0000000..e61f718
--- /dev/null
+++ b/debian/python-angles.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/angles/*.py angles
diff --git a/debian/rules b/debian/rules
index 3cbd980..8d5fc3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ include /usr/share/dpkg/default.mk
 
 # main packaging script based on dh7 syntax
 %:
-	dh $@ --buildsystem=cmake
+	dh $@ --buildsystem=cmake --with python2
 
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/tmp

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



More information about the debian-science-commits mailing list