diff options
author | wspear <wjspear@gmail.com> | 2019-10-14 11:57:54 -0700 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-10-14 20:57:54 +0200 |
commit | 48b73702651d206b81cd7df12c93f92c75e0c113 (patch) | |
tree | 2b2c17d5b63e4a4e59d5d332c7796e9c185edcc4 | |
parent | 385d2bf3fa5f99782fbdea5d8951c29a4bf2a91b (diff) | |
download | spack-48b73702651d206b81cd7df12c93f92c75e0c113.tar.gz spack-48b73702651d206b81cd7df12c93f92c75e0c113.tar.bz2 spack-48b73702651d206b81cd7df12c93f92c75e0c113.tar.xz spack-48b73702651d206b81cd7df12c93f92c75e0c113.zip |
py-pymongo: added new package at version 3.9.0 (#13132)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pymongo/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pymongo/package.py b/var/spack/repos/builtin/packages/py-pymongo/package.py new file mode 100644 index 0000000000..8e28001e4c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pymongo/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2019 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 PyPymongo(PythonPackage): + """The PyMongo distribution contains tools for interacting with + MongoDB database from Python. The bson package is an implementation + of the BSON format for Python. The pymongo package is a native + Python driver for MongoDB. The gridfs package is a gridfs + implementation on top of pymongo. + + PyMongo supports MongoDB 2.6, 3.0, 3.2, 3.4, 3.6, 4.0 and 4.2.""" + + homepage = "https://pypi.org/project/pymongo/" + url = "https://pypi.io/packages/source/p/pymongo/pymongo-3.9.0.tar.gz" + + version('3.9.0', sha256='4249c6ba45587b959292a727532826c5032d59171f923f7f823788f413c2a5a3') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |