summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-idna-ssl/package.py
blob: c79d2b46b6d2b4097d631d25918abdf3373fc5db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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)


class PyIdnaSsl(PythonPackage):
    """Patch ssl.match_hostname for Unicode(idna) domains support"""

    homepage = "https://github.com/aio-libs/idna-ssl"
    url      = "https://github.com/aio-libs/idna-ssl/archive/v1.1.0.tar.gz"

    version('1.1.0', sha256='cdbefa2429a6a2fa5cbe8d2a47c677ca671e84531618d3460fc0bcfc840684c5')

    depends_on('py-setuptools', type='build')
    depends_on('py-idna@2.0:', type=('build', 'run'))