py-wincertstore: add new package (#22844)

This commit is contained in:
Adam J. Stewart 2021-04-08 03:55:10 -05:00 committed by GitHub
parent 8246e4dde0
commit e38aac8cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# 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)
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://bitbucket.org/tiran/wincertstore"
pypi = "wincertstore/wincertstore-0.2.zip"
version('0.2', sha256='780bd1557c9185c15d9f4221ea7f905cb20b93f7151ca8ccaed9714dce4b327a')
depends_on('py-setuptools', type='build')