Add py-pycbc package (#12823)
This commit is contained in:
		
							
								
								
									
										40
									
								
								var/spack/repos/builtin/packages/py-pycbc/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								var/spack/repos/builtin/packages/py-pycbc/package.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
# 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 PyPycbc(PythonPackage):
 | 
			
		||||
    """PyCBC is a software package used to explore astrophysical sources of
 | 
			
		||||
    gravitational waves. It contains algorithms to analyze gravitational-wave
 | 
			
		||||
    data from the LIGO and Virgo detectors, detect coalescing compact binaries,
 | 
			
		||||
    and measure the astrophysical parameters of detected sources. PyCBC was
 | 
			
		||||
    used in the first direct detection of gravitational waves and is used in
 | 
			
		||||
    the flagship analysis of LIGO and Virgo data."""
 | 
			
		||||
 | 
			
		||||
    homepage = "https://pycbc.org/"
 | 
			
		||||
    url      = "https://pypi.io/packages/source/P/PyCBC/PyCBC-1.14.1.tar.gz"
 | 
			
		||||
 | 
			
		||||
    version('1.14.1', sha256='4b0a309cb6209837aaebbd691413a286dd7200ccf4b977ffed1462a65ac35dc0')
 | 
			
		||||
 | 
			
		||||
    depends_on('py-setuptools', type='build')
 | 
			
		||||
    depends_on('py-numpy@1.13.0:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-mako@1.0.1:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-cython', type='build')
 | 
			
		||||
    depends_on('py-decorator@3.4.2:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-scipy@0.16.0:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-matplotlib@1.5.1:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-pillow', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-h5py@2.5:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-jinja2', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-astropy@2.0.3:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-mpld3@0.3:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-lscsoft-glue@1.59.3:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-emcee@2.2.1', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-requests@1.2.1:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-beautifulsoup4@4.6.0:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-six@1.10.0:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-ligo-segments', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-weave@0.16.0:', when='^python@:2', type=('build', 'run'))
 | 
			
		||||
		Reference in New Issue
	
	Block a user