summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-autograd-gamma/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-autograd-gamma/package.py b/var/spack/repos/builtin/packages/py-autograd-gamma/package.py
new file mode 100644
index 0000000000..75436ea4c9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-autograd-gamma/package.py
@@ -0,0 +1,18 @@
+# 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 PyAutogradGamma(PythonPackage):
+ """autograd compatible approximations to the derivatives of the
+ Gamma-family of functions."""
+
+ homepage = "https://github.com/CamDavidsonPilon/autograd-gamma"
+ url = "https://pypi.io/packages/source/a/autograd-gamma/autograd-gamma-0.4.3.tar.gz"
+
+ version('0.4.3', sha256='2cb570cbb8da61ede937ccc004d87d3924108f754b351a86cdd2ad31ace6cdf6')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-autograd@1.2.0:', type=('build', 'run'))
+ depends_on('py-scipy@1.2.0:', type=('build', 'run'))