diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2016-12-30 17:21:37 +1000 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2016-12-30 17:22:43 +1000 |
commit | a29929b32caf9e437d18bdb0cd4d1b22bc096fed (patch) | |
tree | 734a3f6f9a2e56a86f0c50d4285113c8afb5938d /gnu/packages/patches | |
parent | 95d7d0c57f2f79419b8ca396c2ff1d1cd651dff7 (diff) | |
download | guix-a29929b32caf9e437d18bdb0cd4d1b22bc096fed.tar guix-a29929b32caf9e437d18bdb0cd4d1b22bc096fed.tar.gz |
gnu: multiqc: Update to 0.9.
Suggested by Raoul Bonnal <ilpuccio.febo@gmail.com>.
* gnu/packages/bioinformatics.scm (multiqc): Update to 0.9.
[origin]: Add patch.
* gnu/packages/patches/multiqc-fix-git-subprocess-error.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/multiqc-fix-git-subprocess-error.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/multiqc-fix-git-subprocess-error.patch b/gnu/packages/patches/multiqc-fix-git-subprocess-error.patch new file mode 100644 index 0000000000..87be6142f4 --- /dev/null +++ b/gnu/packages/patches/multiqc-fix-git-subprocess-error.patch @@ -0,0 +1,16 @@ +Without this patch, the incorrect exception is caught when 'git' is not in +PATH. See https://github.com/ewels/MultiQC/pull/377. + +diff --git a/multiqc/utils/config.py b/multiqc/utils/config.py +index 01fa554..4a11793 100755 +--- a/multiqc/utils/config.py ++++ b/multiqc/utils/config.py +@@ -28,7 +28,7 @@ try: + git_hash = subprocess.check_output(['git', 'rev-parse', 'HEAD'], stderr=subprocess.STDOUT) + git_hash_short = git_hash[:7] + version = '{} ({})'.format(version, git_hash_short) +-except subprocess.CalledProcessError: ++except (subprocess.CalledProcessError, FileNotFoundError): + pass + os.chdir(cwd) + |