autoproj 1.9.5.rc2 → 1.9.5.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/autoproj_bootstrap +71 -71
- data/lib/autoproj/cmdline.rb +4 -2
- data/lib/autoproj/manifest.rb +15 -0
- data/lib/autoproj/version.rb +1 -1
- metadata +3 -3
data/bin/autoproj_bootstrap
CHANGED
@@ -2082,27 +2082,14 @@ end
|
|
2082
2082
|
|
2083
2083
|
DEFS = <<EODEFS
|
2084
2084
|
---
|
2085
|
-
|
2086
|
-
debian,ubuntu: python-pip
|
2087
|
-
cvs:
|
2088
|
-
fedora: cvs
|
2089
|
-
darwin: cvs
|
2090
|
-
debian,ubuntu: cvs
|
2091
|
-
lsb_release:
|
2092
|
-
fedora: redhat-lsb
|
2093
|
-
arch: ignore
|
2094
|
-
gentoo: sys-apps/lsb-release
|
2095
|
-
darwin: ignore
|
2096
|
-
debian,ubuntu: lsb-release
|
2097
|
-
cmake:
|
2098
|
-
fedora: cmake
|
2099
|
-
arch: cmake
|
2100
|
-
gentoo: dev-util/cmake
|
2101
|
-
darwin: cmake
|
2102
|
-
debian,ubuntu: cmake
|
2103
|
-
autobuild: gem
|
2104
|
-
none: ignore
|
2085
|
+
ruby20: ignore
|
2105
2086
|
archive:
|
2087
|
+
darwin:
|
2088
|
+
- gnutar
|
2089
|
+
- unzip
|
2090
|
+
debian,ubuntu:
|
2091
|
+
- tar
|
2092
|
+
- unzip
|
2106
2093
|
fedora:
|
2107
2094
|
- tar
|
2108
2095
|
- unzip
|
@@ -2112,80 +2099,59 @@ archive:
|
|
2112
2099
|
gentoo:
|
2113
2100
|
- app-arch/tar
|
2114
2101
|
- app-arch/unzip
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
debian,ubuntu:
|
2119
|
-
-
|
2120
|
-
|
2121
|
-
|
2122
|
-
fedora:
|
2123
|
-
- automake
|
2124
|
-
- autoconf
|
2125
|
-
arch: automake autoconf
|
2126
|
-
gentoo:
|
2127
|
-
- sys-devel/automake:1.9
|
2128
|
-
- sys-devel/autoconf
|
2129
|
-
darwin:
|
2130
|
-
- automake
|
2131
|
-
- autoconf
|
2132
|
-
debian,ubuntu:
|
2133
|
-
- automake1.9
|
2134
|
-
- autoconf
|
2102
|
+
autoproj: gem
|
2103
|
+
lsb_release:
|
2104
|
+
darwin: ignore
|
2105
|
+
debian,ubuntu: lsb-release
|
2106
|
+
fedora: redhat-lsb
|
2107
|
+
arch: ignore
|
2108
|
+
gentoo: sys-apps/lsb-release
|
2135
2109
|
svn:
|
2110
|
+
darwin: subversion
|
2111
|
+
debian,ubuntu: subversion
|
2136
2112
|
fedora: subversion
|
2137
2113
|
arch: subversion
|
2138
2114
|
gentoo: dev-util/subversion
|
2139
|
-
|
2140
|
-
debian,ubuntu: subversion
|
2141
|
-
ruby20: ignore
|
2142
|
-
autoproj: gem
|
2115
|
+
autobuild: gem
|
2143
2116
|
build-essential:
|
2117
|
+
darwin: ignore
|
2118
|
+
debian,ubuntu: build-essential
|
2144
2119
|
fedora: ignore
|
2145
2120
|
arch: ignore
|
2146
2121
|
gentoo: ignore
|
2147
|
-
darwin: ignore
|
2148
|
-
debian,ubuntu: build-essential
|
2149
2122
|
ruby19:
|
2150
|
-
fedora:
|
2151
|
-
"17":
|
2152
|
-
- ruby
|
2153
|
-
- rubygems
|
2154
|
-
arch:
|
2155
|
-
- ruby
|
2156
|
-
- rake
|
2157
|
-
gentoo:
|
2158
|
-
- dev-lang/ruby:1.9
|
2159
|
-
- rake
|
2160
|
-
default: nonexistent
|
2161
2123
|
darwin:
|
2162
2124
|
- ruby19
|
2163
2125
|
- rake
|
2164
|
-
|
2126
|
+
default: nonexistent
|
2127
|
+
debian:
|
2165
2128
|
- ruby1.9.1
|
2166
2129
|
- ruby1.9.1-dev
|
2167
2130
|
- rubygems1.9.1
|
2168
|
-
- ri1.9.1
|
2169
|
-
- libopenssl-ruby1.9.1
|
2170
2131
|
- rake
|
2171
|
-
|
2132
|
+
- rubygems-integration
|
2133
|
+
ubuntu:
|
2172
2134
|
- ruby1.9.1
|
2173
2135
|
- ruby1.9.1-dev
|
2174
2136
|
- rubygems1.9.1
|
2137
|
+
- ri1.9.1
|
2138
|
+
- libopenssl-ruby1.9.1
|
2175
2139
|
- rake
|
2176
|
-
- rubygems-integration
|
2177
|
-
ruby18:
|
2178
2140
|
fedora:
|
2179
|
-
"
|
2141
|
+
"17":
|
2180
2142
|
- ruby
|
2181
2143
|
- rubygems
|
2144
|
+
arch:
|
2145
|
+
- ruby
|
2146
|
+
- rake
|
2182
2147
|
gentoo:
|
2183
|
-
- dev-lang/ruby:1.
|
2148
|
+
- dev-lang/ruby:1.9
|
2184
2149
|
- rake
|
2185
|
-
|
2150
|
+
ruby18:
|
2186
2151
|
darwin:
|
2187
2152
|
- ruby
|
2188
2153
|
- rb-rake
|
2154
|
+
default: nonexistent
|
2189
2155
|
debian,ubuntu:
|
2190
2156
|
- ruby1.8-dev
|
2191
2157
|
- ruby1.8
|
@@ -2193,15 +2159,49 @@ ruby18:
|
|
2193
2159
|
- ri1.8
|
2194
2160
|
- libopenssl-ruby1.8
|
2195
2161
|
- rake
|
2162
|
+
fedora:
|
2163
|
+
"15,16":
|
2164
|
+
- ruby
|
2165
|
+
- rubygems
|
2166
|
+
gentoo:
|
2167
|
+
- dev-lang/ruby:1.8
|
2168
|
+
- rake
|
2196
2169
|
git:
|
2197
|
-
fedora: git
|
2198
|
-
arch: git
|
2199
|
-
gentoo: dev-vcs/git
|
2200
2170
|
darwin: git-core
|
2201
|
-
ubuntu: git-core
|
2202
2171
|
debian:
|
2203
|
-
lenny: git
|
2204
2172
|
default: git-core
|
2173
|
+
lenny: git
|
2174
|
+
ubuntu: git-core
|
2175
|
+
fedora: git
|
2176
|
+
arch: git
|
2177
|
+
gentoo: dev-vcs/git
|
2178
|
+
autotools:
|
2179
|
+
darwin:
|
2180
|
+
- automake
|
2181
|
+
- autoconf
|
2182
|
+
debian,ubuntu:
|
2183
|
+
- automake1.9
|
2184
|
+
- autoconf
|
2185
|
+
fedora:
|
2186
|
+
- automake
|
2187
|
+
- autoconf
|
2188
|
+
arch: automake autoconf
|
2189
|
+
gentoo:
|
2190
|
+
- sys-devel/automake:1.9
|
2191
|
+
- sys-devel/autoconf
|
2192
|
+
cmake:
|
2193
|
+
darwin: cmake
|
2194
|
+
debian,ubuntu: cmake
|
2195
|
+
fedora: cmake
|
2196
|
+
arch: cmake
|
2197
|
+
gentoo: dev-util/cmake
|
2198
|
+
none: ignore
|
2199
|
+
pip:
|
2200
|
+
debian,ubuntu: python-pip
|
2201
|
+
cvs:
|
2202
|
+
darwin: cvs
|
2203
|
+
debian,ubuntu: cvs
|
2204
|
+
fedora: cvs
|
2205
2205
|
|
2206
2206
|
EODEFS
|
2207
2207
|
|
data/lib/autoproj/cmdline.rb
CHANGED
@@ -1531,7 +1531,7 @@ where 'mode' is one of:
|
|
1531
1531
|
end
|
1532
1532
|
|
1533
1533
|
require 'set'
|
1534
|
-
curdir_entries = Dir.entries('.').to_set - [".", "..", "autoproj_bootstrap", ".gems",
|
1534
|
+
curdir_entries = Dir.entries('.').to_set - [".", "..", "autoproj_bootstrap", ".gems", ENV_FILENAME].to_set
|
1535
1535
|
if !curdir_entries.empty? && ENV['AUTOPROJ_BOOTSTRAP_IGNORE_NONEMPTY_DIR'] != '1'
|
1536
1536
|
while true
|
1537
1537
|
print "The current directory is not empty, continue bootstrapping anyway ? [yes] "
|
@@ -1552,7 +1552,9 @@ where 'mode' is one of:
|
|
1552
1552
|
end
|
1553
1553
|
|
1554
1554
|
Autoproj.root_dir = Dir.pwd
|
1555
|
-
Autobuild.
|
1555
|
+
Autobuild.prefix = Autoproj.build_dir
|
1556
|
+
Autobuild.srcdir = Autoproj.root_dir
|
1557
|
+
Autobuild.logdir = File.join(Autobuild.prefix, 'log')
|
1556
1558
|
|
1557
1559
|
Autoproj.manifest = Manifest.new
|
1558
1560
|
load_autoprojrc
|
data/lib/autoproj/manifest.rb
CHANGED
@@ -949,6 +949,10 @@ module Autoproj
|
|
949
949
|
# cannot be built. This modifies the behaviour to simply ignore the
|
950
950
|
# problematic packages.
|
951
951
|
attr_writer :weak_dependencies
|
952
|
+
|
953
|
+
# @return [Boolean] whether the dependencies from this metapackage are
|
954
|
+
# weak or not
|
955
|
+
# @see #weak_dependencies
|
952
956
|
def weak_dependencies?
|
953
957
|
!!@weak_dependencies
|
954
958
|
end
|
@@ -958,13 +962,24 @@ module Autoproj
|
|
958
962
|
@packages = []
|
959
963
|
@weak_dependencies = false
|
960
964
|
end
|
965
|
+
|
961
966
|
# Adds a package to this metapackage
|
967
|
+
#
|
968
|
+
# @param [Autobuild::Package] pkg
|
962
969
|
def add(pkg)
|
963
970
|
@packages << pkg
|
964
971
|
end
|
972
|
+
|
973
|
+
# Lists the packages contained in this metapackage
|
974
|
+
#
|
975
|
+
# @yieldparam [Autobuild::Package] pkg
|
965
976
|
def each_package(&block)
|
966
977
|
@packages.each(&block)
|
967
978
|
end
|
979
|
+
|
980
|
+
# Tests if the given package is included in this metapackage
|
981
|
+
#
|
982
|
+
# @param [String,#name] pkg the package or package name
|
968
983
|
def include?(pkg)
|
969
984
|
if !pkg.respond_to?(:to_str)
|
970
985
|
pkg = pkg.name
|
data/lib/autoproj/version.rb
CHANGED
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:
|
4
|
+
hash: 2119809063
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 9
|
9
9
|
- 5
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 1.9.5.
|
11
|
+
- 3
|
12
|
+
version: 1.9.5.rc3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Rock Core Developers
|