summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-10-21 23:33:02 -0400
committerGitHub <noreply@github.com>2020-10-21 22:33:02 -0500
commitcaab89b9c941c197b235c43bb6a1e55ebfc821d8 (patch)
tree56217b701cd5556f878903aec1a126344ab1ba72 /var
parente800b6029fe35caef78d9153fdd39c88f963fb4c (diff)
downloadspack-caab89b9c941c197b235c43bb6a1e55ebfc821d8.tar.gz
spack-caab89b9c941c197b235c43bb6a1e55ebfc821d8.tar.bz2
spack-caab89b9c941c197b235c43bb6a1e55ebfc821d8.tar.xz
spack-caab89b9c941c197b235c43bb6a1e55ebfc821d8.zip
New package: py-lifelines (#19429)
* py-lifelines * also carry the newer version of lifelines * 0.25.5 needs python >= 3.6
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-lifelines/package.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-lifelines/package.py b/var/spack/repos/builtin/packages/py-lifelines/package.py
new file mode 100644
index 0000000000..ddbe26a06e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lifelines/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2020 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)
+
+
+class PyLifelines(PythonPackage):
+ """Survival analysis was originally developed and applied heavily
+ by the actuarial and medical community. Its purpose was to answer
+ *why do events occur now versus later* under uncertainty (where
+ *events* might refer to deaths, disease remission,
+ etc.). *lifelines* is a pure Python implementation of the best
+ parts of survival analysis."""
+
+ homepage = "https://github.com/CamDavidsonPilon/lifelines"
+ url = "https://pypi.io/packages/source/l/lifelines/lifelines-0.25.5.tar.gz"
+
+ version('0.25.5', sha256='f24260aa371829354440dfc2c1be8d59d9e841cce7a933230213cecd67787b89')
+ version('0.9.4', sha256='0f19a8b18ace80c231de60487b2b1a3de3eb418445c6a6d0d72c1110d860f676')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'), when='@0.9.4')
+ depends_on('py-scipy', type=('build', 'run'), when='@0.9.4')
+ depends_on('py-pandas@0.18.0:', type=('build', 'run'), when='@0.9.4')
+ depends_on('python@3.6:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-pandas@0.23.0:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-scipy@1.2.0:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-numpy@1.14:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-pandas@0.23.0:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-matplotlib@3.0:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-autograd@1.3:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-autograd-gamma@0.3:', type=('build', 'run'), when='@0.25.5:')
+ depends_on('py-patsy@0.5.0:', type=('build', 'run'), when='@0.25.5:')