Skip to content

Commit

Permalink
Merge pull request #6 from ignition-release/ruby_python_supoort
Browse files Browse the repository at this point in the history
Ruby/Python bindings packaging
  • Loading branch information
j-rivero authored Sep 15, 2021
2 parents f3c44bf + 86021d8 commit fa13a5e
Show file tree
Hide file tree
Showing 22 changed files with 78 additions and 72 deletions.
1 change: 1 addition & 0 deletions bionic/debian/python3-ignition-math6.install
1 change: 1 addition & 0 deletions bionic/debian/ruby-ignition-math6.install
1 change: 1 addition & 0 deletions debian/buster/debian/python3-ignition-math6.install
1 change: 1 addition & 0 deletions debian/buster/debian/ruby-ignition-math6.install
59 changes: 0 additions & 59 deletions debian/sid/debian/changelog

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/compat

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/control

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/copyright

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/docs

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/libignition-math6-dev.install

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/libignition-math6-eigen3-dev.install

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/libignition-math6.install

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/patches

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/rules

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/source

This file was deleted.

1 change: 0 additions & 1 deletion debian/sid/debian/watch

This file was deleted.

1 change: 1 addition & 0 deletions focal/debian/python3-ignition-math6.install
1 change: 1 addition & 0 deletions focal/debian/ruby-ignition-math6.install
63 changes: 63 additions & 0 deletions ubuntu/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ Section: science
Priority: extra
Build-Depends: cmake,
debhelper (>= 11),
dh-python,
doxygen,
libeigen3-dev,
libignition-cmake2-dev,
python3,
python3-dev,
ruby-dev,
ruby-ronn,
swig
Vcs-Browser: https://bitbucket.org/ignitionrobotics/ign_math-release
Vcs-Hg: https://bitbucket.org/ignitionrobotics/ign_math-release
Homepage: https://bitbucket.org/ignitionrobotics/ign_math
XS-Ruby-Versions: all
X-Python3-Version: >= 3.2

Package: libignition-math6
Architecture: any
Expand All @@ -22,6 +27,13 @@ Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
Description: Ignition Robotics Math Library - Shared library
A small, fast, and high performance math library. This library is a
self-contained set of classes and functions suitable for robot applications.
.
Ignition Robotics is a set of simple libraries that provide useful
functionality to bootstrap robot applications. The included libraries
encapsulate all the essentials, such as common math data types, console
logging, 3D mesh management, and asynchronous message passing.

Package: libignition-math6-dev
Architecture: any
Expand All @@ -31,6 +43,13 @@ Depends: libignition-math6 (= ${binary:Version}),
${misc:Depends}
Multi-Arch: same
Description: Ignition Robotics Math Library - Development files
A small, fast, and high performance math library. This library is a
self-contained set of classes and functions suitable for robot applications.
.
Ignition Robotics is a set of simple libraries that provide useful
functionality to bootstrap robot applications. The included libraries
encapsulate all the essentials, such as common math data types, console
logging, 3D mesh management, and asynchronous message passing.

Package: libignition-math6-eigen3-dev
Architecture: any
Expand All @@ -40,6 +59,42 @@ Depends: libignition-math6-dev (= ${binary:Version}),
${misc:Depends}
Multi-Arch: same
Description: Ignition Robotics Math Library - Eigen3 Development files
A small, fast, and high performance math library. This library is a
self-contained set of classes and functions suitable for robot applications.
.
Ignition Robotics is a set of simple libraries that provide useful
functionality to bootstrap robot applications. The included libraries
encapsulate all the essentials, such as common math data types, console
logging, 3D mesh management, and asynchronous message passing.

Package: python3-ignition-math6
Architecture: any
Depends: ${misc:Depends},
${python3:Depends}
Enhances: libignition-math6
Description: Ignition Robotics Math Library - Python3 bindings
A small, fast, and high performance math library. This library is a
self-contained set of classes and functions suitable for robot applications.
.
Ignition Robotics is a set of simple libraries that provide useful
functionality to bootstrap robot applications. The included libraries
encapsulate all the essentials, such as common math data types, console
logging, 3D mesh management, and asynchronous message passing.

Package: ruby-ignition-math6
Architecture: any
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${misc:Depends},
${ruby:Depends},
${shlibs:Depends}
Description: Ignition Robotics Math Library - Ruby bindings
A small, fast, and high performance math library. This library is a
self-contained set of classes and functions suitable for robot applications.
.
Ignition Robotics is a set of simple libraries that provide useful
functionality to bootstrap robot applications. The included libraries
encapsulate all the essentials, such as common math data types, console
logging, 3D mesh management, and asynchronous message passing.

Package: libignition-math6-dbg
Architecture: any
Expand All @@ -50,3 +105,11 @@ Depends:
${misc:Depends}
Multi-Arch: same
Description: Ignition Robotics Math Library - Debugging symbols
A small, fast, and high performance math library. This library is a
self-contained set of classes and functions suitable for robot applications.
.
Ignition Robotics is a set of simple libraries that provide useful
functionality to bootstrap robot applications. The included libraries
encapsulate all the essentials, such as common math data types, console
logging, 3D mesh management, and asynchronous message passing.

1 change: 1 addition & 0 deletions ubuntu/debian/python3-ignition-math.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/python3/dist-packages/*
1 change: 1 addition & 0 deletions ubuntu/debian/ruby-ignition-math.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/lib/ruby/*
9 changes: 7 additions & 2 deletions ubuntu/debian/rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/make -f

export PYBUILD_NAME=ignition-math6

DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)

.PHONY: override_dh_auto_configure \
Expand All @@ -8,11 +10,14 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
override_dh_auto_test

%:
dh $@ --parallel
dh $@ --parallel --with python3

override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION=ON \
-DUSE_DIST_PACKAGES_FOR_PYTHON=ON \
-DUSE_SYSTEM_PATHS_FOR_RUBY_INSTALLATION=ON

override_dh_strip:
dh_strip -a --dbg-package=libignition-math6-dbg
Expand Down

0 comments on commit fa13a5e

Please sign in to comment.