summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-04-20 18:07:43 +0200
committerGitHub <noreply@github.com>2022-04-20 11:07:43 -0500
commita717c5df4064a6fdbed14ca634941d0aa97707d6 (patch)
treea7832eb6776eebad4d7b6d929dd1518533f91e01
parent3552cfac1a38802d3d24c93c216e4c340b3861ee (diff)
downloadspack-a717c5df4064a6fdbed14ca634941d0aa97707d6.tar.gz
spack-a717c5df4064a6fdbed14ca634941d0aa97707d6.tar.bz2
spack-a717c5df4064a6fdbed14ca634941d0aa97707d6.tar.xz
spack-a717c5df4064a6fdbed14ca634941d0aa97707d6.zip
py-httpstan: Add new package (#29770)
* py-httpstan: Add new package * Fix dependencies Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Add run dependency to py-setuptools Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-httpstan/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-httpstan/package.py b/var/spack/repos/builtin/packages/py-httpstan/package.py
new file mode 100644
index 0000000000..10e2d2e175
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-httpstan/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2022 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 PyHttpstan(PythonPackage):
+ """HTTP-based REST interface to Stan, a package for Bayesian inference."""
+
+ homepage = "https://mc-stan.org/"
+ url = "https://github.com/stan-dev/httpstan/archive/refs/tags/4.6.1.tar.gz"
+
+ maintainers = ['haralmha']
+
+ version('4.6.1', sha256='703e5e04e60651e0004574bb9695827d759fd13eb0d6bd67f827c1bfa0a1fd31')
+
+ depends_on('python@3.7:3', type=('build', 'run'))
+ depends_on('py-setuptools@41.0:', type=('build', 'run'))
+ depends_on('py-poetry-core@1.0.0:', type='build')
+ depends_on('py-aiohttp@3.7:3', type=('build', 'run'))
+ depends_on('py-appdirs@1.4:1', type=('build', 'run'))
+ depends_on('py-webargs@8.0:8', type=('build', 'run'))
+ depends_on('py-marshmallow@3.10:3', type=('build', 'run'))
+ depends_on('py-numpy@1.16:1', type=('build', 'run'))
+ depends_on('py-pybind11')