summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hyperlink/package.py
blob: 0625888b8613b75087ca676858105672f3c110dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2022 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.package 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'))