Blame SPECS/python-autobahn.spec

07518e
%global pypi_name autobahn
07518e
07518e
Name:           python-%{pypi_name}
07518e
Version:        21.2.2
07518e
Release:        2%{?dist}
07518e
Summary:        Python networking library for WebSocket and WAMP
07518e
07518e
License:        MIT
07518e
URL:            https://autobahn.readthedocs.io/en/latest/
07518e
Source0:        https://github.com/crossbario/autobahn-python/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
07518e
BuildArch:      noarch
07518e
07518e
%description
07518e
Autobahn a networking library that is part of the Autobahn project and provides
07518e
implementations of
07518e
* The WebSocket Protocol http://tools.ietf.org/html/rfc6455_
07518e
* The Web Application Messaging Protocol (WAMP) http://wamp.ws
07518e
for Twisted and for writing servers and clients.
07518e
07518e
%package -n     python3-%{pypi_name}
07518e
Summary:        %{summary}
07518e
07518e
BuildRequires:  python3-devel
07518e
BuildRequires:  %py3_dist setuptools
07518e
BuildRequires:  %py3_dist cffi
07518e
BuildRequires:  %py3_dist mock
07518e
BuildRequires:  %py3_dist pytest
07518e
BuildRequires:  %py3_dist pytest-asyncio
07518e
BuildRequires:  %py3_dist six
07518e
BuildRequires:  %py3_dist txaio
07518e
BuildRequires:  %py3_dist pynacl
07518e
BuildRequires:  %py3_dist cbor2
07518e
BuildRequires:  %py3_dist cryptography
07518e
BuildRequires:  %py3_dist hyperlink
07518e
%{?python_provide:%python_provide python3-%{pypi_name}}
07518e
07518e
%description -n python3-%{pypi_name}
07518e
Autobahn a networking library that is part of the Autobahn project and provides
07518e
implementations of
07518e
* The WebSocket Protocol http://tools.ietf.org/html/rfc6455_
07518e
* The Web Application Messaging Protocol (WAMP) http://wamp.ws
07518e
for Twisted and for writing servers and clients.
07518e
07518e
%package -n python-%{pypi_name}-doc
07518e
Summary:        Documentation for %{name}
07518e
07518e
BuildRequires:  %py3_dist sphinx
07518e
BuildRequires:  %py3_dist sphinx-rtd-theme
07518e
#BuildRequires:  %py3_dist sphinxcontrib.images
07518e
%description -n python-%{pypi_name}-doc
07518e
Documentation for %{name}.
07518e
07518e
%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/%{pypi_name}-%{version}*-py%{python3_version}.egg-info twisted}
07518e
07518e
%prep
07518e
%autosetup -n %{pypi_name}-python-%{version}
07518e
rm -rf %{pypi_name}.egg-info
07518e
# There is a requirement for pytest 6.2+ in pytest.ini and we don't have that yet
07518e
# it works with 6.0 just fine and the config file is not needed
07518e
rm pytest.ini
07518e
# Some packages are always outdated...
07518e
sed -i -e "s/cryptography>=3.4.6/cryptography>=3.4.2/g" setup.py
07518e
07518e
%build
07518e
%py3_build
07518e
#PYTHONPATH=${PWD} sphinx-build-3 docs html
07518e
#rm -rf html/.{doctrees,buildinfo}
07518e
07518e
%install
07518e
%py3_install
07518e
07518e
%check
07518e
# Ignore tests that rely on optional and not packaged deps.
07518e
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'
07518e
07518e
%files -n python3-%{pypi_name}
07518e
%license LICENSE
07518e
%doc README.rst DEVELOPERS.md
07518e
%{_bindir}/wamp
07518e
%{_bindir}/xbrnetwork
07518e
%{python3_sitelib}/%{pypi_name}-%{version}*-py%{python3_version}.egg-info/
07518e
%{python3_sitelib}/%{pypi_name}/
07518e
%dir %{python3_sitelib}/twisted
07518e
%dir %{python3_sitelib}/twisted/plugins
07518e
%dir %{python3_sitelib}/twisted/plugins/__pycache__
07518e
%{python3_sitelib}/twisted/plugins/autobahn*.py
07518e
%{python3_sitelib}/twisted/plugins/__pycache__/autobahn*.py*
07518e
07518e
%files -n python-%{pypi_name}-doc
07518e
%doc docs/
07518e
%license LICENSE
07518e
07518e
%changelog
07518e
* Mon Mar 01 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.2-2
07518e
- Allow other cryptography releases (package is always outdated)
07518e
07518e
* Fri Feb 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.2-1
07518e
- Fix CVE-2020-35678 (#1911315)
07518e
- Update to new upstream release 21.2.2 (#1925733)
07518e
07518e
* Fri Feb 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.2-1
07518e
- Update to new upstream release 21.2.2 (#1925733)
07518e
07518e
* Sun Feb 14 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.2.1-1
07518e
- Update to new upstream release 21.2.1 (#1925733)
07518e
07518e
* Sun Feb 07 2021 Fabian Affolter <mail@fabian-affolter.ch> - 21.1.1-1
07518e
- Update to new upstream release 21.1.1 (#1925733)
07518e
07518e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.12.3-2
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
07518e
07518e
* Thu Dec 24 2020 Fabian Affolter <mail@fabian-affolter.ch> - 20.12.3-1
07518e
- Update to new upstream release 20.12.3 (#1909439)
07518e
07518e
* Wed Dec 16 2020 Fabian Affolter <mail@fabian-affolter.ch> - 20.12.2-1
07518e
- Simplify and update spec file
07518e
- Update to new upstream release 20.12.2 (#1907237)
07518e
07518e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.7.1-2
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
07518e
07518e
* Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 20.7.1-1
07518e
- Update to 20.7.1
07518e
07518e
* Fri Jul 10 2020 Miro HronĨok <mhroncok@redhat.com> - 19.10.1-4
07518e
- Add autobahn[twisted] subpackage
07518e
07518e
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 19.10.1-3
07518e
- Rebuilt for Python 3.9
07518e
07518e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.10.1-2
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
07518e
07518e
* Thu Oct 10 2019 Orion Poplawski <orion@nwra.com> - 19.10.1-1
07518e
- Update to 19.10.1
07518e
- Drop BR on pep8
07518e
07518e
* Thu Oct 03 2019 Miro HronĨok <mhroncok@redhat.com> - 19.8.1-2
07518e
- Rebuilt for Python 3.8.0rc1 (#1748018)
07518e
07518e
* Tue Aug 20 2019 Yatin Karel <ykarel@redhat.com> - 19.8.1-1
07518e
- Update to 19.8.1
07518e
07518e
* Mon Aug 19 2019 Miro HronĨok <mhroncok@redhat.com> - 19.7.2-3
07518e
- Rebuilt for Python 3.8
07518e
07518e
* Thu Aug 01 2019 Julien Enselme <jujens@jujens.eu> - 19.7.2-2
07518e
- Lower requirement on python-cryptography.
07518e
07518e
* Tue Jul 30 2019 Julien Enselme <jujens@jujens.eu> - 19.7.2-1
07518e
- Update to 19.7.2
07518e
- Skip test about random generator which can make build hang.
07518e
07518e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.7.1-2
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
07518e
07518e
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 19.7.1-1
07518e
- Update to 19.7.1
07518e
07518e
* Sat Mar 23 2019 Julien Enselme <jujens@jujens.eu> - 19.3.2-1
07518e
- Update to 19.3.2
07518e
07518e
* Sun Mar 17 2019 Miro HronĨok <mhroncok@redhat.com> - 19.1.1-2
07518e
- Subpackage python2-autobahn has been removed
07518e
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
07518e
07518e
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.7.1-2
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
07518e
07518e
* Wed Aug 01 2018 Julien Enselme <jujens@jujens.eu> - 18.7.1-1
07518e
- Update to 18.7.1
07518e
07518e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18.6.1-3
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
07518e
07518e
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 18.6.1-2
07518e
- Rebuilt for Python 3.7
07518e
07518e
* Sat Jun 16 2018 Julien Enselme <jujens@jujens.eu> - 18.6.1-1
07518e
- Update to 18.6.1
07518e
07518e
* Sat May 12 2018 Julien Enselme <jujens@jujens.eu> - 18.5.1-1
07518e
- Update to 18.5.1
07518e
07518e
* Sun Apr 15 2018 Julien Enselme <jujens@jujens.eu> - 18.4.1-2
07518e
- Correct requires
07518e
07518e
* Sun Apr 15 2018 Julien Enselme <jujens@jujens.eu> - 18.4.1-1
07518e
- Update to 18.4.1
07518e
07518e
* Tue Mar 06 2018 Julien Enselme <jujens@jujens.eu> - 18.3.1-1
07518e
- Update to 18.3.1
07518e
07518e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.10.1-3
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
07518e
07518e
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 17.10.1-2
07518e
- Update Python 2 dependency declarations to new packaging standards
07518e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
07518e
07518e
* Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 17.10.1-1
07518e
- Update to 17.10.1
07518e
- Use %%version to get the sources
07518e
07518e
* Tue Sep 26 2017 Julien Enselme <jujens@jujens.eu> - 17.9.3-1.gitd398c4d
07518e
- Update to 17.9.3
07518e
07518e
* Thu Sep 14 2017 Julien Enselme <jujens@jujens.eu> - 17.9.2-1.git164106a
07518e
- Update to 17.9.2
07518e
07518e
* Wed Sep 06 2017 Julien Enselme <jujens@jujens.eu> - 17.9.1-1.gitb813019
07518e
- Update to 17.9.1
07518e
07518e
* Sat Aug 19 2017 Julien Enselme <jujens@jujens.eu> - 17.8.1-1.git96543dd
07518e
- Update to 17.8.1
07518e
07518e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.7.1-2.git9ad7878
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
07518e
07518e
* Sun Jul 23 2017 Julien Enselme <jujens@jujens.eu> - 17.7.1-1.git9ad7878
07518e
- Update to 17.7.1
07518e
07518e
* Sat Jul 01 2017 Julien Enselme <jujens@jujens.eu> - 17.6.2-1.gitbc2a1b3
07518e
- Update to 17.6.2
07518e
07518e
* Sat Jun 10 2017 Julien Enselme <jujens@jujens.eu> - 17.6.1-1.gite69b314
07518e
- Update to 17.6.1
07518e
07518e
* Sun May 07 2017 Julien Enselme <jujens@jujens.eu> - 17.5.1-1.git73bcac2
07518e
- Update to 17.5.1
07518e
07518e
* Tue Apr 18 2017 Julien Enselme <jujens@jujens.eu> - 0.18.2-1.git731228a
07518e
- Update to 0.18.2
07518e
07518e
* Wed Apr 05 2017 Julien Enselme <jujens@jujens.eu> - 0.18.1-1.gitfd7ec41
07518e
- Update to 0.18.1
07518e
07518e
* Tue Feb 28 2017 Julien Enselme <jujens@jujens.eu> - 0.17.2-1.git0eef8c7
07518e
- Update to 0.17.2
07518e
07518e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2.git81d9276
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
07518e
07518e
*  Mon Dec 26 2016 Julien Enselme <jujens@jujens.eu> - 0.17.0-1.git81d9276
07518e
- Update to 0.17.0
07518e
07518e
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.16.0-3.gitade9eb5
07518e
- Rebuild for Python 3.6
07518e
07518e
* Sat Oct 01 2016 Julien Enselme <jujens@jujens.eu> - 0.16.0-2.gitade9eb5
07518e
- Fix tests for pytest3
07518e
07518e
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 0.16.0-1.gitade9eb5
07518e
- Update to 0.16.0
07518e
07518e
* Mon Jul 25 2016 Julien Enselme <jujens@jujens.eu> - 0.15.0-1.git43b57f8
07518e
- Update to 0.15.0
07518e
07518e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2.git81f693d
07518e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
07518e
07518e
* Mon May 16 2016 Julien Enselme <jujens@jujens.eu> - 0.14.0-1.git81f693d
07518e
- Update to 0.14.0
07518e
07518e
* Sat Feb 27 2016 Julien Enselme <jujens@jujens.eu> - 0.12.1-1.git22b1183
07518e
- Update to 0.12.1
07518e
07518e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.7-3.gita69e704
07518e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
07518e
07518e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.7-2.gita69e704
07518e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
07518e
07518e
* Sun Sep 6 2015 Julien Enselme <jujens@jujens.eu> - 0.10.7-1.gita69e7048
07518e
- Update to 0.10.7
07518e
07518e
* Sun Sep 6 2015 Julien Enselme <jujens@jujens.eu> - 0.10.6-1.gitb35d99f1
07518e
- Update to 0.10.6
07518e
07518e
* Sat Aug 15 2015 Julien Enselme <jujens@jujens.eu> - 0.10.5-1.git3fce8ac
07518e
- Update to 0.10.5.post-2
07518e
07518e
* Wed Aug 5 2015 Julien Enselme <jujens@jujens.eu> - 0.10.4-3.git29f8acc
07518e
- Build python2 and python3 in the same dir
07518e
- Update dependencies
07518e
- Put python2 package in a subpackage
07518e
- Add provides
07518e
- Correct %%files section
07518e
07518e
* Fri Jul 24 2015 Julien Enselme <jujens@jujens.eu> - 0.10.4-2.git29f8acc
07518e
- Surround doc package with if
07518e
- Remove %%py3dir macro
07518e
- Add CFLAGS in %%build
07518e
07518e
* Sat Jul 18 2015 Julien Enselme <jujens@jujens.eu> - 0.10.4-1.git29f8acc
07518e
- Initial packaging