Accepting request 681508 from devel:languages:python
- Update to 2.4.0: * add support for python 3.7 * many small fixes and test improvements * For more see CHANGES.rst OBS-URL: https://build.opensuse.org/request/show/681508 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-transaction?expand=0&rev=21
This commit is contained in:
commit
4426889510
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 4 15:53:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.4.0:
|
||||||
|
* add support for python 3.7
|
||||||
|
* many small fixes and test improvements
|
||||||
|
* For more see CHANGES.rst
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 24 11:52:07 UTC 2017 - aloisio@gmx.com
|
Sat Jun 24 11:52:07 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-transaction
|
# spec file for package python-transaction
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -12,29 +12,25 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-transaction
|
Name: python-transaction
|
||||||
Version: 2.1.2
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Transaction management for Python
|
Summary: Transaction management for Python
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://www.zope.org/Products/ZODB
|
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 setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module zope.interface}
|
BuildRequires: %{python_module zope.interface}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-zope.interface
|
Requires: python-zope.interface
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION Documentation requirements
|
|
||||||
BuildRequires: python3-Sphinx
|
|
||||||
BuildRequires: python3-repoze.sphinx.autointerface
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION Test requirements
|
# SECTION Test requirements
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
@ -51,22 +47,12 @@ express in the interface. This could probably use more work. The semantics are
|
|||||||
presented in detail through examples of a sample data manager in
|
presented in detail through examples of a sample data manager in
|
||||||
transaction.tests.test_SampleDataManager.
|
transaction.tests.test_SampleDataManager.
|
||||||
|
|
||||||
%package -n %{name}-doc
|
|
||||||
Summary: Transaction management for Python
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Provides: %{python_module transaction-doc == %{version}}
|
|
||||||
|
|
||||||
%description -n %{name}-doc
|
|
||||||
This package contains documentation files for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n transaction-%{version}
|
%setup -q -n transaction-%{version}
|
||||||
rm -rf transaction.egg-info
|
rm -rf transaction.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
@ -76,12 +62,8 @@ rm -rf transaction.egg-info
|
|||||||
%python_exec setup.py -q test
|
%python_exec setup.py -q test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE.txt
|
||||||
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
|
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files -n %{name}-doc
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc build/sphinx/html/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b9bc365e7dba3877e0f6fdee32aa029b8c0c1eb4fe227f524bffd5fc46064bd5
|
|
||||||
size 65104
|
|
3
transaction-2.4.0.tar.gz
Normal file
3
transaction-2.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:726059c461b9ec4e69e5bead6680667a3db01bf2adf901f23e4031228a0f9f9f
|
||||||
|
size 71514
|
Loading…
x
Reference in New Issue
Block a user