autobuild 1.6.2.b3 → 1.6.2.b4

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,10 +105,9 @@ class Importer
105
105
  end
106
106
 
107
107
  retry_count = 0
108
+ package.progress_start "updating %s"
108
109
  begin
109
- package.progress_start "updating %s" do
110
- update(package)
111
- end
110
+ update(package)
112
111
  rescue Interrupt
113
112
  raise
114
113
  rescue ::Exception => original_error
@@ -121,6 +120,7 @@ class Importer
121
120
  # will have to unpatch by themselves.
122
121
  cur_patches = currently_applied_patches(package)
123
122
  if !cur_patches.empty?
123
+ package.progress_done
124
124
  package.message "update failed and some patches are applied, retrying after removing all patches first"
125
125
  begin
126
126
  patch(package, [])
@@ -138,6 +138,8 @@ class Importer
138
138
  end
139
139
  package.message "update failed in #{package.srcdir}, retrying (#{retry_count}/#{self.retry_count})"
140
140
  retry
141
+ ensure
142
+ package.progress_done
141
143
  end
142
144
 
143
145
  patch(package)
@@ -261,7 +263,7 @@ class Importer
261
263
  package.message "patching %s: applying #{apply_count} and unapplying #{unapply_count} patch(es)"
262
264
  elsif apply_count > 0
263
265
  package.message "patching %s: applying #{apply_count} patch(es)"
264
- else
266
+ elsif unapply_count > 0
265
267
  package.message "patching %s: unapplying #{unapply_count} patch(es)"
266
268
  end
267
269
 
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.6.2.b3" unless defined? Autobuild::VERSION
2
+ VERSION = "1.6.2.b4" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2.b3
4
+ version: 1.6.2.b4
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: 2012-09-22 00:00:00.000000000 Z
12
+ date: 2012-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &19772240 !ruby/object:Gem::Requirement
16
+ requirement: &12343900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19772240
24
+ version_requirements: *12343900
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &19771740 !ruby/object:Gem::Requirement
27
+ requirement: &12341940 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.3.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *19771740
35
+ version_requirements: *12341940
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &19771200 !ruby/object:Gem::Requirement
38
+ requirement: &12336000 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,18 +43,18 @@ dependencies:
43
43
  version: '3.10'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *19771200
46
+ version_requirements: *12336000
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: hoe
49
- requirement: &19770720 !ruby/object:Gem::Requirement
49
+ requirement: &12334480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '3.1'
54
+ version: '3.0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *19770720
57
+ version_requirements: *12334480
58
58
  description: Collection of classes to handle build systems (CMake, autotools, ...)
59
59
  and import mechanisms (tarballs, CVS, SVN, git, ...). It also offers a Rake integration
60
60
  to import and build such software packages. It is the backbone of the autoproj (http://rock-robotics.org/autoproj)