diff --git a/python-autobahn.spec b/python-autobahn.spec index 5a53c2e..dd9be9d 100644 --- a/python-autobahn.spec +++ b/python-autobahn.spec @@ -8,7 +8,7 @@ Name: python-%{pypi_name} Version: 19.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python networking library for WebSocket and WAMP License: MIT @@ -18,25 +18,15 @@ URL: https://pypi.python.org/pypi/%{pypi_name} Source0: https://github.com/%{project_owner}/%{github_name}/archive/v%{version}/%{github_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-pep8 -BuildRequires: python2-flake8 -BuildRequires: python2-mock >= 1.3.0 -BuildRequires: python2-pytest >= 2.6.4 -BuildRequires: python2-six >= 1.11.0 -BuildRequires: python2-txaio >= 2.10.0 -BuildRequires: python2-trollius >= 2.0 -BuildRequires: python2-futures >= 3.0.4 -BuildRequires: python2-cffi %if 0%{with_doc} -BuildRequires: python2-scour # No python 3, https://github.com/oberstet/scour/issues/4 -BuildRequires: python2-scons -BuildRequires: python-taschenmesser # No python 3, https://github.com/oberstet/taschenmesser/issues/3 -BuildRequires: python2-sphinx -BuildRequires: python-sphinx-theme-bootstrap # Not packaged yet -BuildRequires: python2-sphinxcontrib-spelling # Not packaged yet -BuildRequires: python2-repoze-sphinx-autointerface -BuildRequires: python-pyenchant +BuildRequires: python3-scour # No python 3, https://github.com/oberstet/scour/issues/4 +BuildRequires: python3-scons +BuildRequires: python3-taschenmesser # No python 3, https://github.com/oberstet/taschenmesser/issues/3 +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx-theme-bootstrap # Not packaged yet +BuildRequires: python3-sphinxcontrib-spelling # Not packaged yet +BuildRequires: python3-repoze-sphinx-autointerface +BuildRequires: python3-pyenchant %endif # End with_doc %description @@ -47,30 +37,6 @@ implementations of for Twisted and asyncio on Python 2 & 3 and for writing servers and clients. -%package -n python2-%{pypi_name} -Requires: python2-twisted >= 15.5 -Requires: python2-zope-interface >= 4.1.3 -Requires: python2-trollius >= 2.0 -Requires: python2-futures >= 3.0.4 -Requires: python2-ujson >= 1.33 -Requires: python2-wsaccel >= 0.6.2 -Requires: python2-snappy >= 0.5 -Requires: python2-lz4 >= 0.7.0 -Requires: python2-msgpack >= 0.4.6 -Requires: python2-six >= 1.11.0 -Requires: python2-txaio >= 2.10.0 -Requires: python2-cffi -Summary: Python networking library for WebSocket and WAMP -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -Autobahn a networking library that is part of the Autobahn project and provides -implementations of -* The WebSocket Protocol http://tools.ietf.org/html/rfc6455_ -* The Web Application Messaging Protocol (WAMP) http://wamp.ws -for Twisted and asyncio on Python 2 & 3 and for writing servers and clients. - - %package -n python3-%{pypi_name} Summary: Python networking library for WebSocket and WAMP BuildArch: noarch @@ -125,7 +91,6 @@ rm -rf %{pypi_name}.egg-info %build -%py2_build %py3_build %if 0%{with_doc} @@ -135,26 +100,13 @@ cd doc && make build_no_network %install -%py2_install %py3_install %check # Ignore tests that rely on optionnal and not packaged deps. USE_ASYNCIO=1 PYTHONPATH=$(pwd) py.test-%{python3_version} --pyargs autobahn -k 'not test_unknown_arg and not test_no_memory_arg and not test_basic and not test_argon2id_static and not test_websocket_custom_loop' -# Skip Python 3 only tests -rm -f autobahn/asyncio/test/test_asyncio_websocket.py -USE_ASYNCIO=1 PYTHONPATH=$(pwd) py.test-%{python2_version} --pyargs autobahn -k 'not test_unknown_arg and not test_no_memory_arg and not test_basic and not test_argon2id_static and not test_websocket_custom_loop' - -%files -n python2-%{pypi_name} -%license LICENSE -%doc README.rst DEVELOPERS.md -%{python2_sitelib}/%{pypi_name}-%{version}*-py%{python2_version}.egg-info/ -%{python2_sitelib}/%{pypi_name}/ -%dir %{python2_sitelib}/twisted -%dir %{python2_sitelib}/twisted/plugins -%{python2_sitelib}/twisted/plugins/autobahn*.py* %files -n python3-%{pypi_name} %license LICENSE @@ -175,6 +127,10 @@ USE_ASYNCIO=1 PYTHONPATH=$(pwd) py.test-%{python2_version} --pyargs autobahn -k %changelog +* Sun Mar 17 2019 Miro HronĨok - 19.1.1-2 +- Subpackage python2-autobahn has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Feb 02 2019 Fedora Release Engineering - 18.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild