summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorrvinaybharadwaj <vinayr@lanl.gov>2020-10-08 05:59:06 -0600
committerGitHub <noreply@github.com>2020-10-08 05:59:06 -0600
commitbd8e307e82be0d8240f34b7c27d7cdd538045293 (patch)
tree0425ff089b9004d29fbc6bfed8b03061ebfff41f /var
parentd0bb9918383f3eebbeb4425307d2027c5234db44 (diff)
downloadspack-bd8e307e82be0d8240f34b7c27d7cdd538045293.tar.gz
spack-bd8e307e82be0d8240f34b7c27d7cdd538045293.tar.bz2
spack-bd8e307e82be0d8240f34b7c27d7cdd538045293.tar.xz
spack-bd8e307e82be0d8240f34b7c27d7cdd538045293.zip
Add py-sanic (#19174)
* Add py-sanic * Update package.py Co-authored-by: Christoph Junghans <christoph.junghans@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-sanic/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-sanic/package.py b/var/spack/repos/builtin/packages/py-sanic/package.py
new file mode 100644
index 0000000000..e97622a750
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sanic/package.py
@@ -0,0 +1,32 @@
+# 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 PySanic(PythonPackage):
+ """Sanic is a Flask-like Python 3.5+ web server that is written to go fast.
+ It is based on the work done by the amazing folks at magicstack"""
+
+ homepage = "https://github.com/huge-success/sanic"
+ url = "https://pypi.io/packages/source/s/sanic/sanic-20.6.3.tar.gz"
+
+ version('20.6.3', sha256='30e83d9f677b609d6b8ccab7c9551ca7e9a5f19ac0579f5aa10199ab6d4138ed')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-wheel', type='build')
+ depends_on('py-ujson')
+ depends_on('py-multidict@4.0:4.99')
+ depends_on('py-aiofiles@0.3.0:')
+ depends_on('py-httptools@0.0.10:')
+ depends_on('py-websockets@8.1:8.999')
+ depends_on('py-httpx@0.11.1')
+ depends_on('py-websockets@8.1:8.999')
+ depends_on('py-uvloop')
+ depends_on('py-chardet')
+ depends_on('py-hstspreload')
+ depends_on('py-h2')
+ depends_on('py-urllib3')
+ depends_on('py-brotlipy')