autoproj 1.7.9 → 1.7.10
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -5
- data/bin/autoproj_bootstrap +9 -4
- data/lib/autoproj/autobuild.rb +1 -1
- data/lib/autoproj/osdeps.rb +3 -3
- data/lib/autoproj/version.rb +1 -1
- metadata +5 -7
data/History.txt
CHANGED
@@ -1,18 +1,19 @@
|
|
1
|
+
= Version 1.7.10
|
2
|
+
* really fix support of virtual packages on dpkg-based systems (debian, ubuntu)
|
3
|
+
1.7.9 was only supporting packages that were providing only one package
|
4
|
+
|
1
5
|
= Version 1.7.9
|
2
6
|
* improve ruby 1.9 compatibility
|
3
7
|
* fix ignoring osdeps dependencies completely, i.e.
|
4
|
-
|
5
8
|
ruby: ignore
|
6
|
-
|
7
9
|
is now working fine (before, one had to provide at least an OS name)
|
8
|
-
|
9
10
|
* on dpkg-based systems (debian, ubuntu), fix detection of installed virtual packages
|
10
11
|
* fix passing autoproj options from aup and amake to autoproj itself (it was
|
11
12
|
broken). One can now *really* do
|
12
|
-
|
13
13
|
amake --no-deps
|
14
|
-
|
15
14
|
as advertised by the 1.7.8 release notes.
|
15
|
+
* autoproj_bootstrap now follows the AUTOPROJ_DEFAULT_OSDEPS environment
|
16
|
+
variable
|
16
17
|
|
17
18
|
= Version 1.7.8
|
18
19
|
* fix bootstrap and switch-config with VCS options (i.e. setting a branch on
|
data/bin/autoproj_bootstrap
CHANGED
@@ -196,7 +196,7 @@ module Autoproj
|
|
196
196
|
root_dir ||= "#{Autoproj.root_dir}/"
|
197
197
|
old = source_of(h).gsub(root_dir, '')
|
198
198
|
new = info.source_of(h).gsub(root_dir, '')
|
199
|
-
Autoproj.warn("osdeps definition for #{h}, previously defined in #{old}
|
199
|
+
Autoproj.warn("osdeps definition for #{h}, previously defined in #{old} overridden by #{new}")
|
200
200
|
end
|
201
201
|
v2
|
202
202
|
end
|
@@ -359,7 +359,7 @@ module Autoproj
|
|
359
359
|
elsif line =~ /Package: (.*)$/
|
360
360
|
current_packages << $1
|
361
361
|
elsif line =~ /Provides: (.*)$/
|
362
|
-
current_packages
|
362
|
+
current_packages.concat($1.split(',').map(&:strip))
|
363
363
|
elsif line == "Status: install ok installed"
|
364
364
|
is_installed = true
|
365
365
|
end
|
@@ -941,7 +941,7 @@ So, what do you want ? (all, ruby, os or none)
|
|
941
941
|
#{cmdlines.map { |c| c.join(" ") }.join("\n ")}
|
942
942
|
|
943
943
|
Autoproj expects these Gems to be installed in #{Autoproj.gem_home} This can
|
944
|
-
be
|
944
|
+
be overridden by setting the AUTOPROJ_GEM_HOME environment variable manually
|
945
945
|
|
946
946
|
EOMSG
|
947
947
|
print " #{Autoproj.color("Press ENTER to continue ", :bold)}"
|
@@ -1527,7 +1527,12 @@ ENV['AUTOPROJ_OSDEPS_MODE'] = osdeps_mode
|
|
1527
1527
|
Autobuild.programs['gem'] = nil
|
1528
1528
|
Autoproj::OSDependencies.autodetect_ruby
|
1529
1529
|
|
1530
|
-
osdeps_management =
|
1530
|
+
osdeps_management =
|
1531
|
+
if ENV['AUTOPROJ_DEFAULT_OSDEPS']
|
1532
|
+
Autoproj::OSDependencies.load(ENV['AUTOPROJ_DEFAULT_OSDEPS'])
|
1533
|
+
else
|
1534
|
+
Autoproj::OSDependencies.new(YAML.load(DEFS))
|
1535
|
+
end
|
1531
1536
|
osdeps_management.silent = false
|
1532
1537
|
|
1533
1538
|
begin
|
data/lib/autoproj/autobuild.rb
CHANGED
@@ -313,7 +313,7 @@ def package_common(package_type, spec, &block) # :nodoc:
|
|
313
313
|
if Autobuild::Package[package_name]
|
314
314
|
current_file = Autoproj.current_file[1]
|
315
315
|
old_file = Autoproj.manifest.definition_file(package_name)
|
316
|
-
Autoproj.warn "#{package_name} from #{current_file} is
|
316
|
+
Autoproj.warn "#{package_name} from #{current_file} is overridden by the definition in #{old_file}"
|
317
317
|
|
318
318
|
return
|
319
319
|
end
|
data/lib/autoproj/osdeps.rb
CHANGED
@@ -97,7 +97,7 @@ module Autoproj
|
|
97
97
|
root_dir ||= "#{Autoproj.root_dir}/"
|
98
98
|
old = source_of(h).gsub(root_dir, '')
|
99
99
|
new = info.source_of(h).gsub(root_dir, '')
|
100
|
-
Autoproj.warn("osdeps definition for #{h}, previously defined in #{old}
|
100
|
+
Autoproj.warn("osdeps definition for #{h}, previously defined in #{old} overridden by #{new}")
|
101
101
|
end
|
102
102
|
v2
|
103
103
|
end
|
@@ -260,7 +260,7 @@ module Autoproj
|
|
260
260
|
elsif line =~ /Package: (.*)$/
|
261
261
|
current_packages << $1
|
262
262
|
elsif line =~ /Provides: (.*)$/
|
263
|
-
current_packages
|
263
|
+
current_packages.concat($1.split(',').map(&:strip))
|
264
264
|
elsif line == "Status: install ok installed"
|
265
265
|
is_installed = true
|
266
266
|
end
|
@@ -842,7 +842,7 @@ So, what do you want ? (all, ruby, os or none)
|
|
842
842
|
#{cmdlines.map { |c| c.join(" ") }.join("\n ")}
|
843
843
|
|
844
844
|
Autoproj expects these Gems to be installed in #{Autoproj.gem_home} This can
|
845
|
-
be
|
845
|
+
be overridden by setting the AUTOPROJ_GEM_HOME environment variable manually
|
846
846
|
|
847
847
|
EOMSG
|
848
848
|
print " #{Autoproj.color("Press ENTER to continue ", :bold)}"
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 1.7.
|
9
|
+
- 10
|
10
|
+
version: 1.7.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sylvain Joyeux
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-05-05 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: autobuild
|
@@ -222,7 +221,6 @@ files:
|
|
222
221
|
- test/data/test_manifest/autoproj/manifest
|
223
222
|
- test/test_debian.rb
|
224
223
|
- test/test_manifest.rb
|
225
|
-
has_rdoc: true
|
226
224
|
homepage: http://doudou.github.com/autoproj
|
227
225
|
licenses: []
|
228
226
|
|
@@ -253,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
251
|
requirements: []
|
254
252
|
|
255
253
|
rubyforge_project: autobuild
|
256
|
-
rubygems_version: 1.
|
254
|
+
rubygems_version: 1.7.2
|
257
255
|
signing_key:
|
258
256
|
specification_version: 3
|
259
257
|
summary: Easy installation and management of robotics software
|