File python-chacha20poly1305-reuseable.spec of Package python-chacha20poly1305-reuseable
#
# spec file for package python-chacha20poly1305-reuseable
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%define skip_python38 1
Name: python-chacha20poly1305-reuseable
Version: 0.13.0
Release: 0
License: Apache-2.0
Summary: ChaCha20Poly1305 that is reuseable for asyncio
Group: Development/Languages/Python
Url: https://github.com/bdraco/chacha20poly1305-reuseable
Source: https://files.pythonhosted.org/packages/source/c/chacha20poly1305_reuseable/chacha20poly1305_reuseable-%{version}.tar.gz
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 36.0.2
BuildArch: noarch
%python_subpackages
%description
ChaCha20Poly1305 that is reuseable for asyncio
%prep
%setup -q -n chacha20poly1305_reuseable-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog