diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-20 11:06:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 11:06:18 -0500 |
commit | 4f56bcc790cbf8260ed7255a2a596209c4c3b22d (patch) | |
tree | 3d9e3aa2039bb222b878ee60d740c948874900d7 | |
parent | 596f3f1d61d9e00e61e0c056821bfd33cacaffb7 (diff) | |
download | spack-4f56bcc790cbf8260ed7255a2a596209c4c3b22d.tar.gz spack-4f56bcc790cbf8260ed7255a2a596209c4c3b22d.tar.bz2 spack-4f56bcc790cbf8260ed7255a2a596209c4c3b22d.tar.xz spack-4f56bcc790cbf8260ed7255a2a596209c4c3b22d.zip |
Add py-brotlipy package (#13270)
-rw-r--r-- | var/spack/repos/builtin/packages/py-brotlipy/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-brotlipy/package.py b/var/spack/repos/builtin/packages/py-brotlipy/package.py new file mode 100644 index 0000000000..82f63e7764 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-brotlipy/package.py @@ -0,0 +1,23 @@ +# 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 PyBrotlipy(PythonPackage): + """Python binding to the Brotli library.""" + + homepage = "https://github.com/python-hyper/brotlipy/" + url = "https://pypi.io/packages/source/b/brotlipy/brotlipy-0.7.0.tar.gz" + + version('0.7.0', sha256='36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df') + + depends_on('py-setuptools', type='build') + depends_on('py-cffi@1.0.0:', type=('build', 'run')) + depends_on('py-enum34@1.0.4:1.999', when='^python@:3.3', type=('build', 'run')) + + # TODO: Builds against internal copy of headers, doesn't seem to be a way + # to use external brotli installation + # depends_on('brotli') |