2021-01-02 15:10:28 +08:00
|
|
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-07-14 11:02:08 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-07-14 11:02:08 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class PyPybigwig(PythonPackage):
|
|
|
|
"""A package for accessing bigWig files using libBigWig."""
|
|
|
|
|
2020-12-30 08:44:04 +08:00
|
|
|
pypi = "pyBigWig/pyBigWig-0.3.4.tar.gz"
|
2017-07-14 11:02:08 +08:00
|
|
|
|
2019-02-01 04:50:10 +08:00
|
|
|
version('0.3.12', sha256='e01991790ece496bf6d3f00778dcfb136dd9ca0fd28acc1b3fb43051ad9b8403')
|
|
|
|
version('0.3.4', sha256='8c97a19218023190041c0e426f1544f7a4944a7bb4568faca1d85f1975af9ee2')
|
|
|
|
|
|
|
|
variant('numpy', default=True,
|
|
|
|
description='Enable support for numpy integers and vectors')
|
|
|
|
|
|
|
|
patch('python3_curl.patch', when='@:0.3.12 ^python@3:')
|
2017-07-14 11:02:08 +08:00
|
|
|
|
2019-03-14 18:07:50 +08:00
|
|
|
depends_on('curl', type=('build', 'link', 'run'))
|
2019-02-01 04:50:10 +08:00
|
|
|
depends_on('py-setuptools', type='build')
|
|
|
|
|
|
|
|
depends_on('py-numpy', type=('build', 'run'), when='+numpy')
|