autoproj 1.13.6 → 1.13.7
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.
- checksums.yaml +4 -4
- data/bin/autoproj_bootstrap +21 -11
- data/lib/autoproj/osdeps.rb +12 -4
- data/lib/autoproj/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d9ce5749393ef4ef70b623d58c40081a5627c45
|
4
|
+
data.tar.gz: 531e965538bdfd19e8ae40290d2e53bcfd5031a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a834c5d645039281a09328febb4cf736d4b5a5151813752467195b36c6a15ba383352693a0df4a1443296d7e67574e2c396ceeee2f4a8697bdce8a037143d8b
|
7
|
+
data.tar.gz: 7f0359dbee5d7c6674e36af22d1096592aaec38640eeecc8ec6f075db14eee8482037bd5437b6370f920e30db4e5247d7a1b9831cccdaf4c0b7e1561b9edeed3
|
data/bin/autoproj_bootstrap
CHANGED
@@ -565,6 +565,10 @@ module Autoproj
|
|
565
565
|
@silent = true
|
566
566
|
end
|
567
567
|
|
568
|
+
def parse_package_entry(entry)
|
569
|
+
entry
|
570
|
+
end
|
571
|
+
|
568
572
|
# The primary name for this package manager
|
569
573
|
def name
|
570
574
|
names.first
|
@@ -1974,11 +1978,15 @@ fi
|
|
1974
1978
|
end
|
1975
1979
|
|
1976
1980
|
result.map do |handler, status, entries|
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1981
|
+
entries = entries.map do |e|
|
1982
|
+
if e.respond_to?(:to_str)
|
1983
|
+
handler.parse_package_entry(e)
|
1984
|
+
else
|
1985
|
+
e
|
1986
|
+
end
|
1981
1987
|
end
|
1988
|
+
|
1989
|
+
[handler, status, entries]
|
1982
1990
|
end
|
1983
1991
|
end
|
1984
1992
|
|
@@ -2542,17 +2550,19 @@ module Autobuild
|
|
2542
2550
|
programs[name.to_sym] || programs[name.to_s] || name.to_s
|
2543
2551
|
end
|
2544
2552
|
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2553
|
+
def find_in_path(file)
|
2554
|
+
path = ENV['PATH'].split(File::PATH_SEPARATOR).
|
2555
|
+
find { |dir| File.exist?(File.join(dir, file)) }
|
2556
|
+
if path
|
2557
|
+
return File.join(path, file)
|
2558
|
+
end
|
2548
2559
|
end
|
2549
2560
|
|
2550
2561
|
# Resolves the absolute path to a given tool
|
2551
|
-
def tool_in_path(name
|
2562
|
+
def tool_in_path(name)
|
2552
2563
|
path, path_name, path_env = programs_in_path[name]
|
2553
2564
|
current = tool(name)
|
2554
|
-
|
2555
|
-
if (path_env != env_PATH) || (path_name != current)
|
2565
|
+
if path_env != ENV['PATH'] || path_name != current
|
2556
2566
|
# Delete the current entry given that it is invalid
|
2557
2567
|
programs_in_path.delete(name)
|
2558
2568
|
if current[0, 1] == "/"
|
@@ -2572,7 +2582,7 @@ module Autobuild
|
|
2572
2582
|
elsif !File.executable?(path)
|
2573
2583
|
raise ArgumentError, "tool #{name} is set to #{current}, but this resolves to #{path} which is not executable"
|
2574
2584
|
end
|
2575
|
-
programs_in_path[name] = [path, current,
|
2585
|
+
programs_in_path[name] = [path, current, ENV['PATH']]
|
2576
2586
|
end
|
2577
2587
|
|
2578
2588
|
return path
|
data/lib/autoproj/osdeps.rb
CHANGED
@@ -32,6 +32,10 @@ module Autoproj
|
|
32
32
|
@silent = true
|
33
33
|
end
|
34
34
|
|
35
|
+
def parse_package_entry(entry)
|
36
|
+
entry
|
37
|
+
end
|
38
|
+
|
35
39
|
# The primary name for this package manager
|
36
40
|
def name
|
37
41
|
names.first
|
@@ -1441,11 +1445,15 @@ fi
|
|
1441
1445
|
end
|
1442
1446
|
|
1443
1447
|
result.map do |handler, status, entries|
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
+
entries = entries.map do |e|
|
1449
|
+
if e.respond_to?(:to_str)
|
1450
|
+
handler.parse_package_entry(e)
|
1451
|
+
else
|
1452
|
+
e
|
1453
|
+
end
|
1448
1454
|
end
|
1455
|
+
|
1456
|
+
[handler, status, entries]
|
1449
1457
|
end
|
1450
1458
|
end
|
1451
1459
|
|
data/lib/autoproj/version.rb
CHANGED
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.13.
|
4
|
+
version: 1.13.7
|
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: 2016-
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autobuild
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.14'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3.
|
82
|
+
version: '3.14'
|
83
83
|
description: autoproj is a manager for sets of software packages. It allows the user
|
84
84
|
to import and build packages from source, still using the underlying distribution's
|
85
85
|
native package manager for software that is available on it.
|