2022-02-16 16:53:50 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-matrix-nio
|
|
|
|
|
#
|
2023-07-18 20:10:57 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-02-16 16:53:50 +00:00
|
|
|
#
|
|
|
|
|
# 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-matrix-nio
|
2023-11-20 14:03:04 +00:00
|
|
|
Version: 0.23.0
|
2022-02-16 16:53:50 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: A Python Matrix client library, designed according to sans I/O principles
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: https://github.com/poljar/matrix-nio
|
2023-07-18 20:10:57 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/m/matrix_nio/matrix_nio-%{version}.tar.gz
|
2022-02-16 16:53:50 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2023-07-18 20:10:57 +00:00
|
|
|
BuildRequires: %{python_module poetry-core}
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2022-02-16 16:53:50 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
BuildRequires: fdupes
|
2023-07-18 20:10:57 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2022-02-16 16:53:50 +00:00
|
|
|
Requires: python-aiofiles >= 0.6.0
|
2023-11-20 14:03:04 +00:00
|
|
|
Requires: python-aiohttp >= 3.8.6
|
2022-02-16 16:53:50 +00:00
|
|
|
Requires: python-aiohttp-socks >= 0.7.0
|
|
|
|
|
Requires: python-h11 >= 0.12.0
|
|
|
|
|
Requires: python-h2 >= 4.0.0
|
|
|
|
|
Requires: python-jsonschema >= 3.2.0
|
|
|
|
|
Requires: python-pycryptodome >= 3.10.1
|
|
|
|
|
Requires: python-unpaddedbase64 >= 2.1.0
|
2023-07-18 20:10:57 +00:00
|
|
|
Suggests: python-atomicwrites >= 1.4.0
|
|
|
|
|
Suggests: python-cachetools >= 4.2.1
|
2022-02-16 16:53:50 +00:00
|
|
|
Suggests: python-dataclasses >= 0.7
|
|
|
|
|
Suggests: python-peewee >= 3.14.4
|
2023-07-18 20:10:57 +00:00
|
|
|
Suggests: python-python-olm >= 3.1.3
|
2022-02-16 16:53:50 +00:00
|
|
|
BuildArch: noarch
|
2023-07-18 20:10:57 +00:00
|
|
|
# SECTION test requirements
|
|
|
|
|
BuildRequires: %{python_module aiofiles >= 0.6.0}
|
2023-11-20 14:03:04 +00:00
|
|
|
BuildRequires: %{python_module aiohttp >= 3.8.6}
|
2023-07-18 20:10:57 +00:00
|
|
|
BuildRequires: %{python_module aiohttp-socks >= 0.7.0}
|
|
|
|
|
BuildRequires: %{python_module h11 >= 0.12.0}
|
|
|
|
|
BuildRequires: %{python_module h2 >= 4.0.0}
|
|
|
|
|
BuildRequires: %{python_module jsonschema >= 3.2.0}
|
|
|
|
|
BuildRequires: %{python_module pycryptodome >= 3.10.1}
|
|
|
|
|
BuildRequires: %{python_module unpaddedbase64 >= 2.1.0}
|
|
|
|
|
# /SECTION
|
2022-02-16 16:53:50 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A Python Matrix client library, designed according to sans I/O principles.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-07-18 20:10:57 +00:00
|
|
|
%autosetup -p1 -n matrix_nio-%{version}
|
2022-02-16 16:53:50 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE.md
|
2023-07-18 20:10:57 +00:00
|
|
|
%{python_sitelib}/nio
|
|
|
|
|
%{python_sitelib}/matrix_nio-%{version}*-info
|
2022-02-16 16:53:50 +00:00
|
|
|
|
|
|
|
|
%changelog
|