Accepting request 691714 from home:mcalabkova:branches:devel:languages:python
- update to version 4.3 * Add support for Python 3.6 and 3.7. * Drop support for Python 3.3. * Fix handling of unicode supplemental traceback information on Python 2. - drop *-doc subpackage, use multibuild instead OBS-URL: https://build.opensuse.org/request/show/691714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=17
This commit is contained in:
parent
cf638e8c63
commit
d851925c9d
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
@ -1,59 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Dec 4 13:10:31 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
|
||||||
|
|
||||||
- Remove superfluous devel dependency for noarch package
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 4 13:39:22 UTC 2017 - jmatejek@suse.com
|
|
||||||
|
|
||||||
- drop unneeded _multibuild
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jun 23 09:02:36 UTC 2017 - aloisio@gmx.com
|
|
||||||
|
|
||||||
- Update to version 4.1.0
|
|
||||||
* Drop support for Python 2.6 and 3.2.
|
|
||||||
* Make exceptionformatter.extract_stack signature comply with
|
|
||||||
traceback.extract_stack
|
|
||||||
* Add support for Python 3.5.
|
|
||||||
4.0.8:
|
|
||||||
* Fixes around TextExceptionFormatter limit: formatException
|
|
||||||
and extractStack was cutting the traceback at the bottom, at
|
|
||||||
the most interesting point. Now it will cut from the middle.
|
|
||||||
Some text about the missing entries will be inserted.
|
|
||||||
* Maybe fix for extractStack, it did not detect recursions in
|
|
||||||
the frames.
|
|
||||||
|
|
||||||
- Split -doc into separate package and put tests there
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Sep 3 12:28:13 UTC 2015 - toddrme2178@gmail.com
|
|
||||||
|
|
||||||
- Disable tests to avoid dependency loop
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri May 15 11:55:03 UTC 2015 - benoit.monin@gmx.fr
|
|
||||||
|
|
||||||
- update to version 4.0.7:
|
|
||||||
* Added explicit support for Python 3.4.
|
|
||||||
* Updated boostrap.py to version 2.2.
|
|
||||||
- switch the source archive to tar.gz (zip not available)
|
|
||||||
- remove unzip from BuildRequires
|
|
||||||
- pass -q to test to avoid spamming the build log
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Oct 24 11:17:56 UTC 2013 - speilicke@suse.com
|
|
||||||
|
|
||||||
- Require python-setuptools instead of distribute (upstreams merged)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 29 14:04:41 UTC 2013 - hpj@urpla.net
|
|
||||||
|
|
||||||
- generate documentation in separate -doc file
|
|
||||||
- enable tests (run tests on source tree)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Mar 15 14:01:12 UTC 2013 - speilicke@suse.com
|
|
||||||
|
|
||||||
- Initial version
|
|
||||||
|
|
@ -1,63 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package python-zope.exceptions-doc
|
|
||||||
#
|
|
||||||
# Copyright (c) 2018 SUSE LINUX 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 https://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-zope.exceptions-doc
|
|
||||||
Version: 4.1.0
|
|
||||||
Release: 0
|
|
||||||
Summary: Documentation for python-zope.exceptions
|
|
||||||
License: ZPL-2.1
|
|
||||||
Group: Documentation/HTML
|
|
||||||
Url: http://cheeseshop.python.org/pypi/zope.exceptions
|
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.tar.gz
|
|
||||||
# SECTION Documentation requirements
|
|
||||||
BuildRequires: python3-Sphinx
|
|
||||||
BuildRequires: python3-repoze.sphinx.autointerface
|
|
||||||
# /SECTION
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
# SECTION Test requirements:
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module zope.exceptions} = %{version}
|
|
||||||
BuildRequires: %{python_module zope.testrunner}
|
|
||||||
# /SECTION
|
|
||||||
Requires: python-zope.exceptions = %{version}
|
|
||||||
Provides: %{python_module zope.exceptions-doc == %{version}}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
|
||||||
This package contains documentation files for python-zope.exceptions.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n zope.exceptions-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{_python_use_flavor python3}
|
|
||||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
|
||||||
|
|
||||||
%install
|
|
||||||
# Not needed
|
|
||||||
|
|
||||||
%check
|
|
||||||
%python_exec %{_bindir}/zope-testrunner -vvv --test-path src
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYRIGHT.txt LICENSE.txt
|
|
||||||
%doc build/sphinx/html/
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 07:06:22 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to version 4.3
|
||||||
|
* Add support for Python 3.6 and 3.7.
|
||||||
|
* Drop support for Python 3.3.
|
||||||
|
* Fix handling of unicode supplemental traceback information on
|
||||||
|
Python 2.
|
||||||
|
- drop *-doc subpackage, use multibuild instead
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 13:10:31 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 13:10:31 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-zope.exceptions
|
# spec file for package python-zope.exceptions
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 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
|
||||||
@ -17,8 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-zope.exceptions
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
Version: 4.1.0
|
%if "%{flavor}" == "test"
|
||||||
|
%define psuffix -test
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
|
Name: python-zope.exceptions%{psuffix}
|
||||||
|
Version: 4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Zope Exceptions
|
Summary: Zope Exceptions
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
@ -29,7 +37,14 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-zope.interface
|
Requires: python-zope.interface
|
||||||
|
Obsoletes: %{name}-doc
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module zope.exceptions}
|
||||||
|
BuildRequires: %{python_module zope.interface}
|
||||||
|
BuildRequires: %{python_module zope.testrunner}
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,6 +61,11 @@ general purpose that they don't belong in Zope application-specific packages.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
%python_expand %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
|
||||||
|
%endif
|
||||||
|
|
||||||
%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
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f1c086abddc9f2050df5824ff7ab8ece3285c8e28453a29ee761effbc5e592ad
|
|
||||||
size 26605
|
|
3
zope.exceptions-4.3.tar.gz
Normal file
3
zope.exceptions-4.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5fa59c3c1044bb9448aeec8328db0bfceaae2a2174e88528d3fe04adf8d47211
|
||||||
|
size 30704
|
Loading…
x
Reference in New Issue
Block a user