File in-toto.spec of Package in-toto

#
# spec file for package in-toto
#
# Copyright (c) 2023 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/
#


# we just build the application, not the modules
%define pythons python3
Name:           in-toto
Version:        2.0.0
Release:        0
Summary:        in-toto is a framework to protect supply chain integrity.
License:        Apache-2.0
Group:          Development/Languages/Python
URL:            https://in-toto.io
Source:         https://files.pythonhosted.org/packages/source/i/in-toto/in_toto-%{version}.tar.gz
BuildRequires:  %{python_module hatchling}
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module poetry}
BuildRequires:  %{python_module recommonmark}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module sphinx-argparse}
BuildRequires:  %{python_module sphinx_rtd_theme}
BuildRequires:  %{python_module wheel}
Requires:       python-attrs
Requires:       python-iso8601
Requires:       python-pathspec
Requires:       python-python-dateutil
Requires:       python-securesystemslib
BuildArch:      noarch

%description
in-toto provides a framework to protect the integrity of the software supply chain. It does so by verifying that each task in the chain is carried out as planned, by authorized personnel only, and that the product is not tampered with in transit.

%prep
%setup -q -n in_toto-%version

%build
%pyproject_wheel

%install
%pyproject_install

%check

%files
%doc README.md
%license LICENSE
%{_bindir}/in-toto*
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by