autoproj 1.8.0.rc5 → 1.8.0.rc6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ Utilrb::Rake.hoe do
7
7
  Hoe.spec 'autoproj' do
8
8
  self.developer "Sylvain Joyeux", "sylvain.joyeux@dfki.de"
9
9
 
10
- self.urls = ["http://rock-robotics.org/documentation/autoproj",
10
+ self.url = ["http://rock-robotics.org/documentation/autoproj",
11
11
  "git://github.com/doudou/autoproj.git"]
12
12
  self.rubyforge_name = 'autobuild'
13
13
  self.summary = 'Easy installation and management of software packages'
@@ -1736,17 +1736,51 @@ end
1736
1736
 
1737
1737
  DEFS = <<EODEFS
1738
1738
  ---
1739
- lsb_release:
1740
- debian,ubuntu: lsb-release
1739
+ archive:
1740
+ arch:
1741
+ - tar
1742
+ - unzip
1743
+ debian,ubuntu:
1744
+ - tar
1745
+ - unzip
1746
+ gentoo:
1747
+ - app-arch/tar
1748
+ - app-arch/unzip
1749
+ svn:
1750
+ arch: subversion
1751
+ debian,ubuntu: subversion
1752
+ gentoo: dev-util/subversion
1753
+ cmake:
1754
+ arch: cmake
1755
+ debian,ubuntu: cmake
1756
+ gentoo: dev-util/cmake
1757
+ libxml2:
1758
+ arch: libxml2
1759
+ debian,ubuntu: libxml2-dev
1760
+ gentoo: dev-libs/libxml2
1761
+ build-essential:
1741
1762
  arch: ignore
1742
- gentoo: sys-apps/lsb-release
1743
- autoproj: gem
1763
+ debian,ubuntu: build-essential
1764
+ gentoo: ignore
1765
+ git:
1766
+ arch: git
1767
+ debian:
1768
+ default: git-core
1769
+ lenny: git
1770
+ ubuntu: git-core
1771
+ gentoo: dev-vcs/git
1772
+ libxslt:
1773
+ arch: libxslt
1774
+ debian,ubuntu: libxslt1-dev
1775
+ gentoo: dev-libs/libxslt
1744
1776
  ruby19:
1745
1777
  arch:
1746
1778
  - ruby
1747
1779
  - rake
1748
- gentoo:
1749
- - dev-lang/ruby:1.9
1780
+ debian:
1781
+ - ruby1.9.1
1782
+ - ruby1.9.1-dev
1783
+ - rubygems1.9.1
1750
1784
  - rake
1751
1785
  ubuntu:
1752
1786
  - ruby1.9.1
@@ -1755,10 +1789,8 @@ ruby19:
1755
1789
  - ri1.9.1
1756
1790
  - libopenssl-ruby1.9.1
1757
1791
  - rake
1758
- debian:
1759
- - ruby1.9.1
1760
- - ruby1.9.1-dev
1761
- - rubygems1.9.1
1792
+ gentoo:
1793
+ - dev-lang/ruby:1.9
1762
1794
  - rake
1763
1795
  ruby18:
1764
1796
  debian,ubuntu:
@@ -1771,57 +1803,25 @@ ruby18:
1771
1803
  gentoo:
1772
1804
  - dev-lang/ruby:1.8
1773
1805
  - rake
1774
- cvs:
1775
- debian,ubuntu: cvs
1776
- autobuild: gem
1777
- cmake:
1778
- debian,ubuntu: cmake
1779
- arch: cmake
1780
- gentoo: dev-util/cmake
1781
- libxml2:
1782
- debian,ubuntu: libxml2-dev
1783
- arch: libxml2
1784
- gentoo: dev-libs/libxml2
1785
- git:
1786
- arch: git
1787
- gentoo: dev-vcs/git
1788
- ubuntu: git-core
1789
- debian:
1790
- lenny: git
1791
- default: git-core
1792
- libxslt:
1793
- debian,ubuntu: libxslt1-dev
1794
- arch: libxslt
1795
- gentoo: dev-libs/libxslt
1796
- svn:
1797
- debian,ubuntu: subversion
1798
- arch: subversion
1799
- gentoo: dev-util/subversion
1800
- archive:
1801
- debian,ubuntu:
1802
- - tar
1803
- - unzip
1804
- arch:
1805
- - tar
1806
- - unzip
1807
- gentoo:
1808
- - app-arch/tar
1809
- - app-arch/unzip
1810
1806
  none: ignore
1811
- build-essential:
1812
- debian,ubuntu: build-essential
1813
- arch: ignore
1814
- gentoo: ignore
1807
+ autoproj: gem
1808
+ zlib:
1809
+ debian,ubuntu: zlib1g-dev
1815
1810
  autotools:
1811
+ arch: automake autoconf
1816
1812
  debian,ubuntu:
1817
1813
  - automake1.9
1818
1814
  - autoconf
1819
- arch: automake autoconf
1820
1815
  gentoo:
1821
1816
  - sys-devel/automake:1.9
1822
1817
  - sys-devel/autoconf
1823
- zlib:
1824
- debian,ubuntu: zlib1g-dev
1818
+ lsb_release:
1819
+ arch: ignore
1820
+ debian,ubuntu: lsb-release
1821
+ gentoo: sys-apps/lsb-release
1822
+ cvs:
1823
+ debian,ubuntu: cvs
1824
+ autobuild: gem
1825
1825
 
1826
1826
  EODEFS
1827
1827
 
data/lib/autoproj/base.rb CHANGED
@@ -1,4 +1,12 @@
1
+ require 'yaml'
1
2
  module Autoproj
3
+ YAML_LOAD_ERROR =
4
+ if defined? Psych::SyntaxError
5
+ Psych::SyntaxError
6
+ else
7
+ ArgumentError
8
+ end
9
+
2
10
  class ConfigError < RuntimeError
3
11
  attr_accessor :file
4
12
  def initialize(file = nil)
@@ -620,7 +620,7 @@ module Autoproj
620
620
  raise ConfigError.new, "source #{vcs.type}:#{vcs.url} should have a source.yml file, but does not"
621
621
  end
622
622
 
623
- source_definition = Autoproj.in_file(source_file, ArgumentError) do
623
+ source_definition = Autoproj.in_file(source_file, Autoproj::YAML_LOAD_ERROR) do
624
624
  YAML.load(File.read(source_file))
625
625
  end
626
626
 
@@ -882,7 +882,7 @@ module Autoproj
882
882
  def raw_description_file
883
883
  path = source_file
884
884
  if File.file?(path)
885
- data = Autoproj.in_file(path, ArgumentError) do
885
+ data = Autoproj.in_file(path, Autoproj::YAML_LOAD_ERROR) do
886
886
  YAML.load(File.read(path)) || Hash.new
887
887
  end
888
888
  data['name'] = 'local'
@@ -1006,7 +1006,7 @@ module Autoproj
1006
1006
  raise ConfigError.new(File.dirname(file)), "expected an autoproj configuration in #{File.dirname(file)}, but #{file} does not exist"
1007
1007
  end
1008
1008
 
1009
- data = Autoproj.in_file(file, ArgumentError) do
1009
+ data = Autoproj.in_file(file, Autoproj::YAML_LOAD_ERROR) do
1010
1010
  YAML.load(File.read(file))
1011
1011
  end
1012
1012
 
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.8.0.rc5"
2
+ VERSION = "1.8.0.rc6"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1441156394
4
+ hash: -1525039966
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
9
  - 0
10
10
  - rc
11
- - 5
12
- version: 1.8.0.rc5
11
+ - 6
12
+ version: 1.8.0.rc6
13
13
  platform: ruby
14
14
  authors:
15
15
  - Sylvain Joyeux
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-05-04 00:00:00 Z
20
+ date: 2012-09-11 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: autobuild
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- hash: -1441156546
30
+ hash: -1525040052
31
31
  segments:
32
32
  - 1
33
33
  - 6
@@ -75,13 +75,14 @@ dependencies:
75
75
  requirement: &id004 !ruby/object:Gem::Requirement
76
76
  none: false
77
77
  requirements:
78
- - - ~>
78
+ - - ">="
79
79
  - !ruby/object:Gem::Version
80
- hash: 27
80
+ hash: 47
81
81
  segments:
82
82
  - 2
83
- - 12
84
- version: "2.12"
83
+ - 8
84
+ - 0
85
+ version: 2.8.0
85
86
  type: :development
86
87
  version_requirements: *id004
87
88
  description: |-
@@ -170,8 +171,7 @@ files:
170
171
  - test/test_os_dependencies.rb
171
172
  - test/package_managers/test_gem.rb
172
173
  - test/test_package_manifest.rb
173
- - .gemtest
174
- homepage:
174
+ homepage: http://rock-robotics.org/documentation/autoproj
175
175
  licenses: []
176
176
 
177
177
  post_install_message:
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  requirements: []
204
204
 
205
205
  rubyforge_project: autobuild
206
- rubygems_version: 1.8.15
206
+ rubygems_version: 1.8.24
207
207
  signing_key:
208
208
  specification_version: 3
209
209
  summary: Easy installation and management of software packages
data/.gemtest DELETED
File without changes