Compare commits

...
Sign in to create a new pull request.

18 commits

Author SHA1 Message Date
Fedora Release Engineering
806ff3f5b8 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 19:34:32 +00:00
Python Maint
0cb480e776 Rebuilt for Python 3.15 2026-06-04 09:30:35 +02:00
Artem Polishchuk
5fab142cd3
Port on new Python packaging paradigm
- Add License file

Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2026-01-21 18:07:33 +03:00
Fedora Release Engineering
b86848b6a9 Unretire package: python-gevent-eventemitter on rawhide
Reverts retirement commit e850e30577
Releng issue: https://pagure.io/releng/issue/https://forge.fedoraproject.org/releng/tickets/issues/13175
2026-01-21 05:03:13 +00:00
Maxwell G
e850e30577 Orphaned for 6+ weeks 2025-04-09 18:33:06 -05:00
Fedora Release Engineering
8c9b727f6e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 14:39:55 +00:00
Fedora Release Engineering
aa3449044a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 11:54:05 +00:00
Python Maint
ff93dd117b Rebuilt for Python 3.13 2024-06-08 10:31:40 +02:00
Artem Polishchuk
5ef91be7f9 Convert to %autorelease and %autochangelog
[skip changelog]
2024-01-27 21:05:55 +02:00
Maxwell G
9406ea933f
Remove unused python3-mock test dependency 2024-01-27 05:11:00 +00:00
Fedora Release Engineering
8b97ddcce0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 04:45:24 +00:00
Fedora Release Engineering
b76b618df2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 01:42:57 +00:00
Fedora Release Engineering
17a5318af1 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 09:59:17 +00:00
Python Maint
f216ee2853 Rebuilt for Python 3.12 2023-06-16 10:56:52 +02:00
Fedora Release Engineering
d86b60ca10 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 13:27:33 +00:00
Fedora Release Engineering
318b5ecc9c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 18:44:48 +00:00
Python Maint
75acc3925e Rebuilt for Python 3.11 2022-06-14 11:46:16 +02:00
Fedora Release Engineering
5d0f62e487 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 12:22:25 +00:00
3 changed files with 90 additions and 30 deletions

View file

@ -0,0 +1,37 @@
From 58a4b15852980a231a08e5a0d45e71f7fa47aa02 Mon Sep 17 00:00:00 2001
From: Artem Polishchuk <tim77@users.noreply.github.com>
Date: Mon, 25 Jan 2021 23:36:00 +0200
Subject: [PATCH] fix: Add LICENSE file
---
LICENSE | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..1dd5daf
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 gevent-eventemitter developers
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

38
changelog Normal file
View file

@ -0,0 +1,38 @@
* Sat Jan 27 2024 Maxwell G <maxwell@gtmx.me> - 2.1-13
- Remove unused python3-mock test dependency
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.1-9
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.1-6
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1-3
- Rebuilt for Python 3.10
* Mon Jan 25 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 2.1-2
- build: Polish to conform Fedora guidelines
* Wed Sep 16 2020 gasinvein <gasinvein@gmail.com> - 2.1-0.1
- Initial package

View file

@ -1,28 +1,21 @@
%global pypi_name gevent-eventemitter
%global modname eventemitter
%global eggname gevent_%{modname}
Name: python-%{pypi_name}
Version: 2.1
Release: 4%{?dist}
Release: %autorelease
Summary: EventEmitter using gevent
BuildArch: noarch
# https://github.com/rossengeorgiev/gevent-eventemitter/pull/3
License: MIT
URL: https://github.com/rossengeorgiev/gevent-eventemitter
# Tests works only woth GitHub sources
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
Source: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
# Add LICENSE file
Patch: %{url}/pull/3/commits/58a4b15852980a231a08e5a0d45e71f7fa47aa02.patch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(coverage) >= 4.0.3
BuildRequires: python3dist(gevent) >= 1.3
BuildRequires: python3dist(mock)
BuildRequires: python3dist(pytest-cov) >= 2.5.1
BuildRequires: python3dist(pytest) >= 3.2.1
BuildRequires: python3dist(pytest)
%global _description %{expand:
This module implements EventEmitter with gevent.}
@ -39,36 +32,28 @@ Summary: %{summary}
%prep
%autosetup -n %{pypi_name}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files -l eventemitter
%check
%{python3} -m pytest -v
%pyproject_check_import
%pytest
%files -n python3-%{pypi_name}
%dnl %license LICENSE
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%{python3_sitelib}/%{eggname}-%{version}-*.egg-info
%{python3_sitelib}/%{modname}/
%license LICENSE
%changelog
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1-3
- Rebuilt for Python 3.10
* Mon Jan 25 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 2.1-2
- build: Polish to conform Fedora guidelines
* Wed Sep 16 2020 gasinvein <gasinvein@gmail.com> - 2.1-0.1
- Initial package
%autochangelog