autobuild 1.7.3.rc1 → 1.7.3.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,21 @@ module Autobuild
21
21
  # * +install+ is ran after +build+.
22
22
  #
23
23
  class Configurable < Package
24
+ # Set of regexp matching paths that should not be considered as source
25
+ # files
26
+ #
27
+ # This is used to determine whether the source code changed (and
28
+ # therefore whether the package should be rebuilt). Autobuild sets up a
29
+ # default set of common excludes, use this to add custom ones
30
+ #
31
+ # @return [Array<Regexp>]
32
+ attr_reader :source_tree_excludes
33
+
34
+ def initialize(spec = Hash.new)
35
+ @source_tree_excludes = Array.new
36
+ super
37
+ end
38
+
24
39
  class << self
25
40
  def builddir
26
41
  if @builddir
@@ -81,6 +96,7 @@ module Autobuild
81
96
  source_tree srcdir do |pkg|
82
97
  pkg.exclude << Regexp.new("^#{Regexp.quote(builddir)}")
83
98
  pkg.exclude << Regexp.new("^#{Regexp.quote(doc_dir)}") if doc_dir
99
+ pkg.exclude.concat(self.source_tree_excludes)
84
100
  end
85
101
 
86
102
  super
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.7.3.rc1" unless defined? Autobuild::VERSION
2
+ VERSION = "1.7.3.rc2" 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.7.3.rc1
4
+ version: 1.7.3.rc2
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-05 00:00:00.000000000 Z
12
+ date: 2013-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &13319080 !ruby/object:Gem::Requirement
16
+ requirement: &16804000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *13319080
24
+ version_requirements: *16804000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &13318200 !ruby/object:Gem::Requirement
27
+ requirement: &16803220 !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: *13318200
35
+ version_requirements: *16803220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: highline
38
- requirement: &13317360 !ruby/object:Gem::Requirement
38
+ requirement: &16802320 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *13317360
46
+ version_requirements: *16802320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &13316460 !ruby/object:Gem::Requirement
49
+ requirement: &16801420 !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: *13316460
57
+ version_requirements: *16801420
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: hoe
60
- requirement: &13315640 !ruby/object:Gem::Requirement
60
+ requirement: &16800600 !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: *13315640
68
+ version_requirements: *16800600
69
69
  description: Collection of classes to handle build systems (CMake, autotools, ...)
70
70
  and import mechanisms (tarballs, CVS, SVN, git, ...). It also offers a Rake integration
71
71
  to import and build such software packages. It is the backbone of the autoproj (http://rock-robotics.org/autoproj)