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

    license("MIT")

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

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