diff options
3 files changed, 35 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-httpstan/package.py b/var/spack/repos/builtin/packages/py-httpstan/package.py index 10e2d2e175..66fa636cf9 100644 --- a/var/spack/repos/builtin/packages/py-httpstan/package.py +++ b/var/spack/repos/builtin/packages/py-httpstan/package.py @@ -14,14 +14,17 @@ class PyHttpstan(PythonPackage): maintainers = ['haralmha'] + version('4.7.2', sha256='94f6631d969cbd91d136194b074d02642d8c9e2a05674877a39059be87c5bf7b') version('4.6.1', sha256='703e5e04e60651e0004574bb9695827d759fd13eb0d6bd67f827c1bfa0a1fd31') - depends_on('python@3.7:3', type=('build', 'run')) + depends_on('python@3.8:3', type=('build', 'run'), when='@4.7:') + depends_on('python@3.7:3', type=('build', 'run'), when='@:4.6') 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-numpy@1.19:1', type=('build', 'run'), when='@4.7:') + depends_on('py-numpy@1.16:1', type=('build', 'run'), when='@:4.6') depends_on('py-pybind11') diff --git a/var/spack/repos/builtin/packages/py-pysimdjson/package.py b/var/spack/repos/builtin/packages/py-pysimdjson/package.py index 1177b5b0aa..cacb629bd7 100644 --- a/var/spack/repos/builtin/packages/py-pysimdjson/package.py +++ b/var/spack/repos/builtin/packages/py-pysimdjson/package.py @@ -17,6 +17,9 @@ class PyPysimdjson(PythonPackage): maintainers = ['haralmha'] version('4.0.3', sha256='61900992d7f992b073a8c5f93cafa4af9bfd3209624baa775699b0fdd6f67517') + version('3.2.0', sha256='643baa0941752367761dbc091bf552bf4ca196cf67bf41ef89c90c2db2ec1477') - depends_on('python@3.6:', type=('build', 'run')) + depends_on('python@3.6:', type=('build', 'run'), when='@4.0.3:') + depends_on('python@3.5:', type=('build', 'run'), when='@:4.0.2') depends_on('py-setuptools', type='build') + depends_on('py-pybind11', when='@:3') diff --git a/var/spack/repos/builtin/packages/py-pystan/package.py b/var/spack/repos/builtin/packages/py-pystan/package.py new file mode 100644 index 0000000000..50812956be --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pystan/package.py @@ -0,0 +1,26 @@ +# 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 PyPystan(PythonPackage): + """PyStan is a Python interface to Stan, a package for Bayesian inference.""" + + homepage = "https://mc-stan.org/" + pypi = "pystan/pystan-3.4.0.tar.gz" + + maintainers = ['haralmha'] + + version('3.4.0', sha256='325e2fb0ab804555c05a603e0c9152ab11fcc3af01f3e9a9ff9fe9954b93184f') + + depends_on('python@3.8:3', type=('build', 'run')) + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-poetry-core@1.0.0:', type='build') + depends_on('py-aiohttp@3.6:3', type=('build', 'run')) + depends_on('py-httpstan@4.7', type=('build', 'run')) + depends_on('py-pysimdjson@3.2:3', type=('build', 'run')) + depends_on('py-numpy@1.19:1', type=('build', 'run')) + depends_on('py-clikit@0.6', type=('build', 'run')) |