diff options
author | Jen Herting <jen@herting.cc> | 2021-02-08 16:20:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 21:20:07 +0000 |
commit | 58f3d0986d742e56725fae92400799eada1847e5 (patch) | |
tree | abbfbbb99321d70713638b3f08d48e705ae24602 | |
parent | dc1a05d273cde6e46d89f45b12229fd4ccac93f8 (diff) | |
download | spack-58f3d0986d742e56725fae92400799eada1847e5.tar.gz spack-58f3d0986d742e56725fae92400799eada1847e5.tar.bz2 spack-58f3d0986d742e56725fae92400799eada1847e5.tar.xz spack-58f3d0986d742e56725fae92400799eada1847e5.zip |
New package: py-msgpack-numpy (#21548)
* [py-msgpack-numpy] created template
* [py-msgpack-numpy] added dependencies
* [py-msgpack-numpy] added homepage and description. removed fixmes. fixed copyright date
* [py-msgpack-numpy] url -> pypi
-rw-r--r-- | var/spack/repos/builtin/packages/py-msgpack-numpy/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-msgpack-numpy/package.py b/var/spack/repos/builtin/packages/py-msgpack-numpy/package.py new file mode 100644 index 0000000000..de13608eb2 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-msgpack-numpy/package.py @@ -0,0 +1,23 @@ +# 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 PyMsgpackNumpy(PythonPackage): + """This package provides encoding and decoding routines + that enable the serialization and deserialization of + numerical and array data types provided by numpy using the + highly efficient msgpack format. Serialization of Python's + native complex data types is also supported.""" + + homepage = "https://github.com/lebedov/msgpack-numpy" + pypi = "msgpack-numpy/msgpack-numpy-0.4.7.1.tar.gz" + + version('0.4.7.1', sha256='7eaf51acf82d7c467d21aa71df94e1c051b2055e54b755442051b474fa7cf5e1') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.9:', type=('build', 'run')) + depends_on('py-msgpack@0.5.2:', type=('build', 'run')) |