forked from pool/python-slixmpp
- Update to 1.8.5:
* Fix connection to Snikket instances (pep., mathieui) * Performance fix for XEP-0115 queries * New documentation listing projects using slixmpp (genghis) * Bugfix and improvements (nicoco, mostly) - Switch to autosetup and pyproject macros. - Drop patch slixmpp-fix-legacyauth.patch, no longer required. - Update Source URL. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slixmpp?expand=0&rev=22
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-slixmpp
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# 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
|
||||
@@ -16,29 +16,32 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define _name slixmpp
|
||||
Name: python-slixmpp
|
||||
Version: 1.8.3
|
||||
Version: 1.8.5
|
||||
Release: 0
|
||||
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
|
||||
License: MIT
|
||||
URL: https://slixmpp.readthedocs.io/
|
||||
Source: https://lab.louiz.org/poezio/slixmpp/-/archive/slix-%{version}/slixmpp-slix-%{version}.tar.bz2
|
||||
# PATCH-FIX-OPENSUSE slixmpp-fix-legacyauth.patch nyov@nexnode.net -- Fix an error in legacyauth support.
|
||||
Patch0: %{_name}-fix-legacyauth.patch
|
||||
Source: https://codeberg.org/poezio/slixmpp/archive/slix-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module aiodns}
|
||||
BuildRequires: %{python_module aiohttp}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module dnspython}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module xml}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gnupg
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(libidn)
|
||||
Requires: python-aiodns
|
||||
Requires: python-aiohttp
|
||||
Requires: python-dnspython
|
||||
Requires: python-cryptography
|
||||
Requires: python-pyasn1
|
||||
Requires: python-pyasn1-modules
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -47,24 +50,23 @@ asyncio instead of threads. XEP (XMPP Extended Protocol) coverage is
|
||||
realized as plugins.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-slix-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -p1 -n slixmpp
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}/
|
||||
|
||||
%check
|
||||
%pyunittest -v tests
|
||||
%python_exec run_tests.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitearch}/%{_name}/
|
||||
%{python_sitearch}/%{_name}-*
|
||||
%{python_sitearch}/slixmpp
|
||||
%{python_sitearch}/slixmpp-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user