summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyvcf/package.py
blob: 7a22d8b9422ba5820301c5b10c7aa742ecce3f8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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 PyPyvcf(PythonPackage):
    """A Variant Call Format reader for Python"""

    homepage = "https://pyvcf.readthedocs.org/en/latest/index.html"
    pypi = "PyVCF/PyVCF-0.6.0.tar.gz"

    version('0.6.8', sha256='e9d872513d179d229ab61da47a33f42726e9613784d1cb2bac3f8e2642f6f9d9')
    version('0.6.0', sha256='d9ec3bbedb64fa35c2648a9c41fdefaedd3912ff597a436e073d27aeccf5de7c')

    depends_on('py-setuptools', type='build')
    depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
    depends_on('py-counter', when='^python@:2.6', type=('build', 'run'))
    depends_on('py-ordereddict', when='^python@:2.6', type=('build', 'run'))
    depends_on('py-unittest2', when='^python@:2.6', type=('build', 'run'))