diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-hyperlink/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-hyperlink/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hyperlink/package.py b/var/spack/repos/builtin/packages/py-hyperlink/package.py new file mode 100644 index 0000000000..fbaa2adf72 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-hyperlink/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 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 PyHyperlink(PythonPackage): + """A featureful, immutable, and correct URL for Python.""" + + homepage = "https://github.com/python-hyper/hyperlink" + pypi = "hyperlink/hyperlink-21.0.0.tar.gz" + + version('21.0.0', sha256='427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b') + + depends_on('python@2.6:2,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-idna@2.5:', type=('build', 'run')) + depends_on('py-typing', when='^python@:3.4', type=('build', 'run')) |