summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-12-09 20:27:14 +0100
committerGitHub <noreply@github.com>2021-12-09 13:27:14 -0600
commit065f349813c2f8fe345a6f0193c8357ed1b504c7 (patch)
tree0d4a11279ce5e72478e71be6768350757d7b9f1e
parent48b1531966d8e1fd8cbc15306b0741c6d5f29ff9 (diff)
downloadspack-065f349813c2f8fe345a6f0193c8357ed1b504c7.tar.gz
spack-065f349813c2f8fe345a6f0193c8357ed1b504c7.tar.bz2
spack-065f349813c2f8fe345a6f0193c8357ed1b504c7.tar.xz
spack-065f349813c2f8fe345a6f0193c8357ed1b504c7.zip
New package: py-downhill (#27885)
-rw-r--r--var/spack/repos/builtin/packages/py-downhill/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-downhill/package.py b/var/spack/repos/builtin/packages/py-downhill/package.py
new file mode 100644
index 0000000000..23c164a066
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-downhill/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 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 PyDownhill(PythonPackage):
+ """Stochastic optimization routines for Theano"""
+
+ homepage = "http://github.com/lmjohns3/downhill"
+ pypi = "downhill/downhill-0.4.0.tar.gz"
+
+ version('0.4.0', sha256='074ad91deb06c05108c67d982ef71ffffb6ede2c77201abc69e332649f823b42')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-theano', type=('build', 'run'))
+ depends_on('py-click', type=('build', 'run'))