diff options
author | Justin Stanley <molecuul@users.noreply.github.com> | 2019-01-22 14:24:45 -0600 |
---|---|---|
committer | Levi Baber <baberlevi@gmail.com> | 2019-01-22 14:24:45 -0600 |
commit | 4b7510ec38f4ea56b1aa7a13cd3e7cdaa210c8e2 (patch) | |
tree | ba51d49b54c8c621f912361098da2b4943652941 /var | |
parent | c1a1415e903b94ea1e66447d4383bfacd8ea7715 (diff) | |
download | spack-4b7510ec38f4ea56b1aa7a13cd3e7cdaa210c8e2.tar.gz spack-4b7510ec38f4ea56b1aa7a13cd3e7cdaa210c8e2.tar.bz2 spack-4b7510ec38f4ea56b1aa7a13cd3e7cdaa210c8e2.tar.xz spack-4b7510ec38f4ea56b1aa7a13cd3e7cdaa210c8e2.zip |
py-whatshap: new package at 0.17 (#10377)
* py-whatshap: new package at 0.17
* py-whatshap: remove unused build_args
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-whatshap/package.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-whatshap/package.py b/var/spack/repos/builtin/packages/py-whatshap/package.py new file mode 100644 index 0000000000..cc9ceb5d32 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-whatshap/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyWhatshap(PythonPackage): + """WhatsHap is a software for phasing genomic variants using DNA + sequencing reads, also called read-based phasing or haplotype + assembly.""" + + homepage = "https://whatshap.readthedocs.io/en/latest/" + url = "https://bitbucket.org/whatshap/whatshap/get/v0.17.tar.gz" + + version('0.17', sha256='5f342cbd28f5d3e79490754f067aa67e8bb059da1c042d944b9f75663ef6b055') + + depends_on('python@3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-cython@0.17:', type=('build', 'run')) + depends_on('py-pysam@0.14.0:', type='run') + depends_on('py-xopen', type='run') + depends_on('py-pyvcf', type='run') + depends_on('py-pyfaidx', type='run') + depends_on('py-networkx', type='run') + + def patch(self): + # there is a stray \xe2 somewhere in setup.py, + # explicitly using utf-8 will let the install proceed + filter_file('^"""$', '#coding: utf-8\n"""', 'setup.py') |