Skip to content

Commit

Permalink
Remove python package from Bionic (#8)
Browse files Browse the repository at this point in the history
* Remove python package from Bionic

Signed-off-by: Louise Poubel <louise@openrobotics.org>

* remove more python packages

Signed-off-by: Louise Poubel <louise@openrobotics.org>

* remove more

Signed-off-by: Louise Poubel <louise@openrobotics.org>

* Custom file without python for Bionic

Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
chapulina and j-rivero authored Jan 24, 2022
1 parent 5669b3a commit 4062a85
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 3 deletions.
1 change: 0 additions & 1 deletion bionic/debian/control

This file was deleted.

98 changes: 98 additions & 0 deletions bionic/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
Source: ignition-math6
Standards-Version: 3.9.4
Maintainer: Jose Luis Rivero <jrivero@osrfoundation.org>
Section: science
Priority: extra
Build-Depends: cmake,
debhelper (>= 11),
doxygen,
libeigen3-dev,
libignition-cmake2-dev,
python3,
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

Package: libignition-math6
Architecture: any
Section: libs
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
Section: libdevel
Depends: libignition-math6 (= ${binary:Version}),
libignition-cmake2-dev,
${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
Section: libdevel
Depends: libignition-math6-dev (= ${binary:Version}),
libeigen3-dev,
${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: 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
Section: debug
Priority: extra
Depends:
libignition-math6 (= ${binary:Version}),
${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: 0 additions & 1 deletion bionic/debian/python3-ignition-math6.install

This file was deleted.

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

This file was deleted.

32 changes: 32 additions & 0 deletions bionic/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/make -f

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

.PHONY: override_dh_auto_configure \
override_dh_strip \
override_dh_install \
override_dh_auto_test

%:
dh $@ --parallel

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

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

override_dh_install:
dh_install
# remove duplicate eigen files from mathx-dev.install regexp
cd debian/libignition-math6-eigen3-dev; find . -type f -exec rm -f ../libignition-math6-dev/{} \;
find debian/libignition-math6-dev -type d -empty -delete

override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH),armhf)
true
else
dh_auto_test $@ --no-parallel --buildsystem=cmake
endif

0 comments on commit 4062a85

Please sign in to comment.