Accepting request 148606 from home:posophe:branches:devel:languages:python

Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148606
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=24
This commit is contained in:
Sascha Peilicke 2013-01-18 14:14:40 +00:00 committed by Git OBS Bridge
parent 9378eaedf4
commit b4ff604beb
6 changed files with 98 additions and 5 deletions

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Jan 15 15:52:04 UTC 2013 - p.drouand@gmail.com
- Initial python3 support
-------------------------------------------------------------------
Tue Jan 15 15:49:33 UTC 2013 - p.drouand@gmail.com
- Update to 1.4.0 version:
* Updated Trove classifiers.
-------------------------------------------------------------------
Tue Jan 15 15:48:03 UTC 2013 - p.drouand@gmail.com
- Update to 1.4.0b1 version:
* Converted existing doctests into Sphinx documentation (snippets
are exercised via 'tox').
* 100% unit test coverage.
* Backward incompatibility: raise ValueError rather than AssertionError
for runtime errors:
- In Transaction.doom if the transaction is in a non-doomable state.
- In TransactionManager.attempts if passed a non-positive value.
- In TransactionManager.free if passed a foreign transaction.
* Declared support for Python 3.3 in setup.py, and added tox testing.
* When a non-retryable exception was raised as the result of a call to
transaction.manager.commit within the "attempts" machinery, the exception
was not reraised properly. Symptom: an unrecoverable exception such as
Unsupported: Storing blobs in <somestorage> is not supported. would be
swallowed inappropriately.
-------------------------------------------------------------------
Wed Jun 6 16:07:36 UTC 2012 - os-dev@jacraig.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-transaction
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-transaction
Version: 1.3.0
Version: 1.4.0
Release: 0
Summary: Transaction management for Python
License: ZPL-2.1

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Jan 15 15:52:16 UTC 2013 - p.drouand@gmail.com
- Initial python3 support

58
python3-transaction.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package python3-transaction
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-transaction
Version: 1.4.0
Release: 0
Summary: Transaction management for Python
License: ZPL-2.1
Group: Development/Libraries/Python
Url: http://www.zope.org/Products/ZODB
Source: http://pypi.python.org/packages/source/t/transaction/transaction-%{version}.tar.gz
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-distribute
Requires: python3-zope.interface
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains a generic transaction implementation for Python. It is
mainly used by the ZODB, though.
Note that the data manager API, transaction.interfaces.IDataManager, is
syntactically simple, but semantically complex. The semantics were not easy to
express in the interface. This could probably use more work. The semantics are
presented in detail through examples of a sample data manager in
transaction.tests.test_SampleDataManager.
%prep
%setup -q -n transaction-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt
%{python3_sitelib}/*
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e210b5bc459e62d7d1ef879c21231a4d864bc24977d25ad2e2d2ebc25e54760
size 49603

3
transaction-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19d41c018f1c012768c6cb3f3a79a9c7668bf34a323099318607d3dced8d2c9a
size 58550