summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-03-30 14:49:07 -0600
committerGitHub <noreply@github.com>2021-03-30 14:49:07 -0600
commitc57a74e3b099cfdc64f307c3651e1383abdf2322 (patch)
treede1ef96dc3503d08da65522a554e7d80f3b6deb9 /var
parent3ce4dae1bffd45265266711c7ed2a0e842fd7c41 (diff)
downloadspack-c57a74e3b099cfdc64f307c3651e1383abdf2322.tar.gz
spack-c57a74e3b099cfdc64f307c3651e1383abdf2322.tar.bz2
spack-c57a74e3b099cfdc64f307c3651e1383abdf2322.tar.xz
spack-c57a74e3b099cfdc64f307c3651e1383abdf2322.zip
New package py-flexmock (#22549)
* New package py-flexmock * Switched to proper deps * Changed setuptools type
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-flexmock/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-flexmock/package.py b/var/spack/repos/builtin/packages/py-flexmock/package.py
new file mode 100644
index 0000000000..1fd10869f6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-flexmock/package.py
@@ -0,0 +1,25 @@
+# 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 PyFlexmock(PythonPackage):
+ """flexmock is a testing library for Python that makes it easy to create
+ mocks,stubs and fakes.
+
+ Its API is inspired by a Ruby library of the same name. However, it is not
+ a goal of Python flexmock to be a clone of the Ruby version. Instead, the
+ focus is on providing full support for testing Python programs and making
+ the creation of fake objects as unobtrusive as possible."""
+
+ homepage = "https://flexmock.readthedocs.io/en/latest/"
+ pypi = "flexmock/flexmock-0.10.4.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('0.10.4', sha256='5033ceb974d6452cf8716c2ff5059074b77e546df5c849fb44a53f98dfe0d82c')
+
+ depends_on('py-setuptools', type='build')