autoproj 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ $LOAD_PATH.unshift File.expand_path('../lib', File.dirname(__FILE__))
2
+ require 'test/unit'
3
+ require 'autoproj/system'
4
+
5
+ class TC_Debian < Test::Unit::TestCase
6
+ def test_debian_detection
7
+ assert Autoproj.on_debian?
8
+ end
9
+
10
+ def test_apt_version
11
+ apt_version = Autoproj.apt_version
12
+ version_string = apt_version.join(".")
13
+ assert `apt-get -v` =~ /#{Regexp.quote(version_string)}/
14
+ end
15
+ end
16
+
@@ -0,0 +1,40 @@
1
+ $LOAD_PATH.unshift File.expand_path('../lib', File.dirname(__FILE__))
2
+ require 'test/unit'
3
+ require 'autoproj'
4
+ require 'set'
5
+
6
+ class TC_Manifest < Test::Unit::TestCase
7
+ DATA_DIR = File.expand_path('data', File.dirname(__FILE__))
8
+ include Autoproj
9
+
10
+ def test_each_sources
11
+ Dir.chdir(File.join(DATA_DIR, 'test_manifest', 'autoproj')) do
12
+ manifest = Manifest.load(File.join(DATA_DIR, 'test_manifest', 'autoproj', 'manifest'))
13
+ sources = manifest.each_source.to_set
14
+
15
+ test_data = "#{DATA_DIR}/test_manifest"
16
+ test_data_name = test_data.gsub '/', '_'
17
+
18
+ expected = [
19
+ ["#{test_data_name}_autoproj_local", "local",
20
+ "#{test_data}/autoproj/local",
21
+ "#{test_data}/autoproj/local",
22
+ {}],
23
+ ["#{test_data_name}_remote1_git", "git",
24
+ "#{test_data}/remote1.git",
25
+ "#{test_data}/autoproj/remotes/_home_doudou_src_autoproj_test_data_test_manifest_remote1_git",
26
+ {}],
27
+ ["#{test_data_name}_remote2_git", "git",
28
+ "#{test_data}/remote2.git",
29
+ "#{test_data}/autoproj/remotes/_home_doudou_src_autoproj_test_data_test_manifest_remote2_git",
30
+ {:branch=>"next"}]
31
+ ]
32
+
33
+ assert_equal(expected.to_set, sources)
34
+ end
35
+ end
36
+
37
+ def test_update_sources
38
+ end
39
+ end
40
+
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: autoproj
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Sylvain Joyeux
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-14 00:00:00 +02:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: autobuild
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.3.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: rmail
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: utilrb
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.3.3
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: nokogiri
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 1.3.3
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: highline
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.5.0
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: webgen
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 0.5.9
74
+ version:
75
+ - !ruby/object:Gem::Dependency
76
+ name: rdoc
77
+ type: :development
78
+ version_requirement:
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 2.4.0
84
+ version:
85
+ - !ruby/object:Gem::Dependency
86
+ name: hoe
87
+ type: :development
88
+ version_requirement:
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: 2.3.3
94
+ version:
95
+ description: |-
96
+ What is Autoproj
97
+ ----------------
98
+ Autoproj allows to easily install and maintain software that is under source
99
+ code form (usually from a version control system). It has been designed to support a
100
+ package-oriented development process, where each package can have its own
101
+ version control repository (think "distributed version control"). It also
102
+ provides an easy integration of the local operating system (Debian, Ubuntu,
103
+ Fedora, maybe MacOSX at some point).
104
+
105
+ This tool has been developped in the frame of the RubyInMotion project
106
+ (http://sites.google.com/site/rubyinmotion), to install robotics-related
107
+ software -- that is often bleeding edge. Unlike [the ROS build
108
+ system](http://ros.org), it is not bound to one build system, one VCS and one
109
+ integration framework. The philosophy behind autoproj
110
+ is:
111
+ * supports both CMake and autotools, and can be adapted to other tools
112
+ * supports different VCS: cvs, svn, git, plain tarballs.
113
+ * software packages are plain packages, meaning that they can be built and
114
+ installed /outside/ an autoproj tree, and are not tied *at all* to the
115
+ autoproj build system.
116
+ * leverage the actual OS package management system. Right now, only Debian-like
117
+ systems (like Ubuntu) are supported, simply because it is the only one I have
118
+ access to.
119
+ * handle code generation properly
120
+ email:
121
+ - sylvain.joyeux@dfki.de
122
+ executables:
123
+ - autoproj
124
+ extensions: []
125
+
126
+ extra_rdoc_files:
127
+ - History.txt
128
+ - Manifest.txt
129
+ - README.txt
130
+ files:
131
+ - History.txt
132
+ - Manifest.txt
133
+ - README.txt
134
+ - Rakefile
135
+ - bin/autoproj
136
+ - doc/guide/config.yaml
137
+ - doc/guide/ext/init.rb
138
+ - doc/guide/ext/previous_next.rb
139
+ - doc/guide/ext/rdoc_links.rb
140
+ - doc/guide/src/autobuild.page
141
+ - doc/guide/src/autoproj_bootstrap
142
+ - doc/guide/src/default.css
143
+ - doc/guide/src/default.template
144
+ - doc/guide/src/htmldoc.metainfo
145
+ - doc/guide/src/images/bodybg.png
146
+ - doc/guide/src/images/contbg.png
147
+ - doc/guide/src/images/footerbg.png
148
+ - doc/guide/src/images/gradient1.png
149
+ - doc/guide/src/images/gradient2.png
150
+ - doc/guide/src/index.page
151
+ - doc/guide/src/source_yml.page
152
+ - doc/guide/src/structure.page
153
+ - lib/autoproj.rb
154
+ - lib/autoproj/autobuild.rb
155
+ - lib/autoproj/default.osdeps
156
+ - lib/autoproj/manifest.rb
157
+ - lib/autoproj/options.rb
158
+ - lib/autoproj/osdeps.rb
159
+ - lib/autoproj/system.rb
160
+ - lib/autoproj/version.rb
161
+ - samples/manifest
162
+ - samples/manifest.xml
163
+ - samples/osdeps.yml
164
+ - test/data/test_manifest/autoproj/local/local.autobuild
165
+ - test/data/test_manifest/autoproj/manifest
166
+ - test/test_debian.rb
167
+ - test/test_manifest.rb
168
+ has_rdoc: true
169
+ homepage:
170
+ licenses: []
171
+
172
+ post_install_message:
173
+ rdoc_options:
174
+ - --main
175
+ - README.txt
176
+ require_paths:
177
+ - lib
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: "0"
183
+ version:
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: "0"
189
+ version:
190
+ requirements: []
191
+
192
+ rubyforge_project: autobuild
193
+ rubygems_version: 1.3.5
194
+ signing_key:
195
+ specification_version: 3
196
+ summary: Easy installation and management of robotics software
197
+ test_files:
198
+ - test/test_debian.rb
199
+ - test/test_manifest.rb