summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-10-04 13:38:34 -0500
committerGitHub <noreply@github.com>2020-10-04 20:38:34 +0200
commitd2b3ea24e4d9939b779f168a1fa8c48e4ac3d880 (patch)
treea9255c78846bf07748b5b05d9d8630eb10ccc875
parent8cf42b3e718b7c20facd8ed4dcd62485ca021b8a (diff)
downloadspack-d2b3ea24e4d9939b779f168a1fa8c48e4ac3d880.tar.gz
spack-d2b3ea24e4d9939b779f168a1fa8c48e4ac3d880.tar.bz2
spack-d2b3ea24e4d9939b779f168a1fa8c48e4ac3d880.tar.xz
spack-d2b3ea24e4d9939b779f168a1fa8c48e4ac3d880.zip
py-py-spy: added new package at v0.3.3 (#19005)
-rw-r--r--var/spack/repos/builtin/packages/py-py-spy/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-py-spy/package.py b/var/spack/repos/builtin/packages/py-py-spy/package.py
new file mode 100644
index 0000000000..63cd99dfe3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-py-spy/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2020 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)
+
+
+class PyPySpy(PythonPackage):
+ """A Sampling Profiler for Python."""
+
+ homepage = "https://github.com/benfred/py-spy"
+ url = "https://github.com/benfred/py-spy/archive/v0.3.3.tar.gz"
+
+ version('0.3.3', sha256='41454d3d9132da45c72f7574faaff65f40c757720293a277ffa5ec5a4b44f902')
+
+ depends_on('py-setuptools', type='build')
+ # TODO: uses cargo to download and build dozens of dependencies.
+ # Need to figure out how to manage these with Spack once we have a
+ # CargoPackage base class.
+ depends_on('rust', type='build')