Hello community, here is the log from the commit of package python-repoze.sphinx.autointerface for openSUSE:Factory checked in at 2017-07-02 13:36:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-repoze.sphinx.autointerface (Old) and /work/SRC/openSUSE:Factory/.python-repoze.sphinx.autointerface.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-repoze.sphinx.autointerface" Sun Jul 2 13:36:51 2017 rev:5 rq:504643 version:0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-repoze.sphinx.autointerface/python-repoze.sphinx.autointerface.changes 2013-10-25 11:30:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-repoze.sphinx.autointerface.new/python-repoze.sphinx.autointerface.changes 2017-07-02 13:36:52.314114198 +0200 @@ -1,0 +2,12 @@ +Fri Jun 16 20:14:53 UTC 2017 - okurz@suse.com + +- Update to 0.8 +- Prevent duplicate files installed with fdupes +- Use https pypi.io URL for Factory submission + +------------------------------------------------------------------- +Sat Mar 11 19:48:10 UTC 2017 - okurz@suse.com + +- Convert package to singlespec + +------------------------------------------------------------------- Old: ---- repoze.sphinx.autointerface-0.7.1.tar.gz New: ---- repoze.sphinx.autointerface-0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-repoze.sphinx.autointerface.spec ++++++ --- /var/tmp/diff_new_pack.lGRwKW/_old 2017-07-02 13:36:53.473950644 +0200 +++ /var/tmp/diff_new_pack.lGRwKW/_new 2017-07-02 13:36:53.473950644 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-repoze.sphinx.autointerface +# spec file for package python # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,17 +16,22 @@ # -Name: python-repoze.sphinx.autointerface -Version: 0.7.1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global modname repoze.sphinx.autointerface + +Name: python-%{modname} +Version: 0.8 Release: 0 Url: http://www.repoze.org Summary: Sphinx extension: auto-generates API docs from Zope interfaces License: SUSE-Repoze Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/r/repoze.sphinx.autointerface/repoze.sphinx.autointerface-%{version}.tar.gz +Source: https://pypi.io/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Sphinx Requires: python-zope.interface %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -35,23 +40,26 @@ BuildArch: noarch %endif +%python_subpackages + %description Thie package defines an extension for the Sphinx documentation system. The extension allows generation of API documentation by introspection of zope.interface instances in code. %prep -%setup -q -n repoze.sphinx.autointerface-%{version} +%setup -q -n %{modname}-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%fdupes %{buildroot}%{_prefix} -%files +%files %{python_files} %defattr(-,root,root,-) -%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst %{python_sitelib}/* %changelog ++++++ repoze.sphinx.autointerface-0.7.1.tar.gz -> repoze.sphinx.autointerface-0.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/CHANGES.rst new/repoze.sphinx.autointerface-0.8/CHANGES.rst --- old/repoze.sphinx.autointerface-0.7.1/CHANGES.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/repoze.sphinx.autointerface-0.8/CHANGES.rst 2016-03-29 02:41:03.000000000 +0200 @@ -0,0 +1,106 @@ +repoze.sphinx.autointerface Changelog +===================================== + +0.8 (2016-03-28) +---------------- + +- Add support for Python 3.3, 3.4, and 3.5. + +- Drop support for Python 2.6 and 3.2. + +- Allow cross references using the ``:class:`` directive to use the + ``.`` for "fuzzy" searching. Thanks to Jason Madden for the patch. + +0.7.1 (2012-09-15) +------------------ + +- Remove ``setup.py`` dependency on ``ez_setup.py``. + +0.7.0 (2012-06-20) +------------------ + +- PyPy compatibility. + +- Python 3.2+ compatibility. Thanks to Arfrever for the patch. + +- Include interface docs under the ``automodule`` directive. Thanks to + Krys Lawrence for the patch. + + +0.6.2 (2011-02-13) +------------------ + +- Fix ``TypeError: 'NoneType' object is not iterable`` error when generating + a rendering of an interface under Python 2.7. + + +0.6.1 (2011-01-28) +------------------ + +- Fix ':member-order: bysource' handling. + + +0.6 (2011-01-28) +---------------- + +- Correctly handle ':members:' values explicitly set in the directive. + + +0.5 (2011-01-18) +---------------- + +- Added support for the ':member-order:' flag, which can take one of the + three stock values, "alphabetical", "groupwise", or "bysource". By + default, members are documented in "hash" order. + + +0.4 (2010-07-26) +---------------- + +- Fixed compatibility with Sphinx 1.0 + +- Un-break PyPI ReST/HTML-rendering again. + + +0.3 (2009-10-25) +---------------- + +- Refactor sphinx integration. There are now separate ``autointerface`` + and ``interface`` directives. + + +0.2.1 (2009-08-20) +------------------ + +- Fix add_directive arguments to work with Sphinx 0.6.1, now required. + + +0.1.3 (2009-01-14) +------------------ + +- Coerce unicode path elements to str in ``_resolve_dotted_name``. + Note that non-ASCII path elements won't work: this fix just deals + with the case where the path was of type unicode. + +- Fixed spelling of directive in README.txt. + +- Added dependency on ``zope.interface``. + + +0.1.2 (2008-10-03) +------------------ + +- Packaging change: improved description in README.txt. + + +0.1.1 (2008-10-03) +------------------ + +- Packaging bug: the ``long_description`` was not rendering properly to + HTML on PyPI. + + +0.1 (2008-10-02) +---------------- + +- Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/CHANGES.txt new/repoze.sphinx.autointerface-0.8/CHANGES.txt --- old/repoze.sphinx.autointerface-0.7.1/CHANGES.txt 2012-09-16 05:59:08.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/CHANGES.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ -repoze.sphinx.autointerface Changelog -===================================== - -0.7.1 (2012-09-15) ------------------- - -- Remove ``setup.py`` dependency on ``ez_setup.py``. - -0.7.0 (2012-06-20) ------------------- - -- PyPy compatibility. - -- Python 3.2+ compatibility. Thanks to Arfrever for the patch. - -- Include interface docs under the ``automodule`` directive. Thanks to - Krys Lawrence for the patch. - - -0.6.2 (2011-02-13) ------------------- - -- Fix ``TypeError: 'NoneType' object is not iterable`` error when generating - a rendering of an interface under Python 2.7. - - -0.6.1 (2011-01-28) ------------------- - -- Fix ':member-order: bysource' handling. - - -0.6 (2011-01-28) ----------------- - -- Correctly handle ':members:' values explicitly set in the directive. - - -0.5 (2011-01-18) ----------------- - -- Added support for the ':member-order:' flag, which can take one of the - three stock values, "alphabetical", "groupwise", or "bysource". By - default, members are documented in "hash" order. - - -0.4 (2010-07-26) ----------------- - -- Fixed compatibility with Sphinx 1.0 - -- Un-break PyPI ReST/HTML-rendering again. - - -0.3 (2009-10-25) ----------------- - -- Refactor sphinx integration. There are now separate ``autointerface`` - and ``interface`` directives. - - -0.2.1 (2009-08-20) ------------------- - -- Fix add_directive arguments to work with Sphinx 0.6.1, now required. - - -0.1.3 (2009-01-14) ------------------- - -- Coerce unicode path elements to str in ``_resolve_dotted_name``. - Note that non-ASCII path elements won't work: this fix just deals - with the case where the path was of type unicode. - -- Fixed spelling of directive in README.txt. - -- Added dependency on ``zope.interface``. - - -0.1.2 (2008-10-03) ------------------- - -- Packaging change: improved description in README.txt. - - -0.1.1 (2008-10-03) ------------------- - -- Packaging bug: the ``long_description`` was not rendering properly to - HTML on PyPI. - - -0.1 (2008-10-02) ----------------- - -- Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/CONTRIBUTORS.txt new/repoze.sphinx.autointerface-0.8/CONTRIBUTORS.txt --- old/repoze.sphinx.autointerface-0.7.1/CONTRIBUTORS.txt 2012-04-14 18:26:15.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/CONTRIBUTORS.txt 2013-01-10 16:17:17.000000000 +0100 @@ -104,3 +104,4 @@ ------------ - Tres Seaver, 2011/03/22 +- Jason Madden, 2013/01/10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/PKG-INFO new/repoze.sphinx.autointerface-0.8/PKG-INFO --- old/repoze.sphinx.autointerface-0.7.1/PKG-INFO 2012-09-16 21:25:20.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/PKG-INFO 2016-03-29 02:41:57.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: repoze.sphinx.autointerface -Version: 0.7.1 +Version: 0.8 Summary: Sphinx extension: auto-generates API docs from Zope interfaces Home-page: http://www.repoze.org Author: Agendaless Consulting @@ -66,6 +66,16 @@ repoze.sphinx.autointerface Changelog ===================================== + 0.8 (2016-03-28) + ---------------- + + - Add support for Python 3.3, 3.4, and 3.5. + + - Drop support for Python 2.6 and 3.2. + + - Allow cross references using the ``:class:`` directive to use the + ``.`` for "fuzzy" searching. Thanks to Jason Madden for the patch. + 0.7.1 (2012-09-15) ------------------ @@ -164,10 +174,11 @@ Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2 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 :: 3.4 +Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/README.rst new/repoze.sphinx.autointerface-0.8/README.rst --- old/repoze.sphinx.autointerface-0.7.1/README.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/repoze.sphinx.autointerface-0.8/README.rst 2015-12-02 21:12:58.000000000 +0100 @@ -0,0 +1,55 @@ +repoze.sphinx.autointerface README +================================== + +Overview +-------- + +Thie package defines an extension for the +`Sphinx http://sphinx.pocool.org`_ documentation system. The extension +allows generation of API documentation by introspection of +`zope.interface http://pypi.python.org/pypi/zope.interface`_ instances in +code. + + +Installation +------------ + +Install via `easy_install +http://peak.telecommunity.com/DevCenter/EasyInstall`_:: + + $ bin/easy_install repoze.sphinx.autointerface + +or any other means which gets the package on your ``PYTHONPATH``. + + +Registering the Extension +------------------------- + +Add ``repoze.sphinx.autointerface`` to the ``extensions`` list in the +``conf.py`` of the Sphinx documentation for your product. E.g.:: + + extensions = ['sphinx.ext.autodoc', + 'sphinx.ext.doctest', + 'repoze.sphinx.autointerface', + ] + + +Using the Extension +------------------- + +At appropriate points in your document, call out the interface +autodocs via:: + + .. autointerface:: yourpackage.interfaces.IFoo + +Output from the directive includes + +- the fully-qualified interface name +- any base interfaces +- the doctstring from the interface, rendered as reSTX. +- the members of the interface (methods and attributes). + + * For each attribute, the output includes the attribute name + and its description. + * For each method, the output includes the method name, its signature, + and its docstring (also rendered as reSTX). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/README.txt new/repoze.sphinx.autointerface-0.8/README.txt --- old/repoze.sphinx.autointerface-0.7.1/README.txt 2012-04-14 18:26:15.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/README.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,55 +0,0 @@ -repoze.sphinx.autointerface README -================================== - -Overview --------- - -Thie package defines an extension for the -`Sphinx http://sphinx.pocool.org`_ documentation system. The extension -allows generation of API documentation by introspection of -`zope.interface http://pypi.python.org/pypi/zope.interface`_ instances in -code. - - -Installation ------------- - -Install via `easy_install -http://peak.telecommunity.com/DevCenter/EasyInstall`_:: - - $ bin/easy_install repoze.sphinx.autointerface - -or any other means which gets the package on your ``PYTHONPATH``. - - -Registering the Extension -------------------------- - -Add ``repoze.sphinx.autointerface`` to the ``extensions`` list in the -``conf.py`` of the Sphinx documentation for your product. E.g.:: - - extensions = ['sphinx.ext.autodoc', - 'sphinx.ext.doctest', - 'repoze.sphinx.autointerface', - ] - - -Using the Extension -------------------- - -At appropriate points in your document, call out the interface -autodocs via:: - - .. autointerface:: yourpackage.interfaces.IFoo - -Output from the directive includes - -- the fully-qualified interface name -- any base interfaces -- the doctstring from the interface, rendered as reSTX. -- the members of the interface (methods and attributes). - - * For each attribute, the output includes the attribute name - and its description. - * For each method, the output includes the method name, its signature, - and its docstring (also rendered as reSTX). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/repoze/sphinx/autointerface.py new/repoze.sphinx.autointerface-0.8/repoze/sphinx/autointerface.py --- old/repoze.sphinx.autointerface-0.7.1/repoze/sphinx/autointerface.py 2012-09-16 05:58:06.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/repoze/sphinx/autointerface.py 2015-12-02 21:11:56.000000000 +0100 @@ -65,7 +65,7 @@ specified.extend(line.split()) mapping = dict(members) members = [(x, mapping[x]) for x in specified] - member_order = (self.options.member_order or + member_order = (self.options.member_order or self.env.config.autodoc_member_order) if member_order == 'alphabetical': members.sort() @@ -103,12 +103,24 @@ self.indent = oldindent - def setup(app): try: app.add_directive_to_domain('py', 'interface', InterfaceDesc) + + from sphinx.domains import ObjType + + # Allow the :class: directive to xref interface objects through the search + # mechanism, i.e., prefixed with a '.', like :class:`.ITheInterface` + # (without this, an exact match is required) + class InterfacePythonDomain(app.domains['py']): + pass + InterfacePythonDomain.object_types = app.domains['py'].object_types.copy() + InterfacePythonDomain.object_types['interface'] = ObjType( 'interface', 'interface', 'obj', 'class') + old_class = InterfacePythonDomain.object_types['class'] + new_class = ObjType( old_class.lname, *(old_class.roles + ('interface',)), **old_class.attrs ) + InterfacePythonDomain.object_types['class'] = new_class + app.override_domain( InterfacePythonDomain ) except AttributeError: # Sphinx < 1.0 app.add_directive('interface', InterfaceDesc) app.add_autodocumenter(InterfaceDocumenter) - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/repoze.sphinx.autointerface.egg-info/PKG-INFO new/repoze.sphinx.autointerface-0.8/repoze.sphinx.autointerface.egg-info/PKG-INFO --- old/repoze.sphinx.autointerface-0.7.1/repoze.sphinx.autointerface.egg-info/PKG-INFO 2012-09-16 21:25:20.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/repoze.sphinx.autointerface.egg-info/PKG-INFO 2016-03-29 02:41:57.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: repoze.sphinx.autointerface -Version: 0.7.1 +Version: 0.8 Summary: Sphinx extension: auto-generates API docs from Zope interfaces Home-page: http://www.repoze.org Author: Agendaless Consulting @@ -66,6 +66,16 @@ repoze.sphinx.autointerface Changelog ===================================== + 0.8 (2016-03-28) + ---------------- + + - Add support for Python 3.3, 3.4, and 3.5. + + - Drop support for Python 2.6 and 3.2. + + - Allow cross references using the ``:class:`` directive to use the + ``.`` for "fuzzy" searching. Thanks to Jason Madden for the patch. + 0.7.1 (2012-09-15) ------------------ @@ -164,10 +174,11 @@ Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2 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 :: 3.4 +Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/repoze.sphinx.autointerface.egg-info/SOURCES.txt new/repoze.sphinx.autointerface-0.8/repoze.sphinx.autointerface.egg-info/SOURCES.txt --- old/repoze.sphinx.autointerface-0.7.1/repoze.sphinx.autointerface.egg-info/SOURCES.txt 2012-09-16 21:25:20.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/repoze.sphinx.autointerface.egg-info/SOURCES.txt 2016-03-29 02:41:57.000000000 +0200 @@ -1,9 +1,9 @@ .gitignore -CHANGES.txt +CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt LICENSE.txt -README.txt +README.rst TODO.txt setup.py repoze/__init__.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/repoze.sphinx.autointerface.egg-info/requires.txt new/repoze.sphinx.autointerface-0.8/repoze.sphinx.autointerface.egg-info/requires.txt --- old/repoze.sphinx.autointerface-0.7.1/repoze.sphinx.autointerface.egg-info/requires.txt 2012-09-16 21:25:20.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/repoze.sphinx.autointerface.egg-info/requires.txt 2016-03-29 02:41:57.000000000 +0200 @@ -1,3 +1,3 @@ zope.interface Sphinx>=0.6.1 -setuptools \ No newline at end of file +setuptools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/repoze.sphinx.autointerface-0.7.1/setup.py new/repoze.sphinx.autointerface-0.8/setup.py --- old/repoze.sphinx.autointerface-0.7.1/setup.py 2012-09-16 05:58:52.000000000 +0200 +++ new/repoze.sphinx.autointerface-0.8/setup.py 2016-03-29 02:41:11.000000000 +0200 @@ -17,22 +17,27 @@ from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, 'README.txt')).read() -CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() + +with open(os.path.join(here, 'README.rst')) as f: + README = f.read() + +with open(os.path.join(here, 'CHANGES.rst')) as f: + CHANGES = f.read() setup(name='repoze.sphinx.autointerface', - version='0.7.1', + version='0.8', description='Sphinx extension: auto-generates API docs ' 'from Zope interfaces', long_description=README + '\n\n' + CHANGES, classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "Programming Language :: Python", - "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.2", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ],