Blame python-gevent-eventemitter.spec

665d557
%global pypi_name gevent-eventemitter
665d557
%global modname eventemitter
665d557
%global eggname gevent_%{modname}
665d557
665d557
Name:       python-%{pypi_name}
665d557
Version:    2.1
9406ea9
Release:    13%{?dist}
665d557
Summary:    EventEmitter using gevent
665d557
BuildArch:  noarch
665d557
665d557
# https://github.com/rossengeorgiev/gevent-eventemitter/pull/3
665d557
License:    MIT
665d557
665d557
URL:        https://github.com/rossengeorgiev/gevent-eventemitter
665d557
665d557
# Tests works only woth GitHub sources
665d557
Source0:    %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
665d557
665d557
BuildRequires: python3-devel
45981a6
BuildRequires: python3dist(setuptools)
665d557
BuildRequires: python3dist(coverage) >= 4.0.3
665d557
BuildRequires: python3dist(gevent) >= 1.3
665d557
BuildRequires: python3dist(pytest-cov) >= 2.5.1
665d557
BuildRequires: python3dist(pytest) >= 3.2.1
665d557
665d557
%global _description %{expand:
665d557
This module implements EventEmitter with gevent.}
665d557
665d557
%description %{_description}
665d557
665d557
665d557
%package -n python3-%{pypi_name}
665d557
Summary:    %{summary}
665d557
%{?python_provide:%python_provide python3-%{pypi_name}}
665d557
665d557
%description -n python3-%{pypi_name} %{_description}
665d557
665d557
665d557
%prep
665d557
%autosetup -n %{pypi_name}-%{version} -p1
665d557
665d557
665d557
%build
665d557
%py3_build
665d557
665d557
665d557
%install
665d557
%py3_install
665d557
665d557
665d557
%check
665d557
%{python3} -m pytest -v
665d557
665d557
665d557
%files -n python3-%{pypi_name}
665d557
%dnl %license LICENSE
665d557
%doc README.rst
665d557
%{python3_sitelib}/%{eggname}-%{version}-*.egg-info
665d557
%{python3_sitelib}/%{modname}/
665d557
665d557
665d557
%changelog
9406ea9
* Sat Jan 27 2024 Maxwell G <maxwell@gtmx.me> - 2.1-13
9406ea9
- Remove unused python3-mock test dependency
9406ea9
8b97ddc
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-12
8b97ddc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
8b97ddc
b76b618
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-11
b76b618
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
b76b618
17a5318
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-10
17a5318
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
17a5318
f216ee2
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.1-9
f216ee2
- Rebuilt for Python 3.12
f216ee2
d86b60c
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-8
d86b60c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d86b60c
318b5ec
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-7
318b5ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
318b5ec
75acc39
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.1-6
75acc39
- Rebuilt for Python 3.11
75acc39
5d0f62e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
5d0f62e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5d0f62e
31624d4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-4
31624d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
31624d4
1e10cbd
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1-3
1e10cbd
- Rebuilt for Python 3.10
1e10cbd
665d557
* Mon Jan 25 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 2.1-2
665d557
- build: Polish to conform Fedora guidelines
665d557
665d557
* Wed Sep 16 2020 gasinvein <gasinvein@gmail.com> - 2.1-0.1
665d557
- Initial package