File python-cursive.spec of Package python-cursive

#
# spec file for package python-cursive
#
# 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-cursive
Version:        0.2.3
Release:        0
Summary:        Cursive implements OpenStack-specific validation of digital signatures
License:        Apache-2.0
Group:          Development/Languages/Python
URL:            https://opendev.org/x/cursive
Source0:        https://files.pythonhosted.org/packages/source/c/cursive/cursive-0.2.3.tar.gz
# https://review.opendev.org/c/x/cursive/+/906321
Patch1:         0001-Remove-use-of-external-mock.patch
BuildRequires:  openstack-macros
BuildRequires:  python3-Sphinx
BuildRequires:  python3-castellan
BuildRequires:  python3-cryptography
BuildRequires:  python3-openstackdocstheme
BuildRequires:  python3-oslo.i18n
BuildRequires:  python3-oslo.serialization
BuildRequires:  python3-oslo.utils
BuildRequires:  python3-oslotest
BuildRequires:  python3-pbr
BuildRequires:  python3-python-subunit
BuildRequires:  python3-reno
BuildRequires:  python3-stestr
BuildRequires:  python3-testscenarios
BuildRequires:  python3-testtools
BuildArch:      noarch

%description
Cursive implements OpenStack-specific validation of digital signatures.
As OpenStack continues to mature, robust security controls become increasingly
critical. The cursive project contains code extracted from various OpenStack
projects for verifying digital signatures. Additional capabilities will be
added to this project in support of various security features.

%package -n python3-cursive
Summary:        Cursive implements OpenStack-specific validation of digital signatures
Requires:       python3-castellan
Requires:       python3-cryptography
Requires:       python3-oslo.i18n
Requires:       python3-oslo.log
Requires:       python3-oslo.serialization
Requires:       python3-oslo.utils
Requires:       python3-pbr

%description -n python3-cursive
Cursive implements OpenStack-specific validation of digital signatures.
As OpenStack continues to mature, robust security controls become increasingly
critical. The cursive project contains code extracted from various OpenStack
projects for verifying digital signatures. Additional capabilities will be
added to this project in support of various security features.

%prep
%autosetup -p1 -n cursive-0.2.3
%py_req_cleanup

%build
%py3_build

%install
%py3_install

%check
%{openstack_stestr_run}

%files -n python3-cursive
%license LICENSE
%doc ChangeLog README.rst
%{python3_sitelib}/cursive
%{python3_sitelib}/cursive-%{version}*-info

%changelog
openSUSE Build Service is sponsored by