Hello community,
here is the log from the commit of package python-venusian for openSUSE:Factory checked in at 2019-02-11 21:23:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-venusian (Old)
and /work/SRC/openSUSE:Factory/.python-venusian.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-venusian"
Mon Feb 11 21:23:24 2019 rev:6 rq:672730 version:1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-venusian/python-venusian.changes 2018-11-09 07:55:52.927610758 +0100
+++ /work/SRC/openSUSE:Factory/.python-venusian.new.28833/python-venusian.changes 2019-02-11 21:23:27.247142868 +0100
@@ -1,0 +2,10 @@
+Thu Feb 7 16:26:44 UTC 2019 - Hans-Peter Jansen
+
+- Update to version 1.2.0 (2019-01-08)
+ + Add support for Python 3.7.
+ + Drop support for Python 3.3.
+- Combine package-doc and package spec
+- add fix-pylons-sphinx-theme.diff patch
+ to generate docs with the pylons-sphinx-themes package
+
+-------------------------------------------------------------------
Old:
----
pre_checkin.sh
python-venusian-doc.changes
python-venusian-doc.spec
venusian-1.1.0.tar.gz
New:
----
fix-pylons-sphinx-theme.diff
venusian-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-venusian.spec ++++++
--- /var/tmp/diff_new_pack.VfXf1O/_old 2019-02-11 21:23:28.431142232 +0100
+++ /var/tmp/diff_new_pack.VfXf1O/_new 2019-02-11 21:23:28.459142218 +0100
@@ -1,8 +1,8 @@
#
# spec file for package python-venusian
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-venusian
-Version: 1.1.0
+Version: 1.2.0
Release: 0
Summary: A library for deferring decorator actions
License: SUSE-Repoze AND ZPL-2.1
Group: Development/Languages/Python
URL: https://github.com/Pylons/venusian
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
+Patch: fix-pylons-sphinx-theme.diff
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -37,6 +38,10 @@
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
# /SECTION
+# SECTION documentation requirements
+BuildRequires: python3-Sphinx
+BuildRequires: python3-pylons-sphinx-themes
+# /SECTION
%python_subpackages
%description
@@ -48,12 +53,22 @@
See the "docs" directory of the package or the online documentation at
http://docs.pylonsproject.org/projects/venusian/dev/.
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation/HTML
+Requires: %{name} = %{version}
+
+%description doc
+This package contains documentation files for %{name}.
+
%prep
%setup -q -n venusian-%{version}
+%patch -p1
rm -rf venusian.egg-info
%build
%python_build
+python3 setup.py build_sphinx && rm -v build/sphinx/html/{.buildinfo,objects.inv}
%install
%python_install
@@ -68,4 +83,8 @@
%{python_sitelib}/venusian
%{python_sitelib}/venusian-%{version}-py%{python_version}.egg-info
+%files %{python_files doc}
+%license LICENSE.txt
+%doc build/sphinx/html/
+
%changelog
++++++ fix-pylons-sphinx-theme.diff ++++++
Index: b/docs/conf.py
===================================================================
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,38 +17,10 @@ import os
import datetime
import pkg_resources
-# Add and use Pylons theme
-if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
- from subprocess import call, Popen, PIPE
+import pylons_sphinx_themes
- p = Popen('which git', shell=True, stdout=PIPE)
- git = p.stdout.read().strip()
- cwd = os.getcwd()
- _themes = os.path.join(cwd, '_themes')
-
- if not os.path.isdir(_themes):
- call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git',
- '_themes'])
- else:
- os.chdir(_themes)
- call([git, 'checkout', 'master'])
- call([git, 'pull'])
- os.chdir(cwd)
-
- sys.path.append(os.path.abspath('_themes'))
-
- parent = os.path.dirname(os.path.dirname(__file__))
- sys.path.append(os.path.abspath(parent))
- wd = os.getcwd()
- os.chdir(parent)
- sys.path.append(parent)
-
-# Options for HTML output
-# -----------------------
-
-sys.path.append(os.path.abspath('_themes'))
-html_theme_path = ['_themes']
html_theme = 'pylons'
+html_theme_path = pylons_sphinx_themes.get_html_themes_path()
html_theme_options = dict(github_url='https://github.com/Pylons/venusian')
# If your extensions are in another directory, add it here. If the
++++++ venusian-1.1.0.tar.gz -> venusian-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/.travis.yml new/venusian-1.2.0/.travis.yml
--- old/venusian-1.1.0/.travis.yml 2017-04-25 02:58:07.000000000 +0200
+++ new/venusian-1.2.0/.travis.yml 2019-01-08 19:37:06.000000000 +0100
@@ -18,10 +18,10 @@
env: TOXENV=docs
- python: 3.6
env: TOXENV=py36
- - python: nightly
+ - python: 3.7
env: TOXENV=py37
- allow_failures:
- - env: TOXENV=py37
+ dist: xenial
+ sudo: true
install:
- travis_retry pip install tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/CHANGES.rst new/venusian-1.2.0/CHANGES.rst
--- old/venusian-1.1.0/CHANGES.rst 2017-04-25 03:00:40.000000000 +0200
+++ new/venusian-1.2.0/CHANGES.rst 2019-01-08 20:16:42.000000000 +0100
@@ -1,3 +1,10 @@
+1.2.0 (2019-01-08)
+------------------
+
+- Add support for Python 3.7.
+
+- Drop support for Python 3.3.
+
1.1.0 (2017-04-24)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/CONTRIBUTORS.txt new/venusian-1.2.0/CONTRIBUTORS.txt
--- old/venusian-1.1.0/CONTRIBUTORS.txt 2017-04-25 02:58:57.000000000 +0200
+++ new/venusian-1.2.0/CONTRIBUTORS.txt 2017-09-10 01:36:47.000000000 +0200
@@ -108,3 +108,4 @@
- Wichert Akkerman, 2015/02/23
- Marc Abramowitz, 2015/02/24
- Bert JW Regeer, 2017-04-24
+- Steve Piercy, 2017-08-31
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/PKG-INFO new/venusian-1.2.0/PKG-INFO
--- old/venusian-1.1.0/PKG-INFO 2017-04-25 03:03:17.000000000 +0200
+++ new/venusian-1.2.0/PKG-INFO 2019-01-08 20:19:52.000000000 +0100
@@ -1,8 +1,8 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: venusian
-Version: 1.1.0
+Version: 1.2.0
Summary: A library for deferring decorator actions
-Home-page: http://pylonsproject.org
+Home-page: https://pylonsproject.org
Author: Chris McDonough, Agendaless Consulting
Author-email: pylons-devel@googlegroups.com
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
@@ -13,7 +13,7 @@
:target: https://travis-ci.org/Pylons/venusian
.. image:: https://readthedocs.org/projects/venusian/badge/?version=latest
- :target: http://docs.pylonsproject.org/projects/venusian/en/latest/
+ :target: https://docs.pylonsproject.org/projects/venusian/en/latest/
:alt: Documentation Status
Venusian is a library which allows framework authors to defer
@@ -22,9 +22,16 @@
usually taken by the decorator until a separate "scan" phase.
See the "docs" directory of the package or the online documentation at
- http://docs.pylonsproject.org/projects/venusian/en/latest/
+ https://docs.pylonsproject.org/projects/venusian/en/latest/
+ 1.2.0 (2019-01-08)
+ ------------------
+
+ - Add support for Python 3.7.
+
+ - Drop support for Python 3.3.
+
1.1.0 (2017-04-24)
------------------
@@ -240,9 +247,11 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
+Provides-Extra: docs
+Provides-Extra: testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/README.rst new/venusian-1.2.0/README.rst
--- old/venusian-1.1.0/README.rst 2017-04-25 02:02:03.000000000 +0200
+++ new/venusian-1.2.0/README.rst 2017-09-10 01:36:47.000000000 +0200
@@ -5,7 +5,7 @@
:target: https://travis-ci.org/Pylons/venusian
.. image:: https://readthedocs.org/projects/venusian/badge/?version=latest
- :target: http://docs.pylonsproject.org/projects/venusian/en/latest/
+ :target: https://docs.pylonsproject.org/projects/venusian/en/latest/
:alt: Documentation Status
Venusian is a library which allows framework authors to defer
@@ -14,4 +14,4 @@
usually taken by the decorator until a separate "scan" phase.
See the "docs" directory of the package or the online documentation at
-http://docs.pylonsproject.org/projects/venusian/en/latest/
+https://docs.pylonsproject.org/projects/venusian/en/latest/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/setup.cfg new/venusian-1.2.0/setup.cfg
--- old/venusian-1.1.0/setup.cfg 2017-04-25 03:03:17.000000000 +0200
+++ new/venusian-1.2.0/setup.cfg 2019-01-08 20:19:52.000000000 +0100
@@ -1,6 +1,9 @@
[easy_install]
zip_ok = false
+[bdist_wheel]
+universal = 1
+
[tools:pytest]
ignore = venusian/tests/fixtures/
testpaths = venusian/tests/
@@ -12,5 +15,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/setup.py new/venusian-1.2.0/setup.py
--- old/venusian-1.1.0/setup.py 2017-04-25 02:59:51.000000000 +0200
+++ new/venusian-1.2.0/setup.py 2019-01-08 20:16:16.000000000 +0100
@@ -40,7 +40,7 @@
]
setup(name='venusian',
- version='1.1.0',
+ version='1.2.0',
description='A library for deferring decorator actions',
long_description=README + '\n\n' + CHANGES,
classifiers=[
@@ -49,17 +49,17 @@
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords='web wsgi zope',
author="Chris McDonough, Agendaless Consulting",
author_email="pylons-devel@googlegroups.com",
- url="http://pylonsproject.org",
+ url="https://pylonsproject.org",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
include_package_data=True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/tox.ini new/venusian-1.2.0/tox.ini
--- old/venusian-1.1.0/tox.ini 2017-04-25 02:58:07.000000000 +0200
+++ new/venusian-1.2.0/tox.ini 2019-01-08 19:32:37.000000000 +0100
@@ -1,6 +1,6 @@
[tox]
envlist =
- py27,py33,py34,py35,py36,py37,pypy,
+ py27,py34,py35,py36,py37,pypy,
docs,
{py2,py3}-cover,coverage,
skip_missing_interpreters = True
@@ -10,7 +10,6 @@
# to defaults for others.
basepython =
py27: python2.7
- py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/venusian/tests/test_advice.py new/venusian-1.2.0/venusian/tests/test_advice.py
--- old/venusian-1.1.0/venusian/tests/test_advice.py 2017-04-25 02:02:03.000000000 +0200
+++ new/venusian-1.2.0/venusian/tests/test_advice.py 2019-01-08 19:39:31.000000000 +0100
@@ -48,36 +48,36 @@
def testModuleInfo(self):
kind, module, f_locals, f_globals, codeinfo = moduleLevelFrameInfo
- self.assertEquals(kind, "module")
+ self.assertEqual(kind, "module")
for d in module.__dict__, f_locals, f_globals:
- self.assert_(d is globals())
+ self.assertTrue(d is globals())
self.assertEqual(len(codeinfo), 4)
if not PY3:
def testClassicClassInfo(self):
(kind, module, f_locals, f_globals,
codeinfo) = ClassicClass.classLevelFrameInfo
- self.assertEquals(kind, "class")
+ self.assertEqual(kind, "class")
- self.assert_(f_locals is ClassicClass.__dict__) # ???
+ self.assertTrue(f_locals is ClassicClass.__dict__) # ???
for d in module.__dict__, f_globals:
- self.assert_(d is globals())
+ self.assertTrue(d is globals())
self.assertEqual(len(codeinfo), 4)
def testNewStyleClassInfo(self):
(kind, module, f_locals,
f_globals, codeinfo) = NewStyleClass.classLevelFrameInfo
- self.assertEquals(kind, "class")
+ self.assertEqual(kind, "class")
for d in module.__dict__, f_globals:
- self.assert_(d is globals())
+ self.assertTrue(d is globals())
self.assertEqual(len(codeinfo), 4)
def testCallInfo(self):
(kind, module, f_locals, f_globals,
codeinfo) = advice.getFrameInfo(sys._getframe())
- self.assertEquals(kind, "function call")
- self.assert_(f_locals is locals()) # ???
+ self.assertEqual(kind, "function call")
+ self.assertTrue(f_locals is locals()) # ???
for d in module.__dict__, f_globals:
- self.assert_(d is globals())
+ self.assertTrue(d is globals())
self.assertEqual(len(codeinfo), 4)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/venusian-1.1.0/venusian.egg-info/PKG-INFO new/venusian-1.2.0/venusian.egg-info/PKG-INFO
--- old/venusian-1.1.0/venusian.egg-info/PKG-INFO 2017-04-25 03:03:17.000000000 +0200
+++ new/venusian-1.2.0/venusian.egg-info/PKG-INFO 2019-01-08 20:19:51.000000000 +0100
@@ -1,8 +1,8 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: venusian
-Version: 1.1.0
+Version: 1.2.0
Summary: A library for deferring decorator actions
-Home-page: http://pylonsproject.org
+Home-page: https://pylonsproject.org
Author: Chris McDonough, Agendaless Consulting
Author-email: pylons-devel@googlegroups.com
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
@@ -13,7 +13,7 @@
:target: https://travis-ci.org/Pylons/venusian
.. image:: https://readthedocs.org/projects/venusian/badge/?version=latest
- :target: http://docs.pylonsproject.org/projects/venusian/en/latest/
+ :target: https://docs.pylonsproject.org/projects/venusian/en/latest/
:alt: Documentation Status
Venusian is a library which allows framework authors to defer
@@ -22,9 +22,16 @@
usually taken by the decorator until a separate "scan" phase.
See the "docs" directory of the package or the online documentation at
- http://docs.pylonsproject.org/projects/venusian/en/latest/
+ https://docs.pylonsproject.org/projects/venusian/en/latest/
+ 1.2.0 (2019-01-08)
+ ------------------
+
+ - Add support for Python 3.7.
+
+ - Drop support for Python 3.3.
+
1.1.0 (2017-04-24)
------------------
@@ -240,9 +247,11 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
+Provides-Extra: docs
+Provides-Extra: testing