summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cyvcf2/package.py
blob: 6028cd4bc5bab1d6e55a8fd20f5112ec5991a1fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2013-2023 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.package import *


class PyCyvcf2(PythonPackage):
    """fast vcf parsing with cython + htslib"""

    homepage = "https://github.com/brentp/cyvcf2"
    pypi = "cyvcf2/cyvcf2-0.11.7.tar.gz"

    license("MIT")

    version("0.11.7", sha256="a4b6229b89a0a1043684c65cbdd702c366a8800dc3591fb44c4b5a08640cbeec")

    depends_on("python@2.7:", type=("build", "run"))
    depends_on("py-setuptools", type="build")

    depends_on("py-cython@0.23.3:", type="build")
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-coloredlogs", type=("build", "run"))
    depends_on("py-click", type=("build", "run"))

    depends_on("curl")