summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-12-20 11:59:18 -0600
committerGitHub <noreply@github.com>2019-12-20 11:59:18 -0600
commitd01ceabca2375f3530b4f9e96a232f22cfe9722e (patch)
treeebe38628ebec8c8399c9888a73777ddeaeb8cdba /var
parent71d10d76dc8c4d4f91b178a0f7c5f6d317ce9066 (diff)
downloadspack-d01ceabca2375f3530b4f9e96a232f22cfe9722e.tar.gz
spack-d01ceabca2375f3530b4f9e96a232f22cfe9722e.tar.bz2
spack-d01ceabca2375f3530b4f9e96a232f22cfe9722e.tar.xz
spack-d01ceabca2375f3530b4f9e96a232f22cfe9722e.zip
Add py-pyinstrument-cext package (#14240)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py b/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py
new file mode 100644
index 0000000000..a9efa90bc3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py
@@ -0,0 +1,18 @@
+# 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 PyPyinstrumentCext(PythonPackage):
+ """A CPython extension supporting pyinstrument."""
+
+ homepage = "https://github.com/joerick/pyinstrument_cext"
+ url = "https://pypi.io/packages/source/p/pyinstrument_cext/pyinstrument_cext-0.2.2.tar.gz"
+
+ version('0.2.2', sha256='f29e25f71d74c0415ca9310e5567fff0f5d29f4240a09a885abf8b0eed71cc5b')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-nose', type='test')