summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-09-16 13:10:02 -0500
committerGitHub <noreply@github.com>2019-09-16 13:10:02 -0500
commit14ef0c238ebc178e13c7a591ca6cf4b367681ca5 (patch)
treef453964376a8337680e2aa3a9bbbbbec0124cc02 /var
parent269f34c31052eeab46da28189ed2f150fedd895c (diff)
downloadspack-14ef0c238ebc178e13c7a591ca6cf4b367681ca5.tar.gz
spack-14ef0c238ebc178e13c7a591ca6cf4b367681ca5.tar.bz2
spack-14ef0c238ebc178e13c7a591ca6cf4b367681ca5.tar.xz
spack-14ef0c238ebc178e13c7a591ca6cf4b367681ca5.zip
Add py-pycbc package (#12823)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pycbc/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycbc/package.py b/var/spack/repos/builtin/packages/py-pycbc/package.py
new file mode 100644
index 0000000000..ae24350952
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pycbc/package.py
@@ -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'))