14
0

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:
2018-08-31 07:51:30 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 23 deletions

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,38 +17,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.interface
%global modname zope.interface
Version: 4.4.2
%define oldpython python
Name: python-zope.interface
Version: 4.5.0
Release: 0
Url: http://pypi.python.org/pypi/%{modname}
Summary: Interfaces for Python
License: ZPL-2.1
Group: Development/Languages/Python
Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
# Testing requirements:
URL: http://pypi.python.org/pypi/zope.interface
Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.event}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%define oldpython python
%ifpython2
Provides: %{oldpython}-zopeinterface = %{version}
Obsoletes: %{oldpython}-zopeinterface < %{version}
Provides: %{oldpython}-zope-interface = %{version}
Obsoletes: %{oldpython}-zope-interface < %{version}
%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
%description
@@ -75,8 +66,8 @@ the Design By Contract methodology support in Python.
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst
%license LICENSE.txt COPYRIGHT.txt
%doc CHANGES.rst README.rst
%{python_sitearch}/*
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e59e427200201f69ef82956ddf9e527891becf5b7cde8ec3ce39e1d0e262eb0
size 150150

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c
size 151261