Blame python-ws4py.spec

15be98f
%global srcname ws4py
15be98f
%global _description %{expand:
15be98f
WebSocket client and server library.}
15be98f
15be98f
Name:           python-ws4py
15be98f
Version:        0.5.1
1a1e4aa
Release:        4%{?dist}
15be98f
Summary:        WebSocket client and server library
15be98f
15be98f
# Bundled utf8validator is ASL 2.0 
15be98f
License:        BSD and ASL 2.0
15be98f
URL:            https://ws4py.readthedocs.org/en/latest/
15be98f
Source0:        %pypi_source
15be98f
Patch01:        0001-Python-3.7-and-3.8-compat.patch
15be98f
15be98f
BuildArch:      noarch
15be98f
15be98f
%description %_description
15be98f
15be98f
%package -n python3-%{srcname}
15be98f
Summary:        %{summary}
15be98f
BuildRequires:  python3-devel
15be98f
BuildRequires:  python3-setuptools
15be98f
BuildRequires:  python3-cherrypy
15be98f
BuildRequires:  python3-tornado
15be98f
BuildRequires:  python3-gevent
15be98f
BuildRequires:  python3-mock
15be98f
BuildRequires:  python3-pytest
15be98f
Requires:       python3-cherrypy
15be98f
Requires:       python3-tornado
15be98f
Requires:       python3-gevent
15be98f
%{?python_provide:%python_provide python3-%{srcname}}
15be98f
Provides:       bundled(utf8validator)
15be98f
15be98f
%description -n python3-%{srcname} %_description
15be98f
15be98f
%prep
15be98f
%autosetup -p1 -n %{srcname}-%{version}
15be98f
15be98f
%build
15be98f
%py3_build
15be98f
15be98f
%install
15be98f
%py3_install
15be98f
15be98f
%files -n python3-%{srcname}
15be98f
%license LICENSE
15be98f
%doc README.md
15be98f
%{python3_sitelib}/%{srcname}-*.egg-info/
15be98f
%{python3_sitelib}/%{srcname}/
15be98f
15be98f
%check
15be98f
%{python3} -m pytest
15be98f
15be98f
%changelog
1a1e4aa
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
1a1e4aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1a1e4aa
61fbd95
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.5.1-3
61fbd95
- Rebuilt for Python 3.9
61fbd95
15be98f
* Thu Mar 12 2020 Fabien Boucher <fboucher@redhat.com> - 0.5.1-2
15be98f
- Adapt packaging for Rawhide from Software Factory packaging.
15be98f
15be98f
* Mon Jun 04 2018 Tristan Cacqueray <tdecacqu@redhat.com> - 0.5.1-1
15be98f
- Initial packaging