Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
806ff3f5b8 | ||
|
|
0cb480e776 | ||
|
|
5fab142cd3 |
||
|
|
b86848b6a9 | ||
|
|
e850e30577 | ||
|
|
8c9b727f6e | ||
|
|
aa3449044a | ||
|
|
ff93dd117b | ||
|
|
5ef91be7f9 | ||
|
|
9406ea933f |
||
|
|
8b97ddcce0 | ||
|
|
b76b618df2 |
3 changed files with 90 additions and 48 deletions
37
58a4b15852980a231a08e5a0d45e71f7fa47aa02.patch
Normal file
37
58a4b15852980a231a08e5a0d45e71f7fa47aa02.patch
Normal 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
38
changelog
Normal 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
|
||||||
|
|
@ -1,28 +1,21 @@
|
||||||
%global pypi_name gevent-eventemitter
|
%global pypi_name gevent-eventemitter
|
||||||
%global modname eventemitter
|
|
||||||
%global eggname gevent_%{modname}
|
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 2.1
|
Version: 2.1
|
||||||
Release: 10%{?dist}
|
Release: %autorelease
|
||||||
Summary: EventEmitter using gevent
|
Summary: EventEmitter using gevent
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# https://github.com/rossengeorgiev/gevent-eventemitter/pull/3
|
# https://github.com/rossengeorgiev/gevent-eventemitter/pull/3
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
URL: https://github.com/rossengeorgiev/gevent-eventemitter
|
URL: https://github.com/rossengeorgiev/gevent-eventemitter
|
||||||
|
|
||||||
# Tests works only woth GitHub sources
|
# 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: python3-devel
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: python3dist(pytest)
|
||||||
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
|
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
This module implements EventEmitter with gevent.}
|
This module implements EventEmitter with gevent.}
|
||||||
|
|
@ -39,54 +32,28 @@ Summary: %{summary}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version} -p1
|
%autosetup -n %{pypi_name}-%{version} -p1
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_wheel
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files -l eventemitter
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python3} -m pytest -v
|
%pyproject_check_import
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||||
%dnl %license LICENSE
|
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/%{eggname}-%{version}-*.egg-info
|
%license LICENSE
|
||||||
%{python3_sitelib}/%{modname}/
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-10
|
%autochangelog
|
||||||
- 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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue