File python-josepy.spec of Package python-josepy

#
# spec file for package python-josepy
#
# Copyright (c) 2025 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-josepy
Version:        1.15.0
Release:        0
Summary:        JOSE protocol implementation in Python
License:        Apache-2.0
URL:            None
Source:         https://files.pythonhosted.org/packages/source/j/josepy/josepy-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module poetry-core}
BuildRequires:  fdupes
BuildArch:      noarch
%python_subpackages

%description
JOSE protocol implementation in Python using cryptography

.. image:: https://github.com/certbot/josepy/actions/workflows/check.yaml/badge.svg
  :target: https://github.com/certbot/josepy/actions/workflows/check.yaml

.. image:: https://readthedocs.org/projects/josepy/badge/?version=latest
  :target: http://josepy.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  :target: https://github.com/psf/black

For more information about contributing to this project, see CONTRIBUTING.md_.

.. _CONTRIBUTING.md: CONTRIBUTING.md



%prep
%autosetup -p1 -n josepy-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
/usr/bin/jws
%{python_sitelib}/josepy
%{python_sitelib}/josepy-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by