15
0

- update to 1.8.2:

* Simplify type for _async_wrapper and _sync_wrapper arguments.
    :pr:`156`
  * Restore identity handling for str and int senders. :pr:`148`
  * Fix deprecated blinker.base.WeakNamespace import. :pr:`149`
  * Fix deprecated blinker.base.receiver_connected import.
    :pr:`153`
  * Use types from collections.abc instead of typing. :pr:`150`
  * Fully specify exported types as reported by pyright.
    :pr:`152`
  * Deprecate the __version__ attribute. Use feature detection,
    or importlib.metadata.version("blinker"), instead.
    :issue:`128`
  * Specify that the deprecated temporarily_connected_to will be
    removed in the next version.
  * Show a deprecation warning for the deprecated global
    receiver_connected signal and specify that it will be removed
    in the next version.
  * Show a deprecation warning for the deprecated WeakNamespace
    and specify that it will be removed in the next version.
  * Greatly simplify how the library uses weakrefs. This is a
    significant change internally but should not affect any
    public API. :pr:`144`
  * Expose the namespace used by signal() as default_namespace.
    :pr:`145`
- add remove-sphinxextensions.patch to remove an optional
  sphinxextension
- use setup.py option to record file list for rpm package
- Fixed doc section in file list
- spec improved (files section)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=41
This commit is contained in:
2024-10-22 13:31:35 +00:00
committed by Git OBS Bridge
parent 1e82a7ea6b
commit 208f1edece
5 changed files with 59 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-blinker
#
# Copyright (c) 2023 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
@@ -18,15 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-blinker
Version: 1.7.0
Version: 1.8.2
Release: 0
Summary: Object-to-object and broadcast signaling in Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pallets-eco/blinker/
Source: https://files.pythonhosted.org/packages/source/b/blinker/blinker-%{version}.tar.gz
BuildRequires: %{python_module Pallets-Sphinx-Themes}
BuildRequires: %{python_module Sphinx}
Patch1: remove-sphinxextensions.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
@@ -49,6 +48,11 @@ sent by any sender.
%package -n python-blinker-doc
Summary: Documentation for %{name}
Group: Documentation/HTML
BuildRequires: %{python_module Pallets-Sphinx-Themes}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module sphinxcontrib-htmlhelp}
BuildRequires: %{python_module sphinxcontrib-jsmath}
BuildRequires: %{python_module sphinxcontrib-serializinghtml}
Provides: %{python_module blinker-doc = %{version}}
%description -n python-blinker-doc
@@ -85,8 +89,8 @@ popd
%pytest
%files %{python_files}
%license LICENSE.rst
%doc CHANGES.rst README.rst
%license LICENSE.txt
%doc CHANGES.rst README.md
%{python_sitelib}/blinker-%{version}*-info
%{python_sitelib}/blinker