summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-03-31 16:56:18 +0200
committerGitHub <noreply@github.com>2022-03-31 09:56:18 -0500
commit81e9e47337d43c16d06131ff03236d8578db52bc (patch)
treede06e42c939b4c5ef421f1f2acf48df53af0173e
parentcbba0ffc0ca083cf40fa62d0a6a1d30980949cc8 (diff)
downloadspack-81e9e47337d43c16d06131ff03236d8578db52bc.tar.gz
spack-81e9e47337d43c16d06131ff03236d8578db52bc.tar.bz2
spack-81e9e47337d43c16d06131ff03236d8578db52bc.tar.xz
spack-81e9e47337d43c16d06131ff03236d8578db52bc.zip
py-marshmallow: Add new package (#29764)
* py-marshmallow: Add new package * Modify py-packaging dependency type Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Add run dependency to py-packaging 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-marshmallow/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-marshmallow/package.py b/var/spack/repos/builtin/packages/py-marshmallow/package.py
new file mode 100644
index 0000000000..c22d01f4d7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-marshmallow/package.py
@@ -0,0 +1,22 @@
+# 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 PyMarshmallow(PythonPackage):
+ """marshmallow is an ORM/ODM/framework-agnostic library for converting
+ complex datatypes, such as objects, to and from native Python datatypes."""
+
+ homepage = "https://github.com/marshmallow-code/marshmallow"
+ pypi = "marshmallow/marshmallow-3.15.0.tar.gz"
+
+ maintainers = ['haralmha']
+
+ version('3.15.0', sha256='2aaaab4f01ef4f5a011a21319af9fce17ab13bf28a026d1252adab0e035648d5')
+
+ depends_on('python@3.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-packaging', type=('build', 'run'))