forked from pool/python-transaction
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 39c24d7770 | |||
| 694abefb71 |
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Jun 9 13:18:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-transaction
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,13 +18,15 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-transaction
|
Name: python-transaction
|
||||||
Version: 3.0.1
|
Version: 5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Transaction management for Python
|
Summary: Transaction management for Python
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
URL: https://github.com/zopefoundation/transaction
|
URL: https://github.com/zopefoundation/transaction
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/transaction/transaction-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/transaction/transaction-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-zope.interface
|
Requires: python-zope.interface
|
||||||
@@ -46,24 +48,23 @@ presented in detail through examples of a sample data manager in
|
|||||||
transaction.tests.test_SampleDataManager.
|
transaction.tests.test_SampleDataManager.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n transaction-%{version}
|
%autosetup -p1 -n transaction-%{version}
|
||||||
rm -rf transaction.egg-info
|
rm -rf transaction.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/transaction
|
||||||
|
%{python_sitelib}/transaction-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
BIN
transaction-3.0.1.tar.gz
LFS
BIN
transaction-3.0.1.tar.gz
LFS
Binary file not shown.
BIN
transaction-5.0.tar.gz
LFS
Normal file
BIN
transaction-5.0.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user