Compare commits

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

8 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
2 changed files with 50 additions and 17 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.

View file

@ -1,6 +1,4 @@
%global pypi_name gevent-eventemitter
%global modname eventemitter
%global eggname gevent_%{modname}
Name: python-%{pypi_name}
Version: 2.1
@ -10,18 +8,14 @@ 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(pytest-cov) >= 2.5.1
BuildRequires: python3dist(pytest) >= 3.2.1
BuildRequires: python3dist(pytest)
%global _description %{expand:
This module implements EventEmitter with gevent.}
@ -38,25 +32,27 @@ 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