Sync from SUSE:SLFO:Main python-transaction revision 6b257eb4318180d7d8893b41970fb379
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 22:11:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 5.0:
|
||||
* Add final support for Python 3.13.
|
||||
* Drop support for Python 3.7.
|
||||
* Drop support for Python 2.7, 3.5, 3.6.
|
||||
* Drop support for deprecated python setup.py test..
|
||||
* Add support for Python 3.12.
|
||||
* Add preliminary support for Python 3.13a2.
|
||||
* Add support for Python 3.9, 3.10, 3.11.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 13:18:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 20 07:35:20 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-transaction
|
||||
#
|
||||
# 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,15 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-transaction
|
||||
Version: 3.0.1
|
||||
Version: 5.0
|
||||
Release: 0
|
||||
Summary: Transaction management for Python
|
||||
License: ZPL-2.1
|
||||
URL: https://github.com/zopefoundation/transaction
|
||||
Source: https://files.pythonhosted.org/packages/source/t/transaction/transaction-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-zope.interface
|
||||
@@ -46,24 +48,23 @@ presented in detail through examples of a sample data manager in
|
||||
transaction.tests.test_SampleDataManager.
|
||||
|
||||
%prep
|
||||
%setup -q -n transaction-%{version}
|
||||
%autosetup -p1 -n transaction-%{version}
|
||||
rm -rf transaction.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# https://github.com/zopefoundation/zdaemon/issues/28#issuecomment-1102754818
|
||||
sed -i 's:import mock:from unittest import mock:' src/transaction/tests/test__manager.py
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/transaction
|
||||
%{python_sitelib}/transaction-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
BIN
transaction-3.0.1.tar.gz
(Stored with Git LFS)
BIN
transaction-3.0.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
transaction-5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
transaction-5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user