summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-keyring/package.py
blob: bf19f4c684c04d098a44adcfe7d5594f2944d46c (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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 PyKeyring(PythonPackage):
    """The Python keyring library provides an easy way to access the system keyring
    service from python. It can be used in any application that needs safe password
    storage."""

    homepage = "https://github.com/jaraco/keyring"
    pypi     = "keyring/keyring-23.0.1.tar.gz"

    version('23.2.1', sha256='6334aee6073db2fb1f30892697b1730105b5e9a77ce7e61fca6b435225493efe')
    version('23.2.0', sha256='1e1970dcecde00c59ff6033d69cee3b283cd0d7cbad78b0dc4cdd15c8a28bcf8')
    version('23.1.0', sha256='b7e0156667f5dcc73c1f63a518005cd18a4eb23fe77321194fefcc03748b21a4')
    version('23.0.1', sha256='045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8')
    version('21.7.0', sha256='a144f7e1044c897c3976202af868cb0ac860f4d433d5d0f8e750fa1a2f0f0b50')
    version('20.0.1', sha256='963bfa7f090269d30bdc5e25589e5fd9dad2cf2a7c6f176a7f2386910e5d0d8d')
    version('18.0.1', sha256='67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838')

    depends_on('python@3.6:', when='@21:', type=('build', 'run'))
    depends_on('python@3.5:', when='@20:', type=('build', 'run'))
    depends_on('python@2.7:', type=('build', 'run'))
    depends_on('py-setuptools@56:', when='@23.1:', type='build')
    depends_on('py-setuptools@42:', when='@21:', type='build')
    depends_on('py-setuptools@34.4:', type='build')
    depends_on('py-setuptools-scm@3.4.1:+toml', when='@21:', type='build')
    depends_on('py-setuptools-scm@1.15:', type='build')
    depends_on('py-entrypoints', when='@18', type=('build', 'run'))
    depends_on('py-secretstorage', when='platform=linux', type=('build', 'run'))
    depends_on('py-secretstorage@:2', when='@18 ^python@:3.4 platform=linux', type=('build', 'run'))
    depends_on('py-secretstorage@3.2:', when='@21: platform=linux', type=('build', 'run'))
    depends_on('py-jeepney@0.4.2:', when='@21: platform=linux', type=('build', 'run'))
    depends_on('py-importlib-metadata', when='@20:', type=('build', 'run'))
    depends_on('py-importlib-metadata@1:', when='@21:', type=('build', 'run'))
    depends_on('py-importlib-metadata@3.6:', when='@23:', type=('build', 'run'))

    # TODO: additional dependency on pywin32-ctypes required for Windows