autoproj 1.9.3.rc7 → 1.9.3.rc8

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -10,6 +10,13 @@
10
10
  * re-add 'default' in the osdep OS names. This allows to fall back to
11
11
  os-independent handlers (e.g. 'gem') when not on a known OS
12
12
  * fixes for the MacPort OSdep handler
13
+ * fix issues with the Ruby shims (gem, irb, ...) being shell scripts
14
+ * archives are now gracefully updated by asking the user whether he wants
15
+ the folder to be deleted
16
+ * early support for having importdir != srcdir. This allows to import and build
17
+ packages that are somewhere within another repository. It is still not very
18
+ well integrated, though.
19
+ * fix issue with autotools packages being rebuilt unnecessarily
13
20
 
14
21
  = Version 1.9.2
15
22
  * quickfix release for issues on systems where the system-wide encoding cannot
@@ -895,7 +895,7 @@ module Autoproj
895
895
  @status_exit_code
896
896
  end
897
897
  def self.list_newest?; @list_newest end
898
- def self.parse_arguments(args, with_mode = true)
898
+ def self.parse_arguments(args, with_mode = true, &additional_options)
899
899
  @only_status = false
900
900
  @only_local = false
901
901
  @show_osdeps = false
@@ -1116,9 +1116,10 @@ where 'mode' is one of:
1116
1116
  opts.on("--mail-only-errors", "send mail only on errors") do
1117
1117
  mail_config[:only_errors] = true
1118
1118
  end
1119
+ opts.instance_eval(&additional_options) if block_given?
1119
1120
  end
1120
1121
 
1121
- parser.parse!(args)
1122
+ ars = parser.parse(args)
1122
1123
  @mail_config = mail_config
1123
1124
 
1124
1125
  if with_mode
@@ -1568,7 +1569,7 @@ where 'mode' is one of:
1568
1569
  end
1569
1570
 
1570
1571
  reuse = []
1571
- parser = OptionParser.new do |opt|
1572
+ parser = lambda do |opt|
1572
1573
  opt.on '--reuse DIR', 'reuse the given autoproj installation (can be given multiple times)' do |path|
1573
1574
  path = File.expand_path(path)
1574
1575
  if !File.directory?(path) || !File.directory?(File.join(path, 'autoproj'))
@@ -1577,7 +1578,7 @@ where 'mode' is one of:
1577
1578
  reuse << path
1578
1579
  end
1579
1580
  end
1580
- args = parser.parse(args)
1581
+ args = parse_arguments(args, false, &parser)
1581
1582
  Autoproj.change_option 'reused_autoproj_installations', reuse, true
1582
1583
 
1583
1584
  # If we are not getting the installation setup from a VCS, copy the template
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.9.3.rc7"
2
+ VERSION = "1.9.3.rc8"
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.rc7
4
+ version: 1.9.3.rc8
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-24 00:00:00.000000000 Z
12
+ date: 2013-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: autobuild
16
- requirement: &17606620 !ruby/object:Gem::Requirement
16
+ requirement: &9469680 !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: *17606620
24
+ version_requirements: *9469680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &17606140 !ruby/object:Gem::Requirement
27
+ requirement: &9820480 !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: *17606140
35
+ version_requirements: *9820480
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: highline
38
- requirement: &17605620 !ruby/object:Gem::Requirement
38
+ requirement: &9819580 !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: *17605620
46
+ version_requirements: *9819580
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &17605140 !ruby/object:Gem::Requirement
49
+ requirement: &9818940 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '4.0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *17605140
57
+ version_requirements: *9818940
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: hoe
60
- requirement: &17604640 !ruby/object:Gem::Requirement
60
+ requirement: &9817700 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.6'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *17604640
68
+ version_requirements: *9817700
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.