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>
This commit is contained in:
haralmha 2022-03-31 16:56:18 +02:00 committed by GitHub
parent cbba0ffc0c
commit 81e9e47337
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))