diff options
author | iarspider <iarspider@gmail.com> | 2021-12-17 14:14:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 14:14:38 +0100 |
commit | 618fd047299f2fc61c26bdf506007c497cddab7f (patch) | |
tree | 79ccbaf6a42b61c47dd2f6f440455a556da4b97f | |
parent | 04bed42831aced325b7e897b6614ef5b4370024e (diff) | |
download | spack-618fd047299f2fc61c26bdf506007c497cddab7f.tar.gz spack-618fd047299f2fc61c26bdf506007c497cddab7f.tar.bz2 spack-618fd047299f2fc61c26bdf506007c497cddab7f.tar.xz spack-618fd047299f2fc61c26bdf506007c497cddab7f.zip |
py-vector: add new package (#28057)
-rw-r--r-- | var/spack/repos/builtin/packages/py-vector/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-vector/package.py b/var/spack/repos/builtin/packages/py-vector/package.py new file mode 100644 index 0000000000..910d100a09 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-vector/package.py @@ -0,0 +1,24 @@ +# 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 PyVector(PythonPackage): + """Vector classes and utilities""" + + homepage = "https://github.com/scikit-hep/vector" + pypi = "vector/vector-0.8.4.tar.gz" + + version('0.8.4', sha256='ef97bfec0263766edbb74c290401f89921f8d11ae9e4a0ffd904ae40674f1239') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools@42:', type='build') + depends_on('py-setuptools-scm@3.4: +toml', type='build') + depends_on('py-wheel', type='build') + depends_on('py-numpy@1.13.3:', type=('build', 'run')) + depends_on('py-packaging@19.0:', type=('build', 'run')) + depends_on('py-importlib-metadata@0.22:', type=('build', 'run'), when='^python@:3.7') + depends_on('py-typing-extensions', type=('build', 'run'), when='^python@:3.7') |