autoproj 1.11.0.rc11 → 1.11.0.rc12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0c81d44a11252188106d89008e520814b7d428c
4
- data.tar.gz: 026938c50697e48764c7389bc17428ab894cf620
3
+ metadata.gz: 9058233d769c69abb2b7268a778f40c048e40a11
4
+ data.tar.gz: 06e3fb0789c5aa42d5db2729659ca03a710ad2db
5
5
  SHA512:
6
- metadata.gz: 47c222b82563dd4d3b5006d948e182bd36ff10a9c8fabe28becb349812669f9326e4d411e9e579a059aff79dbfbe4547ead87e0c80ff21a553f79082a11bdb98
7
- data.tar.gz: 150bd14da0f70108b681edef5377824a87bf0b48ffc008f24da0ec081ffb759345d997f64118c883d903a4bd8bd268ffda0b234c385072caacc67764b477a0c2
6
+ metadata.gz: ce8b28fa3cf0ac43790c2afbc757053c1765c038bda470f3cb0556f0d88ee7d65f63c96909a854df43870a4603031ca84582bd9c42d04d5369a26575b081a194
7
+ data.tar.gz: 7f0a1d542df5a044009ef048914a93ddd1e5814c540feb4a2315562211410216018d7a1acdada80e98ed402920ef65cd5d5d509830125022fbdb39653eb046a7
@@ -1732,6 +1732,8 @@ fi
1732
1732
  return [distributor, [codename, version]]
1733
1733
  end
1734
1734
 
1735
+ class InvalidRecursiveStatement < Autobuild::Exception; end
1736
+
1735
1737
  # Return the list of packages that should be installed for +name+
1736
1738
  #
1737
1739
  # The following two simple return values are possible:
@@ -1794,7 +1796,11 @@ fi
1794
1796
  found, pkg = partition_osdep_entry(name, dep_def, ['osdep'], [], os_names, os_versions)
1795
1797
  if found
1796
1798
  pkg.each do |pkg_name|
1797
- result.concat(resolve_package(pkg_name))
1799
+ resolved = resolve_package(pkg_name)
1800
+ if !resolved
1801
+ raise InvalidRecursiveStatement, "osdep #{pkg_name} does not exist. It is referred to by #{name}."
1802
+ end
1803
+ result.concat(resolved)
1798
1804
  end
1799
1805
  end
1800
1806
 
@@ -2753,10 +2759,17 @@ ruby21:
2753
2759
  - ruby2.1-dev
2754
2760
  - rake
2755
2761
  - rubygems-integration
2762
+ ubuntu:
2763
+ '14.10':
2764
+ - ruby2.1
2765
+ - ruby2.1-dev
2766
+ - rake
2767
+ - rubygems-integration
2768
+ default: ignore
2756
2769
  fedora: ruby-devel
2757
2770
  macos-brew:
2758
2771
  - gem: rake
2759
- default,ubuntu: ignore
2772
+ default: ignore
2760
2773
  build-essential:
2761
2774
  debian,ubuntu: build-essential
2762
2775
  gentoo: ignore
@@ -63,15 +63,22 @@ ruby20:
63
63
  default: ignore # we assume that if the user has a ruby 2.0 runtime, it is usable
64
64
 
65
65
  ruby21:
66
- debian:
67
- - ruby2.1
68
- - ruby2.1-dev
69
- - rake
70
- - rubygems-integration
71
- fedora: ruby-devel
72
- macos-brew:
73
- - gem: rake
74
- default,ubuntu: ignore # we assume that if the user has a ruby 2.1 runtime, it is usable
66
+ debian:
67
+ - ruby2.1
68
+ - ruby2.1-dev
69
+ - rake
70
+ - rubygems-integration
71
+ ubuntu:
72
+ '14.10':
73
+ - ruby2.1
74
+ - ruby2.1-dev
75
+ - rake
76
+ - rubygems-integration
77
+ default: ignore
78
+ fedora: ruby-devel
79
+ macos-brew:
80
+ - gem: rake
81
+ default: ignore # we assume that if the user has a ruby 2.1 runtime, it is usable
75
82
 
76
83
  build-essential:
77
84
  debian,ubuntu: build-essential
@@ -31,7 +31,6 @@ module Autoproj
31
31
  # functionality
32
32
  managers = Autoproj.osdeps.setup_package_handlers
33
33
  managers.each do |mng|
34
- puts mng.class
35
34
  if mng.respond_to?(:reinstall)
36
35
  mng.reinstall
37
36
  end
@@ -1271,6 +1271,8 @@ fi
1271
1271
  return [distributor, [codename, version]]
1272
1272
  end
1273
1273
 
1274
+ class InvalidRecursiveStatement < Autobuild::Exception; end
1275
+
1274
1276
  # Return the list of packages that should be installed for +name+
1275
1277
  #
1276
1278
  # The following two simple return values are possible:
@@ -1333,7 +1335,11 @@ fi
1333
1335
  found, pkg = partition_osdep_entry(name, dep_def, ['osdep'], [], os_names, os_versions)
1334
1336
  if found
1335
1337
  pkg.each do |pkg_name|
1336
- result.concat(resolve_package(pkg_name))
1338
+ resolved = resolve_package(pkg_name)
1339
+ if !resolved
1340
+ raise InvalidRecursiveStatement, "osdep #{pkg_name} does not exist. It is referred to by #{name}."
1341
+ end
1342
+ result.concat(resolved)
1337
1343
  end
1338
1344
  end
1339
1345
 
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.11.0.rc11"
2
+ VERSION = "1.11.0.rc12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0.rc11
4
+ version: 1.11.0.rc12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rock Core Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2014-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autobuild