summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-onnx/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-onnx/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-onnx/package.py48
1 files changed, 24 insertions, 24 deletions
diff --git a/var/spack/repos/builtin/packages/py-onnx/package.py b/var/spack/repos/builtin/packages/py-onnx/package.py
index 05a7b2c905..cbe6155e02 100644
--- a/var/spack/repos/builtin/packages/py-onnx/package.py
+++ b/var/spack/repos/builtin/packages/py-onnx/package.py
@@ -9,39 +9,39 @@ from spack.package import *
class PyOnnx(PythonPackage):
"""Open Neural Network Exchange (ONNX) is an open ecosystem that
- empowers AI developers to choose the right tools as their
- project evolves. ONNX provides an open source format for AI
- models, both deep learning and traditional ML. It defines an
- extensible computation graph model, as well as definitions of
- built-in operators and standard data types. Currently we focus
- on the capabilities needed for inferencing (scoring)."""
+ empowers AI developers to choose the right tools as their
+ project evolves. ONNX provides an open source format for AI
+ models, both deep learning and traditional ML. It defines an
+ extensible computation graph model, as well as definitions of
+ built-in operators and standard data types. Currently we focus
+ on the capabilities needed for inferencing (scoring)."""
homepage = "https://github.com/onnx/onnx"
pypi = "Onnx/onnx-1.6.0.tar.gz"
- version('1.8.1', sha256='9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb')
- version('1.6.0', sha256='3b88c3fe521151651a0403c4d131cb2e0311bd28b753ef692020a432a81ce345')
- version('1.5.0', sha256='1a584a4ef62a6db178c257fffb06a9d8e61b41c0a80bfd8bcd8a253d72c4b0b4')
+ version("1.8.1", sha256="9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb")
+ version("1.6.0", sha256="3b88c3fe521151651a0403c4d131cb2e0311bd28b753ef692020a432a81ce345")
+ version("1.5.0", sha256="1a584a4ef62a6db178c257fffb06a9d8e61b41c0a80bfd8bcd8a253d72c4b0b4")
- depends_on('py-setuptools', type='build')
- depends_on('protobuf')
- depends_on('py-protobuf+cpp', type=('build', 'run'))
+ depends_on("py-setuptools", type="build")
+ depends_on("protobuf")
+ depends_on("py-protobuf+cpp", type=("build", "run"))
# Protobuf version limit is due to removal of SetTotalBytesLimit in
# https://github.com/protocolbuffers/protobuf/pull/8794, fixed in
# https://github.com/onnx/onnx/pull/3112
- depends_on('protobuf@:3.17', when='@:1.8')
- depends_on('py-protobuf@:3.17', when='@:1.8', type=('build', 'run'))
+ depends_on("protobuf@:3.17", when="@:1.8")
+ depends_on("py-protobuf@:3.17", when="@:1.8", type=("build", "run"))
# https://github.com/protocolbuffers/protobuf/issues/10051
# https://github.com/onnx/onnx/issues/4222
- depends_on('protobuf@:3')
- depends_on('py-protobuf@:3', type=('build', 'run'))
- depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-numpy@1.16.6:', type=('build', 'run'), when='@1.8.1:')
- depends_on('py-six', type=('build', 'run'))
- depends_on('py-typing@3.6.4:', when='^python@:3.4', type=('build', 'run'))
- depends_on('py-typing-extensions@3.6.2.1:', type=('build', 'run'))
- depends_on('cmake@3.1:', type='build')
- depends_on('py-pytest-runner', type='build')
+ depends_on("protobuf@:3")
+ depends_on("py-protobuf@:3", type=("build", "run"))
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-numpy@1.16.6:", type=("build", "run"), when="@1.8.1:")
+ depends_on("py-six", type=("build", "run"))
+ depends_on("py-typing@3.6.4:", when="^python@:3.4", type=("build", "run"))
+ depends_on("py-typing-extensions@3.6.2.1:", type=("build", "run"))
+ depends_on("cmake@3.1:", type="build")
+ depends_on("py-pytest-runner", type="build")
# 'python_out' does not recognize dllexport_decl.
- patch('remove_dllexport_decl.patch', when='@:1.6.0')
+ patch("remove_dllexport_decl.patch", when="@:1.6.0")