forked from pool/python-slixmpp
- Update to version 1.4.0.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slixmpp?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
7cd7a6dc86
commit
160e8c88ed
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 14 19:41:39 UTC 2018 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Update to version 1.4.0:
|
||||||
|
* No changelog available.
|
||||||
|
- Use python-rpm-macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 20 11:22:06 UTC 2018 - mcepl@suse.com
|
Fri Jul 20 11:22:06 UTC 2018 - mcepl@suse.com
|
||||||
|
|
||||||
|
@@ -16,10 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define skip_python2 1
|
||||||
%define _name slixmpp
|
%define _name slixmpp
|
||||||
%define _tar_ver 123
|
%define _tar_ver 127
|
||||||
Name: python-slixmpp
|
Name: python-slixmpp
|
||||||
Version: 1.3.0
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
|
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -28,53 +29,43 @@ URL: https://slixmpp.readthedocs.io/
|
|||||||
Source: https://dev.louiz.org/attachments/download/%{_tar_ver}/%{_name}-%{version}.tar.gz
|
Source: https://dev.louiz.org/attachments/download/%{_tar_ver}/%{_name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE slixmpp-fix-legacyauth.patch nyov@nexnode.net -- Fix an error in legacyauth support.
|
# PATCH-FIX-OPENSUSE slixmpp-fix-legacyauth.patch nyov@nexnode.net -- Fix an error in legacyauth support.
|
||||||
Patch0: %{_name}-fix-legacyauth.patch
|
Patch0: %{_name}-fix-legacyauth.patch
|
||||||
|
BuildRequires: %{python_module Cython}
|
||||||
|
BuildRequires: %{python_module devel >= 3.5}
|
||||||
|
BuildRequires: %{python_module dnspython}
|
||||||
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnupg
|
BuildRequires: gnupg
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3 >= 3.4
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-Cython
|
|
||||||
BuildRequires: python3-dnspython
|
|
||||||
BuildRequires: python3-xml
|
|
||||||
BuildRequires: pkgconfig(libidn)
|
BuildRequires: pkgconfig(libidn)
|
||||||
BuildRequires: pkgconfig(python3)
|
Requires: python-dnspython
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Slixmpp is an XMPP library for Python. Based on SleekXMPP, it uses
|
Slixmpp is an XMPP library for Python. Based on SleekXMPP, it uses
|
||||||
asyncio instead of threads. XEP (XMPP Extended Protocol) coverage is
|
asyncio instead of threads. XEP (XMPP Extended Protocol) coverage is
|
||||||
realized as plugins.
|
realized as plugins.
|
||||||
|
|
||||||
%package -n python3-%{_name}
|
|
||||||
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: gnupg
|
|
||||||
Requires: python3-dnspython
|
|
||||||
|
|
||||||
%description -n python3-%{_name}
|
|
||||||
Slixmpp is an XMPP library for Python. Based on SleekXMPP, it uses
|
|
||||||
asyncio instead of threads. XEP (XMPP Extended Protocol) coverage is
|
|
||||||
realized as plugins.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
python3 setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install \
|
%python_install
|
||||||
--root=%{buildroot} --prefix=%{_prefix}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitearch}/
|
||||||
%fdupes %{buildroot}%{python3_sitearch}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# python3 run_tests.py
|
# %%python_exec run_tests.py
|
||||||
python3 -munittest discover -v -s tests
|
%python_exec -munittest discover -v -s tests
|
||||||
|
|
||||||
%files -n python3-%{_name}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitearch}/%{_name}/
|
%{python_sitearch}/%{_name}/
|
||||||
%{python3_sitearch}/%{_name}-*
|
%{python_sitearch}/%{_name}-*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ff61f40ab3d05754c0757f2793a60a1a2a1d45c7e241bda008e965bd43785eae
|
|
||||||
size 869065
|
|
3
slixmpp-1.4.0.tar.gz
Normal file
3
slixmpp-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1dbb6f076355472c2673ac37a5e460f1d02fe312e6c11f3fa4d45a7119e243c0
|
||||||
|
size 864967
|
Reference in New Issue
Block a user