From 8080b6e3909c9555c13cdfafbb73956ae917840a9e7d1c52b97ff77c8415ff70 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 20 Nov 2012 09:16:09 +0000 Subject: [PATCH] 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 --- python-zope.interface.changes | 19 +++++++++++++++++++ python-zope.interface.spec | 10 +++++----- zope.interface-3.8.0.tar.gz | 3 --- zope.interface-4.0.1.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 8 deletions(-) delete mode 100644 zope.interface-3.8.0.tar.gz create mode 100644 zope.interface-4.0.1.tar.gz diff --git a/python-zope.interface.changes b/python-zope.interface.changes index 1122d05..c7bf660 100644 --- a/python-zope.interface.changes +++ b/python-zope.interface.changes @@ -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 diff --git a/python-zope.interface.spec b/python-zope.interface.spec index b51be58..cad4929 100644 --- a/python-zope.interface.spec +++ b/python-zope.interface.spec @@ -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 diff --git a/zope.interface-3.8.0.tar.gz b/zope.interface-3.8.0.tar.gz deleted file mode 100644 index d056306..0000000 --- a/zope.interface-3.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d5411ff82fd3a73bad6efb38deddb3f98d61d590344deb0cdd308e8aa94d3ff -size 111537 diff --git a/zope.interface-4.0.1.tar.gz b/zope.interface-4.0.1.tar.gz new file mode 100644 index 0000000..39fcc0a --- /dev/null +++ b/zope.interface-4.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9f4b92c91ac4defbf0269ec891c3528110224259019b009a24d50e0ebebe9c9 +size 136058