1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
export DH_RUBY_GEM_INSTALL_WHITELIST_APPEND = spec
%:
dh $@ --buildsystem=ruby --with ruby --with python3
override_dh_install:
dh_install
rm -f debian/ruby-license-finder/usr/share/rubygems-integration/all/gems/license_finder-*/bin/license_finder_pip.py
rm -f debian/ruby-license-finder/usr/bin/license_finder_pip.py
override_dh_clean:
dh_clean
rm -rf Gemfile.lock
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
|