New package: py-autograd-gamma (#19426)

* py-autograd-gamma

* missing dependencies
This commit is contained in:
Andrew W Elble 2020-10-21 20:19:46 -04:00 committed by GitHub
parent 27211ba90b
commit ec068f8070
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))