autoproj 2.0.0.rc33 → 2.0.0.rc34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1bbd3c8a0a54c4344fc5865309106b3869d16bf
4
- data.tar.gz: 84ba1ca1161c05483ab51c3239a59c48e8cfcea4
3
+ metadata.gz: 4c2f6ef91c660d96b417ee9d3131407b4346e7ff
4
+ data.tar.gz: ad6a2ace669c9e736451c16c0be0b523ac24fd11
5
5
  SHA512:
6
- metadata.gz: 311b9232ca6168cb33c3a2ee97cdfe793be6d29904f82e1a78cb863c84dce4e5992d8d529b6ac0c9d47d58aec3417902a50053a1490629f99d3b554f79e05278
7
- data.tar.gz: 671e7b5fceb741dac1ef521f985bf352e83fabe6a9a79030baf9fbb865eba0c0c69e26103a063a47933def4fb71f6f731bf42abb5c89441bc41d06e67308a283
6
+ metadata.gz: f7f95bc00fbf33318348b7f95c6bf019f115c10366b6f2a6d537f8f04ec048c977b9d33898cd6abd4711303e2acf2150a70aba3067f63795acf1b94a62912118
7
+ data.tar.gz: 6229352a202ef5495e88c826e9d5548418a9f4035cc2134df2c5b6814a7cbaf606f94e958df118490e670b992229808b3622b60dfb00da796b9664a361b355b8
@@ -341,7 +341,6 @@ if defined?(Bundler)
341
341
  end
342
342
  end
343
343
 
344
- ENV.delete('BUNDLE_GEMFILE')
345
344
  ENV['GEM_HOME'] = '#{gems_gem_home}'
346
345
  ENV.delete('GEM_PATH')
347
346
  Gem.paths = Hash['GEM_HOME' => '#{gems_gem_home}', 'GEM_PATH' => '']
@@ -546,13 +545,13 @@ require 'bundler/setup'
546
545
  require 'autobuild'
547
546
  puts "saving env.sh and .autoproj/env.sh"
548
547
  save_env_sh(*vars)
549
- if !system(Gem.ruby, autoproj_path, 'envsh', *autoproj_options, '--debug')
548
+ if !system(Gem.ruby, autoproj_path, 'envsh', *autoproj_options)
550
549
  STDERR.puts "failed to run autoproj envsh on the newly installed autoproj (#{autoproj_path})"
551
550
  exit 1
552
551
  end
553
552
  # This is really needed on an existing install to install the
554
553
  # gems that were present in the v1 layout
555
- if !system(Gem.ruby, autoproj_path, 'osdeps', '--debug')
554
+ if !system(Gem.ruby, autoproj_path, 'osdeps')
556
555
  STDERR.puts "failed to run autoproj osdeps on the newly installed autoproj (#{autoproj_path})"
557
556
  exit 1
558
557
  end
data/bin/autoproj_install CHANGED
@@ -341,7 +341,6 @@ if defined?(Bundler)
341
341
  end
342
342
  end
343
343
 
344
- ENV.delete('BUNDLE_GEMFILE')
345
344
  ENV['GEM_HOME'] = '#{gems_gem_home}'
346
345
  ENV.delete('GEM_PATH')
347
346
  Gem.paths = Hash['GEM_HOME' => '#{gems_gem_home}', 'GEM_PATH' => '']
@@ -546,13 +545,13 @@ require 'bundler/setup'
546
545
  require 'autobuild'
547
546
  puts "saving env.sh and .autoproj/env.sh"
548
547
  save_env_sh(*vars)
549
- if !system(Gem.ruby, autoproj_path, 'envsh', *autoproj_options, '--debug')
548
+ if !system(Gem.ruby, autoproj_path, 'envsh', *autoproj_options)
550
549
  STDERR.puts "failed to run autoproj envsh on the newly installed autoproj (#{autoproj_path})"
551
550
  exit 1
552
551
  end
553
552
  # This is really needed on an existing install to install the
554
553
  # gems that were present in the v1 layout
555
- if !system(Gem.ruby, autoproj_path, 'osdeps', '--debug')
554
+ if !system(Gem.ruby, autoproj_path, 'osdeps')
556
555
  STDERR.puts "failed to run autoproj osdeps on the newly installed autoproj (#{autoproj_path})"
557
556
  exit 1
558
557
  end
@@ -14,6 +14,7 @@ def run(user_selection, options = Hash.new)
14
14
  shell_helpers: ws.config.shell_helpers?
15
15
  ws.install_os_packages(
16
16
  osdep_packages,
17
+ run_package_managers_without_packages: true,
17
18
  install_only: !options[:update])
18
19
  ws.export_env_sh(shell_helpers: options[:shell_helpers])
19
20
  end
@@ -331,7 +331,6 @@ def self.shim_bundler(ruby_executable, autoproj_gemfile_path, gems_gem_home)
331
331
  end
332
332
  end
333
333
 
334
- ENV.delete('BUNDLE_GEMFILE')
335
334
  ENV['GEM_HOME'] = '#{gems_gem_home}'
336
335
  ENV.delete('GEM_PATH')
337
336
  Gem.paths = Hash['GEM_HOME' => '#{gems_gem_home}', 'GEM_PATH' => '']
@@ -536,13 +535,13 @@ def stage2(*vars)
536
535
  require 'autobuild'
537
536
  puts "saving env.sh and .autoproj/env.sh"
538
537
  save_env_sh(*vars)
539
- if !system(Gem.ruby, autoproj_path, 'envsh', *autoproj_options, '--debug')
538
+ if !system(Gem.ruby, autoproj_path, 'envsh', *autoproj_options)
540
539
  STDERR.puts "failed to run autoproj envsh on the newly installed autoproj (#{autoproj_path})"
541
540
  exit 1
542
541
  end
543
542
  # This is really needed on an existing install to install the
544
543
  # gems that were present in the v1 layout
545
- if !system(Gem.ruby, autoproj_path, 'osdeps', '--debug')
544
+ if !system(Gem.ruby, autoproj_path, 'osdeps')
546
545
  STDERR.puts "failed to run autoproj osdeps on the newly installed autoproj (#{autoproj_path})"
547
546
  exit 1
548
547
  end
@@ -315,7 +315,7 @@ def pristine(packages, options = Hash.new)
315
315
  end
316
316
 
317
317
  # Requests the installation of the given set of packages
318
- def install(osdep_packages, install_only: false, **options)
318
+ def install(osdep_packages, install_only: false, run_package_managers_without_packages: false, **options)
319
319
  osdep_packages = osdep_packages.to_set - installed_packages
320
320
 
321
321
  setup_package_managers(**options)
@@ -342,7 +342,8 @@ def install(osdep_packages, install_only: false, **options)
342
342
  [os_packages, other_packages].each do |packages|
343
343
  packages.each do |handler, list|
344
344
  list = list.to_set - installed_resolved_packages[handler]
345
- next if list.empty? && !handler.call_while_empty?
345
+ next if !run_package_managers_without_packages ||
346
+ (list.empty? && !handler.call_while_empty?)
346
347
 
347
348
  handler.install(
348
349
  list.to_a,
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "2.0.0.rc33"
2
+ VERSION = "2.0.0.rc34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc33
4
+ version: 2.0.0.rc34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux