forked from pool/python-circuitbreaker
- update to 2.1.3:
* fix datetime.utcnow deprecation * test with newer python versions * various build cleanups OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-circuitbreaker?expand=0&rev=8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-circuitbreaker
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define modname circuitbreaker
|
||||
Name: python-circuitbreaker
|
||||
Version: 2.0.0
|
||||
Version: 2.1.3
|
||||
Release: 0
|
||||
Summary: Python implementation of the "Circuit Breaker" Pattern
|
||||
License: BSD-3-Clause
|
||||
@@ -26,11 +26,13 @@ URL: https://github.com/fabfuel/circuitbreaker
|
||||
Source: https://files.pythonhosted.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-typing
|
||||
@@ -44,10 +46,10 @@ Python implementation of the "Circuit Breaker" Pattern
|
||||
%autosetup -p1 -n circuitbreaker-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -56,6 +58,8 @@ Python implementation of the "Circuit Breaker" Pattern
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/circuitbreaker.py
|
||||
%{python_sitelib}/circuitbreaker-%{version}.dist-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/circuitbreaker*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user