forked from pool/python-zope.interface
Accepting request 631966 from devel:languages:python
- Version update to 4.5.0: * Allow registering and unregistering instance methods as listeners. See issue 12 and PR 102. * Synchronize and simplify zope/__init__.py. See issue 114 * Avoid exceptions when the __annotations__ attribute is added to interface definitions with Python 3.x type hints. See issue 98. * Fix the possibility of a rare crash in the C extension when deallocating items. See issue 100. OBS-URL: https://build.opensuse.org/request/show/631966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.interface?expand=0&rev=20
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 28 11:29:16 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version update to 4.5.0:
|
||||||
|
* Allow registering and unregistering instance methods as listeners. See issue 12 and PR 102.
|
||||||
|
* Synchronize and simplify zope/__init__.py. See issue 114
|
||||||
|
* Avoid exceptions when the __annotations__ attribute is added to interface definitions with Python 3.x type hints. See issue 98.
|
||||||
|
* Fix the possibility of a rare crash in the C extension when deallocating items. See issue 100.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 19 13:01:14 UTC 2017 - okurz@suse.com
|
Mon Jun 19 13:01:14 UTC 2017 - okurz@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-zope.interface
|
# spec file for package python-zope.interface
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 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,38 +17,29 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
Name: python-zope.interface
|
|
||||||
%global modname zope.interface
|
%global modname zope.interface
|
||||||
Version: 4.4.2
|
%define oldpython python
|
||||||
|
Name: python-zope.interface
|
||||||
|
Version: 4.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pypi.python.org/pypi/%{modname}
|
|
||||||
Summary: Interfaces for Python
|
Summary: Interfaces for Python
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
|
URL: http://pypi.python.org/pypi/zope.interface
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
# Testing requirements:
|
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module zope.event}
|
BuildRequires: %{python_module zope.event}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
|
||||||
%define oldpython python
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-zopeinterface = %{version}
|
Provides: %{oldpython}-zopeinterface = %{version}
|
||||||
Obsoletes: %{oldpython}-zopeinterface < %{version}
|
Obsoletes: %{oldpython}-zopeinterface < %{version}
|
||||||
Provides: %{oldpython}-zope-interface = %{version}
|
Provides: %{oldpython}-zope-interface = %{version}
|
||||||
Obsoletes: %{oldpython}-zope-interface < %{version}
|
Obsoletes: %{oldpython}-zope-interface < %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -75,8 +66,8 @@ the Design By Contract methodology support in Python.
|
|||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt COPYRIGHT.txt
|
||||||
%doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4e59e427200201f69ef82956ddf9e527891becf5b7cde8ec3ce39e1d0e262eb0
|
|
||||||
size 150150
|
|
||||||
3
zope.interface-4.5.0.tar.gz
Normal file
3
zope.interface-4.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c
|
||||||
|
size 151261
|
||||||
Reference in New Issue
Block a user