[yarp] 78/109: Add python bindings

Daniele E. Domenichelli drdanz-guest at moszumanska.debian.org
Thu Jun 22 16:10:18 UTC 2017


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

drdanz-guest pushed a commit to branch master
in repository yarp.

commit ae9146e0d254ecff3f710c54d2113925fff127a1
Author: Daniele E. Domenichelli <ddomenichelli at drdanz.it>
Date:   Thu Oct 13 13:44:54 2016 +0200

    Add python bindings
---
 debian/control             | 24 +++++++++++++++++++++++-
 debian/python-yarp.install |  3 +++
 debian/rules               |  1 +
 3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 46c6f66..d4e0ce6 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Daniele E. Domenichelli <ddomenichelli at drdanz.it>,
 Homepage: http://yarp.it/
 Build-Depends: debhelper (>= 9),
                dh-python,
-               python,
+               python-dev,
                quilt,
                cmake (>= 2.8.9),
                pkg-config,
@@ -30,6 +30,7 @@ Standards-Version: 3.9.8
 Section: science
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/yarp.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/yarp.git
+X-Python-Version: >= 2.6
 
 ##################### DATA
 
@@ -735,6 +736,27 @@ Description: thin middleware for humanoid robots and more - perl bindings
  .
  This package contains the Perl 5 bindings.
 
+Package: python-yarp
+Section: python
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends},
+ yarp-data (= ${source:Version})
+Multi-Arch: same
+Description: thin middleware for humanoid robots and more - Python 2 bindings
+ YARP stands for Yet Another Robot Platform. It is a library and toolkit
+ for communication and device interfaces, used on everything from
+ humanoids to embedded devices.
+ .
+ More specifically, YARP supports building a robot control system as a
+ "collection of programs" communicating in a peer-to-peer way, with an
+ extensible family of connection types (tcp, udp, multicast, local, MPI,
+ mjpg-over-http, XML/RPC, tcpros, ...) that can be swapped in and out to
+ match your needs. It also supports similarly flexible interfacing
+ with hardware devices.
+ .
+ This package contains the Python 2 bindings.
+
 #Package: libyarp-bindings-tmp
 #Section: libdevel
 #Architecture: any
diff --git a/debian/python-yarp.install b/debian/python-yarp.install
new file mode 100644
index 0000000..edca170
--- /dev/null
+++ b/debian/python-yarp.install
@@ -0,0 +1,3 @@
+usr/lib/python2.7/dist-packages/yarp/_yarp.so
+usr/lib/python2.7/dist-packages/yarp/__init__.py
+usr/lib/python2.7/dist-packages/yarp-*.egg-info
diff --git a/debian/rules b/debian/rules
index 8b88339..25159c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,7 @@ override_dh_auto_configure:
 	                     -DENABLE_yarpmod_opencv_grabber=ON \
 	                     -DENABLE_yarpmod_portaudio=ON \
 	                     -DCREATE_PERL=ON \
+	                     -DCREATE_PYTHON=ON \
 	                     -DYARP_DOXYGEN_HTML=ON \
 	                     -DYARP_DOXYGEN_MAN=ON \
 	                     -DCREATE_YARPBUILDER=OFF \

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



More information about the debian-science-commits mailing list