Accepting request 757222 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/757222 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tblib?expand=0&rev=5
This commit is contained in:
commit
c4fcdfab2d
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 15 16:02:49 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Move the Twisted test out of the main package to avoid the
|
||||||
|
Twisted dependency chain.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 15 15:34:21 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- version update to 1.6.0
|
||||||
|
* When pickling an Exception, also pickle its traceback and the Exception
|
||||||
|
chain (raise ... from ...). Contributed by Guido Imperiale in #53.
|
||||||
|
- version update to 1.5.0
|
||||||
|
* Added support for Python 3.8. Contributed by Victor Stinner in #42.
|
||||||
|
* Removed support for end of life Python 3.4.
|
||||||
|
* Few CI improvements and fixes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 07:56:48 UTC 2019 - pgajdos@suse.com
|
Mon May 6 07:56:48 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tblib
|
# spec file for package python
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 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
|
||||||
@ -17,20 +17,34 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-tblib
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
Version: 1.4.0
|
%if "%{flavor}" == "test"
|
||||||
|
%bcond_without test
|
||||||
|
%bcond_without test_twisted
|
||||||
|
%define psuffix -test
|
||||||
|
%else
|
||||||
|
%bcond_without test
|
||||||
|
%bcond_with test_twisted
|
||||||
|
%endif
|
||||||
|
Name: python-tblib%{?psuffix}
|
||||||
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Traceback serialization library
|
Summary: Traceback serialization library
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/ionelmc/python-tblib
|
URL: https://github.com/ionelmc/python-tblib
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Twisted}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %{with test_twisted}
|
||||||
|
BuildRequires: %{python_module Twisted}
|
||||||
|
BuildRequires: %{python_module tblib == %{version}}
|
||||||
|
%endif
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
%endif
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -62,15 +76,21 @@ the pickle support.
|
|||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if "%{flavor}" != "test"
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with test}
|
||||||
%pytest
|
%pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" != "test"
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bd1ad564564a158ff62c290687f3db446038f9ac11a0bf6892712e3601af3bcd
|
|
||||||
size 27050
|
|
3
tblib-1.6.0.tar.gz
Normal file
3
tblib-1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:229bee3754cb5d98b4837dd5c4405e80cfab57cb9f93220410ad367f8b352344
|
||||||
|
size 31450
|
Loading…
Reference in New Issue
Block a user