arvados-cli 0.1.20150605170031 → 0.1.20150612180532

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/crunch-job +21 -7
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 285db94e1d07f81d34fc16dd2afdb4861d7682af
4
- data.tar.gz: 1439d215e2d56c75c36f9103ce802b292857684d
3
+ metadata.gz: e7b56a00e393a7f5d9fa259e633b661b2b720a8a
4
+ data.tar.gz: b5ddabf741422dc9da49e4253e0d5e3d050d133d
5
5
  SHA512:
6
- metadata.gz: eabe822a504b02a89cd160c34980464b1ad6d861f0c402e32be7aae47722d6b378012b8cbeb74156d8bd9a6f4b303d026077de19c82d2ae32dfd8d028c9a3eb4
7
- data.tar.gz: e4bdb2371ce1d2ab577db7d17510e66f714d876b87f9c7d27c667b1926404d89ab7761a949d3be11231eb03052441847b813955fb66509dfec577c4148d5e172
6
+ metadata.gz: 002519e2ea167ae32f7c5ab91c0bdc8bf17e5744c4131526d5ad9990c2749267afcbaff30a23dc0b0b74e9686fe78736054424613a9f464717cb86b40caf8f6b
7
+ data.tar.gz: ceae829320fcef6bd92f1ea4a7a2d4945897c7284d19cd358ff583d512b086e20285a43406abb34b569a6b8e106eb5d7568acfe3b0abfecc0b83f3e3a6fb1c4e
data/bin/crunch-job CHANGED
@@ -2146,13 +2146,27 @@ if (-d $sdk_root) {
2146
2146
  }
2147
2147
 
2148
2148
  my $python_dir = "$install_dir/python";
2149
- if ((-d $python_dir) and can_run("python2.7") and
2150
- (system("python2.7", "$python_dir/setup.py", "--quiet", "egg_info") != 0)) {
2151
- # egg_info failed, probably when it asked git for a build tag.
2152
- # Specify no build tag.
2153
- open(my $pysdk_cfg, ">>", "$python_dir/setup.cfg");
2154
- print $pysdk_cfg "\n[egg_info]\ntag_build =\n";
2155
- close($pysdk_cfg);
2149
+ if ((-d $python_dir) and can_run("python2.7")) {
2150
+ open(my $egg_info_pipe, "-|",
2151
+ "python2.7 \Q$python_dir/setup.py\E --quiet egg_info 2>&1 >/dev/null");
2152
+ my @egg_info_errors = <$egg_info_pipe>;
2153
+ close($egg_info_pipe);
2154
+ if ($?) {
2155
+ if (@egg_info_errors and ($egg_info_errors[-1] =~ /\bgit\b/)) {
2156
+ # egg_info apparently failed because it couldn't ask git for a build tag.
2157
+ # Specify no build tag.
2158
+ open(my $pysdk_cfg, ">>", "$python_dir/setup.cfg");
2159
+ print $pysdk_cfg "\n[egg_info]\ntag_build =\n";
2160
+ close($pysdk_cfg);
2161
+ } else {
2162
+ my $egg_info_exit = $? >> 8;
2163
+ foreach my $errline (@egg_info_errors) {
2164
+ print STDERR_ORIG $errline;
2165
+ }
2166
+ warn "python setup.py egg_info failed: exit $egg_info_exit";
2167
+ exit ($egg_info_exit || 1);
2168
+ }
2169
+ }
2156
2170
  }
2157
2171
 
2158
2172
  # Hide messages from the install script (unless it fails: shell_or_die
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20150605170031
4
+ version: 0.1.20150612180532
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - "<"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.0.0
181
- description: Arvados command line tools, git commit b33597e94eec5f21fbbcfa72611a3b36397755d5
181
+ description: Arvados command line tools, git commit f0a92e384da79e0a17efb42de17031f45f006e44
182
182
  email: gem-dev@curoverse.com
183
183
  executables:
184
184
  - arv