14
0

Accepting request 138053 from home:douglarek:branches:devel:languages:python

Updated to 4.0.1

OBS-URL: https://build.opensuse.org/request/show/138053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=10
This commit is contained in:
Sascha Peilicke
2012-11-20 09:16:09 +00:00
committed by Git OBS Bridge
parent 4e56aa5741
commit 8080b6e390
4 changed files with 27 additions and 8 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Oct 13 21:42:08 CST 2012 - douglarek@outlook.com
- Fix spec bugs
- Updated to 4.0.1
* Dropped explicit DeprecationWarnings for "class advice" APIS (these APIs are still deprecated under Python 2.x, and still raise an exception under Python 3.x, but no longer cause a warning to be emitted under Python 2.x).
* Automated build of Sphinx HTML docs and running doctest snippets via tox.
* Deprecated the "class advice" APIs from zope.interface.declarations: implements, implementsOnly, and classProvides. In their place, prefer the equivalent class decorators: @implementer, @implementer_only, and @provider. Code which uses the deprecated APIs will not work as expected under Py3k.
* Removed use of '2to3' and associated fixers when installing under Py3k. The code is now in a "compatible subset" which supports Python 2.6, 2.7, and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language spec).
* Dropped explicit support for Python 2.4 / 2.5 / 3.1.
* Added support for PyPy.
* Added support for continuous integration using tox and jenkins.
* Added 'setup.py dev' alias (runs setup.py develop plus installs nose and coverage).
* Added 'setup.py docs' alias (installs Sphinx and dependencies).
* Replaced all unittest coverage previously accomplished via doctests with unittests. The doctests have been moved into a docs section, managed as a Sphinx collection.
* LP #910987: Ensure that the semantics of the lookup method of zope.interface.adapter.LookupBase are the same in both the C and Python implementations.
* LP #900906: Avoid exceptions due to tne new __qualname__ attribute added in Python 3.3 (see PEP 3155 for rationale). Thanks to Antoine Pitrou for the patch.
-------------------------------------------------------------------
Wed Feb 1 15:27:18 UTC 2012 - saschpe@suse.de

View File

@@ -15,8 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-zope.interface
Version: 3.8.0
Version: 4.0.1
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
@@ -25,14 +26,13 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
Provides: python-zopeinterface = %{version}
Obsoletes: python-zopeinterface < %{version}
Provides: python-zope-interface = %{version}
Obsoletes: python-zope-interface < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%description
@@ -56,6 +56,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt
%{python_sitelib}/*
%{python_sitearch}/*
%changelog

View File

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

View File

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