14
0
forked from pool/python-pyee

- Update to 11.1.0:

* Support Python 3.12
  * Require Python >= 3.8
  * Update classifiers in `pyproject.toml`
  * Remove package.json/package-lock.json
  * Switch from `setup.py` to `pyproject.toml` (still using setuptools)
  * Minor type annotation bugfixes
  * Store AsyncIO Futures in a set
  * `EventEmitter` supports pickling
  * Dependency on mock removed in favor of unittest.mock
  * Drop 3.7 support
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=23
This commit is contained in:
2024-02-20 04:07:16 +00:00
committed by Git OBS Bridge
parent b32ef4101b
commit b1981f1a62
4 changed files with 30 additions and 16 deletions

3
pyee-11.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b53af98f6990c810edd9b56b87791021a8f54fd13db4edd1142438d44ba2263f
size 29806

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2770c4928abc721f46b705e6a72b0c59480c4a69c9a83ca0b00bb994f1ea4b32
size 20232

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Feb 20 04:06:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 11.1.0:
* Support Python 3.12
* Require Python >= 3.8
* Update classifiers in `pyproject.toml`
* Remove package.json/package-lock.json
* Switch from `setup.py` to `pyproject.toml` (still using setuptools)
* Minor type annotation bugfixes
* Store AsyncIO Futures in a set
* `EventEmitter` supports pickling
* Dependency on mock removed in favor of unittest.mock
* Drop 3.7 support
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Oct 5 00:02:22 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyee
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,26 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyee
Version: 9.0.4
Version: 11.1.0
Release: 0
Summary: A port of node.js's EventEmitter to python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jfhbrook/pyee
Source: https://files.pythonhosted.org/packages/source/p/pyee/pyee-%{version}.tar.gz
BuildRequires: %{python_module PyHamcrest}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module vcversioner}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-typing_extensions
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-trio if %python-base >= 3.7}
BuildRequires: %{python_module trio if %python-base >= 3.7}
BuildRequires: %{python_module pytest-trio}
# /SECTION
%python_subpackages
@@ -46,22 +45,21 @@ from Node.js.
%prep
%setup -q -n pyee-%{version}
sed -i 's/^from mock import/from unittest.mock import/' tests/test_*.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%{python_sitelib}/pyee
%{python_sitelib}/pyee-%{version}*-info
%{python_sitelib}/pyee-%{version}.dist-info
%changelog