summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-certifi-win32/package.py
blob: e5fe4e37f649db7d775b2f0637afaad935514915 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2023 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 PyPythonCertifiWin32(PythonPackage):
    """This package patches certifi at runtime to also include certificates from the
    windows certificate store."""

    homepage = "https://gitlab.com/alelec/python-certifi-win32"
    git = "https://gitlab.com/alelec/python-certifi-win32.git"

    license("BSD-2-Clause")

    # Tarball missing version information, need to use git checkout
    version("1.6", tag="v1.6", commit="8ef45c73e203024ed2e1df5151a23e27faff5b60")

    depends_on("py-setuptools", type="build")
    depends_on("py-setuptools-scm", type="build")
    depends_on("py-wrapt@1.10.4:", type=("build", "run"))
    depends_on("py-certifi", type=("build", "run"))