a6825d3
%global modname iowait
a6825d3
a6825d3
Name:           python-%{modname}
a6825d3
Version:        0.2
3a552da
Release:        18%{?dist}
a6825d3
Summary:        Platform-independent module for I/O completion events
a6825d3
a6825d3
License:        LGPLv3+
a6825d3
URL:            https://pypi.python.org/pypi/iowait
a6825d3
Source0:        https://files.pythonhosted.org/packages/source/%(n=%{modname}; echo ${n:0:1})/%{modname}/%{modname}-%{version}.tar.gz
a6825d3
a6825d3
BuildArch:      noarch
a6825d3
a6825d3
%global _description \
a6825d3
Different operating systems provide different ways to wait for I/O completion\
a6825d3
events: there’s select(), poll(), epoll() and kqueue(). For cross-platform\
a6825d3
applications it can be a pain to support all this system functions, especially\
a6825d3
because each one provides a different interface.\
a6825d3
\
a6825d3
IOWait solves this problem by providing a unified interface and using always\
a6825d3
the best and faster function available in the platform. Its only limitation\
a6825d3
is that, on Windows, it only works for sockets.
a6825d3
a6825d3
%description %{_description}
a6825d3
a6825d3
%package -n python3-%{modname}
a6825d3
Summary:        %{summary}
a6825d3
%{?python_provide:%python_provide python3-%{modname}}
a6825d3
BuildRequires:  python3-devel
a6825d3
a6825d3
%description -n python3-%{modname} %{_description}
a6825d3
a6825d3
Python 3 version.
a6825d3
a6825d3
%prep
a6825d3
%autosetup -n %{modname}-%{version}
a6825d3
a6825d3
%build
a6825d3
%py3_build
a6825d3
a6825d3
%install
a6825d3
%py3_install
a6825d3
a6825d3
%check
a6825d3
%{__python3} test.py -v
a6825d3
a6825d3
%files -n python3-%{modname}
a6825d3
%license COPYING.LESSER
a6825d3
%{python3_sitelib}/%{modname}-*.egg-info
a6825d3
%{python3_sitelib}/%{modname}.py
a6825d3
%{python3_sitelib}/__pycache__/%{modname}.*
a6825d3
a6825d3
%changelog
3a552da
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-18
3a552da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3a552da
ebe700a
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2-17
ebe700a
- Rebuilt for Python 3.10
ebe700a
0011f88
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-16
0011f88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0011f88
489ac09
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-15
489ac09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
489ac09
6638eab
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2-14
6638eab
- Rebuilt for Python 3.9
6638eab
7cde99a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-13
7cde99a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7cde99a
ed2d0f9
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2-12
ed2d0f9
- Rebuilt for Python 3.8.0rc1 (#1748018)
ed2d0f9
5cc1508
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2-11
5cc1508
- Rebuilt for Python 3.8
5cc1508
82ea6a5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-10
82ea6a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
82ea6a5
f849d99
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-9
f849d99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f849d99
713b065
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2-8
713b065
- Subpackage python2-iowait has been removed
713b065
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
713b065
ce03f88
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-7
ce03f88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ce03f88
0fd97e9
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2-6
0fd97e9
- Rebuilt for Python 3.7
0fd97e9
8d44ce7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-5
8d44ce7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8d44ce7
bf1e828
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-4
bf1e828
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bf1e828
104eb7e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
104eb7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
104eb7e
5354a2d
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.2-2
5354a2d
- Rebuild for Python 3.6
5354a2d
a6825d3
* Wed Aug 31 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.2-1
a6825d3
- Initial package