autoproj 1.9.3.rc4 → 1.9.3.rc5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1538,6 +1538,25 @@ where 'mode' is one of:
1538
1538
  Autoproj.root_dir = Dir.pwd
1539
1539
  Autobuild.logdir = File.join(Autoproj.prefix, 'log')
1540
1540
 
1541
+ # Check if GEM_HOME is set. If it is the case, assume that we are
1542
+ # bootstrapping from another autoproj directory. We start by
1543
+ # forcefully installing autoproj/autobuild so that the installation
1544
+ # is self-contained.
1545
+ #
1546
+ # We don't use Autoproj.gem_home there as we might not be in an
1547
+ # autoproj directory at all
1548
+ gem_home = ENV['AUTOPROJ_GEM_HOME'] || File.join(Dir.pwd, ".gems")
1549
+ if ENV['GEM_HOME'] || ENV['GEM_PATH']
1550
+ ENV.delete('GEM_HOME')
1551
+ ENV.delete('GEM_PATH')
1552
+ Autoproj.message "reset the RubyGems environment, restarting bootstrapping from #{Dir.pwd}"
1553
+
1554
+ require 'rbconfig'
1555
+ ruby = RbConfig::CONFIG['RUBY_INSTALL_NAME']
1556
+ ENV['AUTOPROJ_OSDEPS_MODE'] = osdeps.osdeps_mode
1557
+ exec ruby, $0, 'bootstrap', *ARGV
1558
+ end
1559
+
1541
1560
  reuse = []
1542
1561
  parser = OptionParser.new do |opt|
1543
1562
  opt.on '--reuse DIR', 'reuse the given autoproj installation (can be given multiple times)' do |path|
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.9.3.rc4"
2
+ VERSION = "1.9.3.rc5"
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: 1.9.3.rc4
4
+ version: 1.9.3.rc5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-04-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: autobuild
16
- requirement: &7521820 !ruby/object:Gem::Requirement
16
+ requirement: &15028720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.7.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *7521820
24
+ version_requirements: *15028720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &7520300 !ruby/object:Gem::Requirement
27
+ requirement: &15027120 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.6.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *7520300
35
+ version_requirements: *15027120
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: highline
38
- requirement: &7518880 !ruby/object:Gem::Requirement
38
+ requirement: &15025720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *7518880
46
+ version_requirements: *15025720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &7535660 !ruby/object:Gem::Requirement
49
+ requirement: &15042520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '3.10'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *7535660
57
+ version_requirements: *15042520
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: hoe
60
- requirement: &7534760 !ruby/object:Gem::Requirement
60
+ requirement: &15041600 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.5'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *7534760
68
+ version_requirements: *15041600
69
69
  description: autoproj is a manager for sets of software packages. It allows the user
70
70
  to import and build packages from source, still using the underlying distribution's
71
71
  native package manager for software that is available on it.