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


class PyWincertstore(PythonPackage):
    """wincertstore provides an interface to access Windows' CA and CRL certificates.
    It uses ctypes and Windows's sytem cert store API through crypt32.dll."""

    homepage = "https://github.com/tiran/wincertstore"
    pypi     = "wincertstore/wincertstore-0.2.zip"

    version('0.2', sha256='780bd1557c9185c15d9f4221ea7f905cb20b93f7151ca8ccaed9714dce4b327a')

    depends_on('py-setuptools', type='build')