Skip to content
Snippets Groups Projects
Commit d41654c7 authored by Martyn Welch's avatar Martyn Welch Committed by Apertis package maintainers
Browse files

Remove building of the ruby bindings


We don't want to import all the ruby dependencies necessary to build the
ruby bindings. Disable building of the ruby bindings and remove the
relevant build dependencies.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent fd572683
1 merge request!1Remove building of the ruby bindings
Pipeline #194567 failed
......@@ -3,7 +3,6 @@ Priority: optional
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Uploaders: Andrew Pollock <apollock@debian.org>
Build-Depends: debhelper (>= 11~), zlib1g-dev, libssl-dev, libprotobuf-dev, protobuf-compiler (>= 3.6.1~), libgflags-dev, libgtest-dev, libgoogle-perftools-dev, python, libprotoc-dev (>= 3.6.1~), libc-ares-dev,
gem2deb, ruby-google-protobuf (>= 3.6.1~), ruby-googleauth (>= 0.5.1~), ruby-googleapis-common-protos-types, ruby-rspec, ruby-simplecov,
dh-python,
python-all-dev, python3-all-dev,
cython, cython3,
......
......@@ -25,12 +25,6 @@ export GRPC_PYTHON_ENABLE_DOCUMENTATION_BUILD = 1
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
export DH_RUBY_GEM_INSTALL_WHITELIST_APPEND = platform_check.rb version.rb
export DH_RUBY_IGNORE_TESTS = all
export V = 1
LD_LIBRARY_PATH += :$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
......@@ -51,11 +45,10 @@ override_dh_auto_configure:
override_dh_auto_build:
# Fake included protobuf .proto files
mkdir -p $(CURDIR)/Ithird_party/protobuf/
mkdir -p $(CURDIR)/third_party/protobuf/
ln -s /usr/include $(CURDIR)/third_party/protobuf/src
$(MAKE) shared prefix=/usr
dh_auto_build -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=ruby
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
......@@ -67,11 +60,6 @@ override_dh_auto_install:
$(MAKE) INSTALL_LIBDIR=/lib/$(DEB_HOST_MULTIARCH) \
install prefix=$(CURDIR)/debian/tmp/usr
dh_auto_install -O--buildsystem=pybuild
TOPDIR=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) \
dh_auto_install -O--buildsystem=ruby
find $(CURDIR)/debian/ruby-grpc/ \
\( -name ca.pem -o -name server1.key -o -name server1.pem \) \
-exec chmod a-x {} \;
override_dh_missing:
dh_missing --list-missing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment