File python-securesystemslib.spec of Package python-securesystemslib
#
# spec file for package python-securesystemslib
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-securesystemslib
Version: 1.1.0
Release: 0
Summary: A library that provides cryptographic and general-purpose routines for Secure Systems Lab projects at NYU
License: MIT
URL: None
Source: https://files.pythonhosted.org/packages/source/s/securesystemslib/securesystemslib-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module asn1crypto}
BuildRequires: %{python_module PyKCS11}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module ed25519}
BuildRequires: %{python_module PySPX}
BuildRequires: fdupes
Suggests: python-cryptography >= 40.0.0
Suggests: python-google-cloud-kms
Suggests: python-cryptography >= 40.0.0
Suggests: python-azure-identity
Suggests: python-azure-keyvault-keys
Suggests: python-cryptography >= 40.0.0
Suggests: python-boto3
Suggests: python-botocore
Suggests: python-cryptography >= 40.0.0
Suggests: python-asn1crypto
Suggests: python-cryptography >= 40.0.0
Suggests: python-PyKCS11
Suggests: python-PySPX >= 0.5.0
Suggests: python-sigstore >= 3.0
Suggests: python-hvac
Suggests: python-cryptography >= 40.0.0
BuildArch: noarch
%python_subpackages
%description
Securesystemslib is a cryptography interface for signing and verifying digital
signatures. It is developed for the [TUF](https://theupdateframework.io) and
[in-toto](https://in-toto.io) projects: the key and signature containers are
compatible with metadata formats from those projects.
%prep
%autosetup -p1 -n securesystemslib-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE
%{python_sitelib}/securesystemslib
%{python_sitelib}/securesystemslib-%{version}.dist-info
%changelog