Hello community,
here is the log from the commit of package python-zope.interface for
openSUSE:Factory checked in at 2013-01-17 10:35:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.interface (Old)
and /work/SRC/openSUSE:Factory/.python-zope.interface.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.interface", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-zope.interface/python-zope.interface.changes
2012-11-21 17:15:36.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-zope.interface.new/python-zope.interface.changes
2013-01-17 10:35:41.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Jan 14 13:53:10 UTC 2013 - [email protected]
+
+- Initial python3 support
+
+-------------------------------------------------------------------
+Mon Jan 14 13:52:19 UTC 2013 - [email protected]
+
+- Update to 4.0.3 version:
+ * Fleshed out PyPI Trove classifiers.
+- Remove duplicate files with fdupes
+
+-------------------------------------------------------------------
New Changes file:
--- /dev/null 2013-01-09 19:40:42.352580873 +0100
+++
/work/SRC/openSUSE:Factory/.python-zope.interface.new/python3-zope.interface.changes
2013-01-17 10:35:41.000000000 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Mon Jan 14 13:53:23 UTC 2013 - [email protected]
+
+- Initial python3 support
+
Old:
----
zope.interface-4.0.1.tar.gz
New:
----
python3-zope.interface.changes
python3-zope.interface.spec
zope.interface-4.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.interface.spec ++++++
--- /var/tmp/diff_new_pack.20n7vf/_old 2013-01-17 10:35:42.000000000 +0100
+++ /var/tmp/diff_new_pack.20n7vf/_new 2013-01-17 10:35:42.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.interface
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products 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,7 +17,7 @@
Name: python-zope.interface
-Version: 4.0.1
+Version: 4.0.3
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
@@ -27,6 +27,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
+BuildRequires: fdupes
Provides: python-zopeinterface = %{version}
Obsoletes: python-zopeinterface < %{version}
Provides: python-zope-interface = %{version}
@@ -52,6 +53,8 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+# Remove duplicate files
+%fdupes -s %{buildroot}
%files
%defattr(-,root,root,-)
++++++ python3-zope.interface.spec ++++++
#
# spec file for package python3-zope.interface
#
# Copyright (c) 2013 SUSE LINUX Products 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 http://bugs.opensuse.org/
#
Name: python3-zope.interface
Version: 4.0.3
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
License: ZPL-2.1
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: fdupes
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-distribute
%description
This package is intended to be independently reusable in any Python
project. It is maintained by the Zope Toolkit project.
This package provides an implementation of object interfaces for Python.
Interfaces are a mechanism for labeling objects as conforming to a given
API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
%prep
%setup -q -n zope.interface-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Remove duplicate files
%fdupes -s %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt
%{python3_sitearch}/*
%changelog
++++++ zope.interface-4.0.1.tar.gz -> zope.interface-4.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/CHANGES.txt
new/zope.interface-4.0.3/CHANGES.txt
--- old/zope.interface-4.0.1/CHANGES.txt 2012-05-22 22:01:52.000000000
+0200
+++ new/zope.interface-4.0.3/CHANGES.txt 2012-12-31 19:19:52.000000000
+0100
@@ -1,6 +1,21 @@
``zope.interface Changelog``
============================
+4.0.3 (2012-12-31)
+------------------
+
+- Fleshed out PyPI Trove classifiers.
+
+4.0.2 (2012-11-21)
+------------------
+
+- Added support for Python 3.3.
+
+- Restored ability to install the package in the absence of ``setuptools``.
+
+- LP #1055223: Fix test which depended on dictionary order and failed randomly
+ in Python 3.3.
+
4.0.1 (2012-05-22)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/PKG-INFO
new/zope.interface-4.0.3/PKG-INFO
--- old/zope.interface-4.0.1/PKG-INFO 2012-05-22 22:03:01.000000000 +0200
+++ new/zope.interface-4.0.3/PKG-INFO 2012-12-31 19:21:00.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.0
Name: zope.interface
-Version: 4.0.1
+Version: 4.0.3
Summary: Interfaces for Python
Home-page: http://pypi.python.org/pypi/zope.interface
Author: Zope Foundation and Contributors
@@ -25,6 +25,21 @@
``zope.interface Changelog``
============================
+ 4.0.3 (2012-12-31)
+ ------------------
+
+ - Fleshed out PyPI Trove classifiers.
+
+ 4.0.2 (2012-11-21)
+ ------------------
+
+ - Added support for Python 3.3.
+
+ - Restored ability to install the package in the absence of
``setuptools``.
+
+ - LP #1055223: Fix test which depended on dictionary order and failed
randomly
+ in Python 3.3.
+
4.0.1 (2012-05-22)
------------------
@@ -379,8 +394,14 @@
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
+Classifier: Framework :: Zope3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/docs/conf.py
new/zope.interface-4.0.3/docs/conf.py
--- old/zope.interface-4.0.1/docs/conf.py 2012-05-22 22:01:52.000000000
+0200
+++ new/zope.interface-4.0.3/docs/conf.py 2012-06-27 16:40:15.000000000
+0200
@@ -56,9 +56,9 @@
# built documents.
#
# The short X.Y version.
-version = '3.8'
+version = '4.0'
# The full version, including alpha/beta/rc tags.
-release = '3.8.1'
+release = '4.0.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/docs/hacking.rst
new/zope.interface-4.0.3/docs/hacking.rst
--- old/zope.interface-4.0.1/docs/hacking.rst 2012-05-22 22:01:52.000000000
+0200
+++ new/zope.interface-4.0.3/docs/hacking.rst 2012-06-29 16:38:56.000000000
+0200
@@ -60,7 +60,7 @@
OK
The ``dev`` command alias downloads and installs extra tools, like the
-`:mod:nose` testrunner and the `:mod:coverage` coverage analyzer:
+:mod:`nose` testrunner and the :mod:`coverage` coverage analyzer:
.. code-block:: sh
@@ -114,29 +114,23 @@
for building its docs. Using the same virtualenv you set up to run the
tests, you can build the docs:
-The ``dev`` command alias downloads and installs extra tools, like the
-`:mod:nose` testrunner and the `:mod:coverage` coverage analyzer:
+The ``docs`` command alias downloads and installs Sphinx and its dependencies:
.. code-block:: sh
$ /tmp/hack-zope.interface/bin/python setup.py docs
...
- $ cd docs
- $ PATH=/tmp/hack-zope.interface/bin:$PATH make html
- sphinx-build -b html -d _build/doctrees . _build/html
+ $ bin/sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
...
build succeeded.
- Build finished. The HTML pages are in _build/html.
+ Build finished. The HTML pages are in docs/_build/html.
You can also test the code snippets in the documentation:
-.. TODO:: verify this!
-
.. code-block:: sh
- $ PATH=/tmp/hack-zope.interface/bin:$PATH make doctest
- sphinx-build -b doctest -d _build/doctrees . _build/doctest
+ $ bin/sphinx-build -b doctest -d docs/_build/doctrees docs
docs/_build/doctest
...
running tests...
@@ -155,7 +149,7 @@
0 failures in setup code
build succeeded.
Testing of doctests in the sources finished, look at the \
- results in _build/doctest/output.txt.
+ results in docs/_build/doctest/output.txt.
Running the tests using :mod:`zc.buildout`
@@ -190,8 +184,8 @@
Building the documentation using :mod:`zc.buildout`
---------------------------------------------------
-The :mod:`zope.inteface` buildout installs the Sphinx scripts required to build
-the documentation, including testing its code snippets:
+The :mod:`zope.interface` buildout installs the Sphinx scripts required to
+build the documentation, including testing its code snippets:
.. todo:: verify this!
@@ -224,6 +218,88 @@
Build finished. The HTML pages are in .../docs/_build/html.
+Running Tests on Multiple Python Versions via :mod:`tox`
+--------------------------------------------------------
+
+`tox <http://tox.testrun.org/latest/>`_ is a Python-based test automation
+tool designed to run tests against multiple Python versions. It creates
+a ``virtualenv`` for each configured version, installs the current package
+and configured dependencies into each ``virtualenv``, and then runs the
+configured commands.
+
+:mod:`zope.interface` configures the following :mod:`tox` environments via
+its ``tox.ini`` file:
+
+- The ``py26`` environment builds a ``virtualenv`` with ``python2.6``,
+ installs :mod:`zope.interface` and dependencies, and runs the tests
+ via ``python setup.py test -q``.
+
+- The ``py27`` environment builds a ``virtualenv`` with ``python2.7``,
+ installs :mod:`zope.interface` and dependencies, and runs the tests
+ via ``python setup.py test -q``.
+
+- The ``py32`` environment builds a ``virtualenv`` with ``python3.2``,
+ installs :mod:`zope.interface` and dependencies, and runs the tests
+ via ``python setup.py test -q``.
+
+- The ``pypy`` environment builds a ``virtualenv`` with ``pypy``,
+ installs :mod:`zope.interface` and dependencies, and runs the tests
+ via ``python setup.py test -q``.
+
+- The ``coverage`` environment builds a ``virtualenv`` with ``python2.6``,
+ installs :mod:`zope.interface` and dependencies, installs
+ :mod:`nose` and :mod:`coverage`, and runs ``nosetests`` with statement
+ coverage.
+
+- The ``docs`` environment builds a virtualenv with ``python2.6``, installs
+ :mod:`zope.interface` and dependencies, installs ``Sphinx`` and
+ dependencies, and then builds the docs and exercises the doctest snippets.
+
+This example requires that you have a working ``python2.6`` on your path,
+as well as installing ``tox``:
+
+.. code-block:: sh
+
+ $ tox -e py26
+ GLOB sdist-make: .../zope.interface/setup.py
+ py26 sdist-reinst: .../zope.interface/.tox/dist/zope.interface-4.0.2dev.zip
+ py26 runtests: commands[0]
+ ...
+ ----------------------------------------------------------------------
+ Ran 1341 tests in 0.477s
+
+ OK
+ ___________________________________ summary
____________________________________
+ py26: commands succeeded
+ congratulations :)
+
+Running ``tox`` with no arguments runs all the configured environments,
+including building the docs and testing their snippets:
+
+.. code-block:: sh
+
+ $ tox
+ GLOB sdist-make: .../zope.interface/setup.py
+ py26 sdist-reinst: .../zope.interface/.tox/dist/zope.interface-4.0.2dev.zip
+ py26 runtests: commands[0]
+ ...
+ Doctest summary
+ ===============
+ 678 tests
+ 0 failures in tests
+ 0 failures in setup code
+ 0 failures in cleanup code
+ build succeeded.
+ ___________________________________ summary
____________________________________
+ py26: commands succeeded
+ py27: commands succeeded
+ py32: commands succeeded
+ pypy: commands succeeded
+ coverage: commands succeeded
+ docs: commands succeeded
+ congratulations :)
+
+
Submitting a Bug Report
-----------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/setup.cfg
new/zope.interface-4.0.3/setup.cfg
--- old/zope.interface-4.0.1/setup.cfg 2012-05-22 22:03:01.000000000 +0200
+++ new/zope.interface-4.0.3/setup.cfg 2012-12-31 19:21:00.000000000 +0100
@@ -1,6 +1,11 @@
+[egg_info]
+tag_build =
+tag_date = 0
+tag_svn_revision = 0
+
[nosetests]
-nocapture = 1
cover-package = zope.interface
+nocapture = 1
cover-erase = 1
with-doctest = 0
where = src
@@ -9,8 +14,3 @@
dev = develop easy_install zope.interface[testing]
docs = easy_install zope.interface[docs]
-[egg_info]
-tag_build =
-tag_date = 0
-tag_svn_revision = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/setup.py
new/zope.interface-4.0.3/setup.py
--- old/zope.interface-4.0.1/setup.py 2012-05-22 22:01:52.000000000 +0200
+++ new/zope.interface-4.0.3/setup.py 2012-12-31 19:20:00.000000000 +0100
@@ -65,6 +65,7 @@
# do we need to support plain distutils for building when even
# the package itself requires setuptools for installing?
from distutils.core import setup, Extension
+ extra = {}
else:
codeoptimization_c = os.path.join('src', 'zope', 'interface',
'_zope_interface_coptimizations.c')
@@ -111,7 +112,7 @@
)
setup(name='zope.interface',
- version='4.0.1',
+ version='4.0.3',
url='http://pypi.python.org/pypi/zope.interface',
license='ZPL 2.1',
description='Interfaces for Python',
@@ -123,10 +124,16 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
+ "Programming Language :: Python :: 3.3",
+ "Programming Language :: Python :: Implementation :: CPython",
+ "Programming Language :: Python :: Implementation :: PyPy",
+ "Framework :: Zope3",
"Topic :: Software Development :: Libraries :: Python Modules",
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/src/zope/interface/adapter.py
new/zope.interface-4.0.3/src/zope/interface/adapter.py
--- old/zope.interface-4.0.1/src/zope/interface/adapter.py 2012-05-22
22:01:52.000000000 +0200
+++ new/zope.interface-4.0.3/src/zope/interface/adapter.py 2012-06-20
19:35:57.000000000 +0200
@@ -4,7 +4,7 @@
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-4.0.1/src/zope/interface/common/tests/test_import_interfaces.py
new/zope.interface-4.0.3/src/zope/interface/common/tests/test_import_interfaces.py
---
old/zope.interface-4.0.1/src/zope/interface/common/tests/test_import_interfaces.py
2012-05-22 22:01:52.000000000 +0200
+++
new/zope.interface-4.0.3/src/zope/interface/common/tests/test_import_interfaces.py
2012-06-20 19:35:57.000000000 +0200
@@ -4,7 +4,7 @@
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-4.0.1/src/zope/interface/tests/test_registry.py
new/zope.interface-4.0.3/src/zope/interface/tests/test_registry.py
--- old/zope.interface-4.0.1/src/zope/interface/tests/test_registry.py
2012-05-22 22:01:52.000000000 +0200
+++ new/zope.interface-4.0.3/src/zope/interface/tests/test_registry.py
2012-11-21 16:13:08.000000000 +0100
@@ -482,7 +482,7 @@
comp = self._makeOne()
comp.registerUtility(_to_reg, ifoo, _name1, _info)
comp.registerUtility(_to_reg, ifoo, _name2, _info)
- reg = list(comp.registeredUtilities())
+ reg = sorted(comp.registeredUtilities(), key=lambda r: r.name)
self.assertEqual(len(reg), 2)
self.failUnless(isinstance(reg[0], UtilityRegistration))
self.failUnless(reg[0].registry is comp)
@@ -1008,7 +1008,7 @@
comp = self._makeOne()
comp.registerAdapter(_Factory, (ibar,), ifoo, _name1, _info)
comp.registerAdapter(_Factory, (ibar,), ifoo, _name2, _info)
- reg = list(comp.registeredAdapters())
+ reg = sorted(comp.registeredAdapters(), key=lambda r: r.name)
self.assertEqual(len(reg), 2)
self.failUnless(isinstance(reg[0], AdapterRegistration))
self.failUnless(reg[0].registry is comp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-4.0.1/src/zope.interface.egg-info/PKG-INFO
new/zope.interface-4.0.3/src/zope.interface.egg-info/PKG-INFO
--- old/zope.interface-4.0.1/src/zope.interface.egg-info/PKG-INFO
2012-05-22 22:03:00.000000000 +0200
+++ new/zope.interface-4.0.3/src/zope.interface.egg-info/PKG-INFO
2012-12-31 19:21:00.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.0
Name: zope.interface
-Version: 4.0.1
+Version: 4.0.3
Summary: Interfaces for Python
Home-page: http://pypi.python.org/pypi/zope.interface
Author: Zope Foundation and Contributors
@@ -25,6 +25,21 @@
``zope.interface Changelog``
============================
+ 4.0.3 (2012-12-31)
+ ------------------
+
+ - Fleshed out PyPI Trove classifiers.
+
+ 4.0.2 (2012-11-21)
+ ------------------
+
+ - Added support for Python 3.3.
+
+ - Restored ability to install the package in the absence of
``setuptools``.
+
+ - LP #1055223: Fix test which depended on dictionary order and failed
randomly
+ in Python 3.3.
+
4.0.1 (2012-05-22)
------------------
@@ -379,8 +394,14 @@
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
+Classifier: Framework :: Zope3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-4.0.1/tox.ini
new/zope.interface-4.0.3/tox.ini
--- old/zope.interface-4.0.1/tox.ini 2012-05-22 22:01:52.000000000 +0200
+++ new/zope.interface-4.0.3/tox.ini 2012-11-21 16:40:03.000000000 +0100
@@ -3,7 +3,7 @@
# Jython support pending 2.7 support, due 2012-07-15 or so. See:
# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,pypy,coverage,docs
+ py26,py27,py32,py33,pypy,coverage,docs
[testenv]
commands =
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]