5798605
%global pypi_name autobahn
5798605
5798605
Name:           python-%{pypi_name}
01766c3
Version:        21.2.2
3405ca1
Release:        5%{?dist}
5798605
Summary:        Python networking library for WebSocket and WAMP
5798605
5798605
License:        MIT
e54758b
URL:            https://autobahn.readthedocs.io/en/latest/
e54758b
Source0:        https://github.com/crossbario/autobahn-python/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
5798605
BuildArch:      noarch
5798605
5798605
%description
5798605
Autobahn a networking library that is part of the Autobahn project and provides
5798605
implementations of
5798605
* The WebSocket Protocol http://tools.ietf.org/html/rfc6455_
5798605
* The Web Application Messaging Protocol (WAMP) http://wamp.ws
e54758b
for Twisted and for writing servers and clients.
5798605
5798605
%package -n     python3-%{pypi_name}
e54758b
Summary:        %{summary}
e54758b
e54758b
BuildRequires:  python3-devel
2fffdd5
BuildRequires:  %py3_dist setuptools
e54758b
BuildRequires:  %py3_dist cffi
e54758b
BuildRequires:  %py3_dist mock
e54758b
BuildRequires:  %py3_dist pytest
e54758b
BuildRequires:  %py3_dist pytest-asyncio
e54758b
BuildRequires:  %py3_dist six
e54758b
BuildRequires:  %py3_dist txaio
e54758b
BuildRequires:  %py3_dist pynacl
e54758b
BuildRequires:  %py3_dist cbor2
e54758b
BuildRequires:  %py3_dist cryptography
b6609d6
BuildRequires:  %py3_dist hyperlink
5798605
%{?python_provide:%python_provide python3-%{pypi_name}}
5798605
5798605
%description -n python3-%{pypi_name}
5798605
Autobahn a networking library that is part of the Autobahn project and provides
5798605
implementations of
5798605
* The WebSocket Protocol http://tools.ietf.org/html/rfc6455_
5798605
* The Web Application Messaging Protocol (WAMP) http://wamp.ws
e54758b
for Twisted and for writing servers and clients.
5798605
e54758b
%package -n python-%{pypi_name}-doc
e54758b
Summary:        Documentation for %{name}
5798605
e54758b
BuildRequires:  %py3_dist sphinx
e54758b
BuildRequires:  %py3_dist sphinx-rtd-theme
e54758b
#BuildRequires:  %py3_dist sphinxcontrib.images
e54758b
%description -n python-%{pypi_name}-doc
e54758b
Documentation for %{name}.
5798605
32a7fa1
%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/%{pypi_name}-%{version}*-py%{python3_version}.egg-info twisted}
32a7fa1
5798605
%prep
e54758b
%autosetup -n %{pypi_name}-python-%{version}
5798605
rm -rf %{pypi_name}.egg-info
b6609d6
# There is a requirement for pytest 6.2+ in pytest.ini and we don't have that yet
b6609d6
# it works with 6.0 just fine and the config file is not needed
b6609d6
rm pytest.ini
aa57b62
# Some packages are always outdated...
aa57b62
sed -i -e "s/cryptography>=3.4.6/cryptography>=3.4.2/g" setup.py
5798605
5798605
%build
5798605
%py3_build
e54758b
#PYTHONPATH=${PWD} sphinx-build-3 docs html
e54758b
#rm -rf html/.{doctrees,buildinfo}
5798605
5798605
%install
5798605
%py3_install
5798605
5798605
%check
e54758b
# Ignore tests that rely on optional and not packaged deps.
e54758b
USE_ASYNCIO=1 %pytest --pyargs autobahn -k 'not test_no_memory_arg and not test_basic and not test_websocket_custom_loop and not TestSerializer'
5798605
5798605
%files -n python3-%{pypi_name}
5798605
%license LICENSE
2fd8e5d
%doc README.rst DEVELOPERS.md
c0785d5
%{_bindir}/wamp
563e9a7
%{_bindir}/xbrnetwork
5798605
%{python3_sitelib}/%{pypi_name}-%{version}*-py%{python3_version}.egg-info/
5798605
%{python3_sitelib}/%{pypi_name}/
5798605
%dir %{python3_sitelib}/twisted
5798605
%dir %{python3_sitelib}/twisted/plugins
5798605
%dir %{python3_sitelib}/twisted/plugins/__pycache__
5798605
%{python3_sitelib}/twisted/plugins/autobahn*.py
5798605
%{python3_sitelib}/twisted/plugins/__pycache__/autobahn*.py*
5798605
e54758b
%files -n python-%{pypi_name}-doc
e54758b
%doc docs/
5798605
%license LICENSE
5798605
5798605
%changelog
3405ca1
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 21.2.2-5
3405ca1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3405ca1
0344165
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 21.2.2-4
0344165
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0344165
951bf1b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 21.2.2-3
951bf1b
- Rebuilt for Python 3.10
951bf1b
aa57b62
* Mon Mar 01 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.2-2
aa57b62
- Allow other cryptography releases (package is always outdated)
aa57b62
aa57b62
* Fri Feb 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.2-1
aa57b62
- Fix CVE-2020-35678 (#1911315)
aa57b62
- Update to new upstream release 21.2.2 (#1925733)
aa57b62
01766c3
* Fri Feb 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.2-1
01766c3
- Update to new upstream release 21.2.2 (#1925733)
01766c3
08e09b1
* Sun Feb 14 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.1-1
08e09b1
- Update to new upstream release 21.2.1 (#1925733)
08e09b1
81fdd2a
* Sun Feb 07 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.1.1-1
81fdd2a
- Update to new upstream release 21.1.1 (#1925733)
81fdd2a
f8d81d8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.12.3-2
f8d81d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f8d81d8
b6609d6
* Thu Dec 24 2020 Fabian Affolter <mail@fabian-affolter.ch> - 20.12.3-1
a23806a
- Update to new upstream release 20.12.3 (#1909439)
a23806a
b6609d6
* Wed Dec 16 2020 Fabian Affolter <mail@fabian-affolter.ch> - 20.12.2-1
e54758b
- Simplify and update spec file
e54758b
- Update to new upstream release 20.12.2 (#1907237)
e54758b
89de52a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.7.1-2
89de52a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
89de52a
980fa07
* Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 20.7.1-1
980fa07
- Update to 20.7.1
980fa07
32a7fa1
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 19.10.1-4
32a7fa1
- Add autobahn[twisted] subpackage
32a7fa1
a03f4df
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 19.10.1-3
a03f4df
- Rebuilt for Python 3.9
a03f4df
df2157c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.10.1-2
df2157c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
df2157c
a471422
* Thu Oct 10 2019 Orion Poplawski <orion@nwra.com> - 19.10.1-1
a471422
- Update to 19.10.1
a471422
- Drop BR on pep8
a471422
2260499
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 19.8.1-2
2260499
- Rebuilt for Python 3.8.0rc1 (#1748018)
2260499
2f5c3ed
* Tue Aug 20 2019 Yatin Karel <ykarel@redhat.com> - 19.8.1-1
2f5c3ed
- Update to 19.8.1
2f5c3ed
d10cc5a
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 19.7.2-3
d10cc5a
- Rebuilt for Python 3.8
d10cc5a
343613b
* Thu Aug 01 2019 Julien Enselme <jujens@jujens.eu> - 19.7.2-2
343613b
- Lower requirement on python-cryptography.
343613b
4fddc9b
* Tue Jul 30 2019 Julien Enselme <jujens@jujens.eu> - 19.7.2-1
4fddc9b
- Update to 19.7.2
4fddc9b
- Skip test about random generator which can make build hang.
4fddc9b
e62b84f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.7.1-2
e62b84f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e62b84f
c0785d5
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 19.7.1-1
c0785d5
- Update to 19.7.1
c0785d5
39427c2
* Sat Mar 23 2019 Julien Enselme <jujens@jujens.eu> - 19.3.2-1
39427c2
- Update to 19.3.2
39427c2
10c90ab
* Sun Mar 17 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-2
10c90ab
- Subpackage python2-autobahn has been removed
10c90ab
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
10c90ab
40d64a1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.7.1-2
40d64a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
40d64a1
17da5e7
* Wed Aug 01 2018 Julien Enselme <jujens@jujens.eu> - 18.7.1-1
17da5e7
- Update to 18.7.1
17da5e7
58346d6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18.6.1-3
58346d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
58346d6
7883ac6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 18.6.1-2
7883ac6
- Rebuilt for Python 3.7
7883ac6
d099a1d
* Sat Jun 16 2018 Julien Enselme <jujens@jujens.eu> - 18.6.1-1
d099a1d
- Update to 18.6.1
d099a1d
1db1d53
* Sat May 12 2018 Julien Enselme <jujens@jujens.eu> - 18.5.1-1
1db1d53
- Update to 18.5.1
1db1d53
a32801e
* Sun Apr 15 2018 Julien Enselme <jujens@jujens.eu> - 18.4.1-2
a32801e
- Correct requires
a32801e
3ba2823
* Sun Apr 15 2018 Julien Enselme <jujens@jujens.eu> - 18.4.1-1
3ba2823
- Update to 18.4.1
3ba2823
09597b0
* Tue Mar 06 2018 Julien Enselme <jujens@jujens.eu> - 18.3.1-1
09597b0
- Update to 18.3.1
09597b0
c755e6a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.10.1-3
c755e6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c755e6a
769f545
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 17.10.1-2
769f545
- Update Python 2 dependency declarations to new packaging standards
769f545
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
769f545
e43554d
* Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 17.10.1-1
e43554d
- Update to 17.10.1
e43554d
- Use %%version to get the sources
e43554d
d28351b
* Tue Sep 26 2017 Julien Enselme <jujens@jujens.eu> - 17.9.3-1.gitd398c4d
d28351b
- Update to 17.9.3
d28351b
473574a
* Thu Sep 14 2017 Julien Enselme <jujens@jujens.eu> - 17.9.2-1.git164106a
473574a
- Update to 17.9.2
473574a
9935856
* Wed Sep 06 2017 Julien Enselme <jujens@jujens.eu> - 17.9.1-1.gitb813019
9935856
- Update to 17.9.1
9935856
67bdbde
* Sat Aug 19 2017 Julien Enselme <jujens@jujens.eu> - 17.8.1-1.git96543dd
67bdbde
- Update to 17.8.1
67bdbde
301796a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.7.1-2.git9ad7878
301796a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
301796a
6eb0936
* Sun Jul 23 2017 Julien Enselme <jujens@jujens.eu> - 17.7.1-1.git9ad7878
6eb0936
- Update to 17.7.1
6eb0936
a7e7b91
* Sat Jul 01 2017 Julien Enselme <jujens@jujens.eu> - 17.6.2-1.gitbc2a1b3
a7e7b91
- Update to 17.6.2
a7e7b91
3c47a93
* Sat Jun 10 2017 Julien Enselme <jujens@jujens.eu> - 17.6.1-1.gite69b314
3c47a93
- Update to 17.6.1
3c47a93
21b9dd5
* Sun May 07 2017 Julien Enselme <jujens@jujens.eu> - 17.5.1-1.git73bcac2
7965bdc
- Update to 17.5.1
7965bdc
ac5739a
* Tue Apr 18 2017 Julien Enselme <jujens@jujens.eu> - 0.18.2-1.git731228a
ac5739a
- Update to 0.18.2
ac5739a
e960e52
* Wed Apr 05 2017 Julien Enselme <jujens@jujens.eu> - 0.18.1-1.gitfd7ec41
e960e52
- Update to 0.18.1
e960e52
72829b3
* Tue Feb 28 2017 Julien Enselme <jujens@jujens.eu> - 0.17.2-1.git0eef8c7
72829b3
- Update to 0.17.2
72829b3
aa0dc6a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2.git81d9276
aa0dc6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aa0dc6a
b575560
*  Mon Dec 26 2016 Julien Enselme <jujens@jujens.eu> - 0.17.0-1.git81d9276
b575560
- Update to 0.17.0
b575560
e7b8332
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.16.0-3.gitade9eb5
e7b8332
- Rebuild for Python 3.6
e7b8332
6d2206d
* Sat Oct 01 2016 Julien Enselme <jujens@jujens.eu> - 0.16.0-2.gitade9eb5
6d2206d
- Fix tests for pytest3
6d2206d
3a1de2c
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 0.16.0-1.gitade9eb5
3a1de2c
- Update to 0.16.0
3a1de2c
d225ec5
* Mon Jul 25 2016 Julien Enselme <jujens@jujens.eu> - 0.15.0-1.git43b57f8
d225ec5
- Update to 0.15.0
d225ec5
77bf9c5
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2.git81f693d
77bf9c5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
77bf9c5
36bfff8
* Mon May 16 2016 Julien Enselme <jujens@jujens.eu> - 0.14.0-1.git81f693d
d0c7d1b
- Update to 0.14.0
d0c7d1b
e597989
* Sat Feb 27 2016 Julien Enselme <jujens@jujens.eu> - 0.12.1-1.git22b1183
e597989
- Update to 0.12.1
e597989
3141208
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.7-3.gita69e704
3141208
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3141208
ad26c2d
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.7-2.gita69e704
ad26c2d
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
ad26c2d
e5891e1
* Sun Sep 6 2015 Julien Enselme <jujens@jujens.eu> - 0.10.7-1.gita69e7048
e5891e1
- Update to 0.10.7
e5891e1
2fd8e5d
* Sun Sep 6 2015 Julien Enselme <jujens@jujens.eu> - 0.10.6-1.gitb35d99f1
2fd8e5d
- Update to 0.10.6
2fd8e5d
5798605
* Sat Aug 15 2015 Julien Enselme <jujens@jujens.eu> - 0.10.5-1.git3fce8ac
5798605
- Update to 0.10.5.post-2
5798605
5798605
* Wed Aug 5 2015 Julien Enselme <jujens@jujens.eu> - 0.10.4-3.git29f8acc
5798605
- Build python2 and python3 in the same dir
5798605
- Update dependencies
5798605
- Put python2 package in a subpackage
5798605
- Add provides
5798605
- Correct %%files section
5798605
5798605
* Fri Jul 24 2015 Julien Enselme <jujens@jujens.eu> - 0.10.4-2.git29f8acc
5798605
- Surround doc package with if
5798605
- Remove %%py3dir macro
5798605
- Add CFLAGS in %%build
5798605
5798605
* Sat Jul 18 2015 Julien Enselme <jujens@jujens.eu> - 0.10.4-1.git29f8acc
5798605
- Initial packaging