summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorrvinaybharadwaj <vinayr@lanl.gov>2020-10-07 10:36:33 -0600
committerGitHub <noreply@github.com>2020-10-07 10:36:33 -0600
commit91047a9722f0908d7647179c8199fe338fde5b90 (patch)
tree318851dc105cdb31dadfefd3e2d1323081e923fc /var
parent59c8761b9e8f5a00f85e66ad9cc48f19d9b5cfba (diff)
downloadspack-91047a9722f0908d7647179c8199fe338fde5b90.tar.gz
spack-91047a9722f0908d7647179c8199fe338fde5b90.tar.bz2
spack-91047a9722f0908d7647179c8199fe338fde5b90.tar.xz
spack-91047a9722f0908d7647179c8199fe338fde5b90.zip
Add py-sniffio (#19170)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-sniffio/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sniffio/package.py b/var/spack/repos/builtin/packages/py-sniffio/package.py
new file mode 100644
index 0000000000..7ededd453a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sniffio/package.py
@@ -0,0 +1,20 @@
+# 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)
+
+from spack import *
+
+
+class PySniffio(PythonPackage):
+ """This is a tiny package whose only purpose is to let you detect which
+ async library your code is running under."""
+
+ homepage = "https://github.com/python-trio/sniffio"
+ url = "https://pypi.io/packages/source/s/sniffio/sniffio-1.1.0.tar.gz"
+
+ version('1.1.0', sha256='8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-wheel', type='build')
+ depends_on('py-certifi')