summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-05-21 12:36:37 -0400
committerGitHub <noreply@github.com>2022-05-21 11:36:37 -0500
commitc6c3d243e1f7f5672de8f862c10c9a5eee17a947 (patch)
treedc35cbfd2fefc27b1f8fb5977c51bc48efb305ed /var
parent870b997cb6794a3735ee81c2f5b1a2573b54a667 (diff)
downloadspack-c6c3d243e1f7f5672de8f862c10c9a5eee17a947.tar.gz
spack-c6c3d243e1f7f5672de8f862c10c9a5eee17a947.tar.bz2
spack-c6c3d243e1f7f5672de8f862c10c9a5eee17a947.tar.xz
spack-c6c3d243e1f7f5672de8f862c10c9a5eee17a947.zip
New package: py-motor (#30763)
* New package: py-motor * Fixed dependency errors * Fixed flake style errors * Fixed linked issue Co-authored-by: Viv Eric Hafener <vehrc@sporcbuild.rc.rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-motor/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-motor/package.py b/var/spack/repos/builtin/packages/py-motor/package.py
new file mode 100644
index 0000000000..1ab7037064
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-motor/package.py
@@ -0,0 +1,19 @@
+# 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 PyMotor(PythonPackage):
+ """async Python driver for MongoDB and Tornado or asyncio"""
+
+ homepage = "https://github.com/mongodb/motor/"
+ pypi = "motor/motor-2.5.1.tar.gz"
+
+ version('2.5.1', sha256='663473f4498f955d35db7b6f25651cb165514c247136f368b84419cb7635f6b8')
+
+ depends_on('python@3.5.2:', type=('build', 'run'))
+ depends_on('py-pymongo@3.12:3', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')