autoproj 1.8.2 → 1.8.3.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ = Version 1.8.3
2
+ * fix broken env.sh when amake <package> or aup <package> are called
3
+
1
4
  = Version 1.8.0
2
5
  * fix issues with 1.9.3
3
6
  * significantly refactor the osdeps handling. It should make the addition of
@@ -1733,6 +1733,11 @@ module Autoproj
1733
1733
 
1734
1734
  # Create the env.sh script in +subdir+. In general, +subdir+ should be nil.
1735
1735
  def self.export_env_sh(subdir = nil)
1736
+ # Make sure that we have the environment of all selected packages
1737
+ Autoproj.manifest.all_selected_packages.each do |pkg_name|
1738
+ Autobuild::Package[pkg_name].update_environment
1739
+ end
1740
+
1736
1741
  filename = if subdir
1737
1742
  File.join(Autoproj.root_dir, subdir, "env.sh")
1738
1743
  else
@@ -1975,6 +1980,7 @@ if ARGV.first != "localdev"
1975
1980
  ARGV.shift
1976
1981
  end
1977
1982
  begin
1983
+ osdeps_management.install(['build-essential'])
1978
1984
  osdeps_management.install(['autobuild'])
1979
1985
  osdeps_management.install(['autoproj'])
1980
1986
  rescue Autoproj::ConfigError => e
@@ -437,9 +437,7 @@ module Autoproj::RubyPackage
437
437
  end
438
438
  end
439
439
 
440
- def import
441
- super
442
-
440
+ def update_environment
443
441
  Autobuild.update_environment srcdir
444
442
  libdir = File.join(srcdir, 'lib')
445
443
  if File.directory?(libdir)
@@ -335,6 +335,11 @@ module Autoproj
335
335
  # Resolve optional dependencies
336
336
  manifest.resolve_optional_dependencies
337
337
 
338
+ # Make sure that we have the environment of all selected packages
339
+ manifest.all_selected_packages.each do |pkg_name|
340
+ Autobuild::Package[pkg_name].update_environment
341
+ end
342
+
338
343
  # We now have processed the process setup blocks. All configuration
339
344
  # should be done and we can save the configuration data.
340
345
  Autoproj.save_config
@@ -125,6 +125,11 @@ module Autoproj
125
125
 
126
126
  # Create the env.sh script in +subdir+. In general, +subdir+ should be nil.
127
127
  def self.export_env_sh(subdir = nil)
128
+ # Make sure that we have the environment of all selected packages
129
+ Autoproj.manifest.all_selected_packages.each do |pkg_name|
130
+ Autobuild::Package[pkg_name].update_environment
131
+ end
132
+
128
133
  filename = if subdir
129
134
  File.join(Autoproj.root_dir, subdir, "env.sh")
130
135
  else
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.8.2"
2
+ VERSION = "1.8.3.rc1"
3
3
  end
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
5
- prerelease:
4
+ version: 1.8.3.rc1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rock Core Developers
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-02 00:00:00.000000000 Z
12
+ date: 2012-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: autobuild
16
- requirement: &20293000 !ruby/object:Gem::Requirement
16
+ requirement: &10008480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.6.0.rc1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *20293000
24
+ version_requirements: *10008480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &20292240 !ruby/object:Gem::Requirement
27
+ requirement: &10007440 !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: *20292240
35
+ version_requirements: *10007440
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: highline
38
- requirement: &20291220 !ruby/object:Gem::Requirement
38
+ requirement: &10021920 !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: *20291220
46
+ version_requirements: *10021920
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &20289640 !ruby/object:Gem::Requirement
49
+ requirement: &10021140 !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: *20289640
57
+ version_requirements: *10021140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: hoe
60
- requirement: &20288800 !ruby/object:Gem::Requirement
60
+ requirement: &10020260 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.1'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *20288800
68
+ version_requirements: *10020260
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.
@@ -157,9 +157,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  none: false
159
159
  requirements:
160
- - - ! '>='
160
+ - - ! '>'
161
161
  - !ruby/object:Gem::Version
162
- version: '0'
162
+ version: 1.3.1
163
163
  requirements: []
164
164
  rubyforge_project: autobuild
165
165
  rubygems_version: 1.8.11