Hello community,
here is the log from the commit of package python-GooCalendar for
openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-GooCalendar (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-GooCalendar.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-GooCalendar"
Tue Apr 21 19:07:17 2020 rev:15 rq:796047 version:0.7.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-GooCalendar/python-GooCalendar.changes
2020-03-10 17:12:40.141402451 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-GooCalendar.new.2738/python-GooCalendar.changes
2020-04-21 19:08:41.284131164 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 19:28:00 UTC 2020 - Axel Braun <[email protected]>
+
+- 0.7.1 bugfix release
+
+-------------------------------------------------------------------
Old:
----
GooCalendar-0.7.0.tar.gz
New:
----
GooCalendar-0.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-GooCalendar.spec ++++++
--- /var/tmp/diff_new_pack.8CbFTS/_old 2020-04-21 19:08:41.636131881 +0200
+++ /var/tmp/diff_new_pack.8CbFTS/_new 2020-04-21 19:08:41.636131881 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-GooCalendar
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2016-2020 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-GooCalendar
-Version: 0.7.0
+Version: 0.7.1
Release: 0
Summary: A calendar widget for GTK using PyGoocanvas
License: GPL-2.0-only
++++++ GooCalendar-0.7.0.tar.gz -> GooCalendar-0.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/.flake8
new/GooCalendar-0.7.1/.flake8
--- old/GooCalendar-0.7.0/.flake8 1970-01-01 01:00:00.000000000 +0100
+++ new/GooCalendar-0.7.1/.flake8 2020-03-01 00:43:06.000000000 +0100
@@ -0,0 +1,2 @@
+[flake8]
+ignore=E123,E124,E126,E128,W503
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/.hgtags
new/GooCalendar-0.7.1/.hgtags
--- old/GooCalendar-0.7.0/.hgtags 2020-02-23 16:49:59.000000000 +0100
+++ new/GooCalendar-0.7.1/.hgtags 2020-04-18 16:48:28.000000000 +0200
@@ -5,3 +5,4 @@
fb5fc95a2f043fd985332b3044858913667f5fa7 0.5
5a820de88fb33d1a8648d9f0862c275bd9d719bc 0.6
2863da4bcf0fccf2ca705ff7ff40d8611bf2d534 0.7.0
+a36bcc9d656432bdf3285bfd2b68471cd058f56c 0.7.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/CHANGELOG
new/GooCalendar-0.7.1/CHANGELOG
--- old/GooCalendar-0.7.0/CHANGELOG 2020-02-23 16:49:43.000000000 +0100
+++ new/GooCalendar-0.7.1/CHANGELOG 2020-04-18 16:47:27.000000000 +0200
@@ -1,3 +1,6 @@
+Version 0.7.1 - 2020-04-18
+* Bug fixes (see mercurial logs for details)
+
Version 0.7.0 - 2020-02-23
* Bug fixes (see mercurial logs for details)
* Use Gtk default font as font by default
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/GooCalendar.egg-info/PKG-INFO
new/GooCalendar-0.7.1/GooCalendar.egg-info/PKG-INFO
--- old/GooCalendar-0.7.0/GooCalendar.egg-info/PKG-INFO 2020-02-23
16:50:12.000000000 +0100
+++ new/GooCalendar-0.7.1/GooCalendar.egg-info/PKG-INFO 2020-04-18
16:49:03.000000000 +0200
@@ -1,11 +1,16 @@
Metadata-Version: 1.2
Name: GooCalendar
-Version: 0.7.0
+Version: 0.7.1
Summary: A calendar widget for GTK using PyGoocanvas
-Home-page: https://goocalendar.tryton.org/
-Author: Cédric Krier
-Author-email: [email protected]
+Home-page: https://pypi.python.org/pypi/goocalendar
+Author: Tryton
+Author-email: [email protected]
License: GPL-2
+Download-URL: https://downloads.tryton.org/goocalendar/
+Project-URL: Bug Tracker, https://goocalendar.tryton.org/
+Project-URL: Documentation, https://goocalendar.readthedocs.org/
+Project-URL: Forum, https://discuss.tryton.org/tags/goocalendar
+Project-URL: Source Code, https://hg.tryton.org/goocalendar/
Description: GooCalendar
===========
@@ -25,6 +30,7 @@
... bg_color='lightgreen')
>>> event_store.add(event)
+Keywords: calendar GTK GooCanvas widget
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: X11 Applications :: GTK
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/GooCalendar.egg-info/SOURCES.txt
new/GooCalendar-0.7.1/GooCalendar.egg-info/SOURCES.txt
--- old/GooCalendar-0.7.0/GooCalendar.egg-info/SOURCES.txt 2020-02-23
16:50:12.000000000 +0100
+++ new/GooCalendar-0.7.1/GooCalendar.egg-info/SOURCES.txt 2020-04-18
16:49:04.000000000 +0200
@@ -1,7 +1,7 @@
+.flake8
.hgtags
CHANGELOG
COPYRIGHT
-INSTALL
LICENSE
MANIFEST.in
README
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/INSTALL
new/GooCalendar-0.7.1/INSTALL
--- old/GooCalendar-0.7.0/INSTALL 2019-02-22 16:28:13.000000000 +0100
+++ new/GooCalendar-0.7.1/INSTALL 1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-Installing GooCalendar
-======================
-
-Prerequisites
--------------
-
- * Python (http://www.python.org/)
- * GooCanvas >= 2.0 (https://wiki.gnome.org/Projects/GooCanvas)
- * gtk+ 3.20 or later and py-gobject3 3.20 or later (http://www.gtk.org/)
-
-Installation
-------------
-
-Once you've downloaded and unpacked the GooCalendar source release, enter the
-directory where the archive was unpacked, and run:
-
- python setup.py install
-
-Note that you may need administrator/root privileges for this step, as
-this command will by default attempt to install module to the Python
-site-packages directory on your system.
-
-For advanced options, please refer to the easy_install and/or the distutils
-documentation:
-
- http://peak.telecommunity.com/DevCenter/EasyInstall
- http://docs.python.org/inst/inst.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/MANIFEST.in
new/GooCalendar-0.7.1/MANIFEST.in
--- old/GooCalendar-0.7.0/MANIFEST.in 2018-08-18 15:18:30.000000000 +0200
+++ new/GooCalendar-0.7.1/MANIFEST.in 2020-02-23 17:28:11.000000000 +0100
@@ -2,5 +2,4 @@
include COPYRIGHT
include README
include CHANGELOG
-include INSTALL
include doc/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/PKG-INFO
new/GooCalendar-0.7.1/PKG-INFO
--- old/GooCalendar-0.7.0/PKG-INFO 2020-02-23 16:50:12.000000000 +0100
+++ new/GooCalendar-0.7.1/PKG-INFO 2020-04-18 16:49:04.000000000 +0200
@@ -1,11 +1,16 @@
Metadata-Version: 1.2
Name: GooCalendar
-Version: 0.7.0
+Version: 0.7.1
Summary: A calendar widget for GTK using PyGoocanvas
-Home-page: https://goocalendar.tryton.org/
-Author: Cédric Krier
-Author-email: [email protected]
+Home-page: https://pypi.python.org/pypi/goocalendar
+Author: Tryton
+Author-email: [email protected]
License: GPL-2
+Download-URL: https://downloads.tryton.org/goocalendar/
+Project-URL: Bug Tracker, https://goocalendar.tryton.org/
+Project-URL: Documentation, https://goocalendar.readthedocs.org/
+Project-URL: Forum, https://discuss.tryton.org/tags/goocalendar
+Project-URL: Source Code, https://hg.tryton.org/goocalendar/
Description: GooCalendar
===========
@@ -25,6 +30,7 @@
... bg_color='lightgreen')
>>> event_store.add(event)
+Keywords: calendar GTK GooCanvas widget
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: X11 Applications :: GTK
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/doc/conf.py
new/GooCalendar-0.7.1/doc/conf.py
--- old/GooCalendar-0.7.0/doc/conf.py 2019-10-05 23:27:37.000000000 +0200
+++ new/GooCalendar-0.7.1/doc/conf.py 2020-03-01 00:46:04.000000000 +0100
@@ -11,15 +11,10 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
-
# -- General configuration ----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
+# needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
@@ -32,7 +27,7 @@
source_suffix = '.rst'
# The encoding of source files.
-#source_encoding = 'utf-8-sig'
+# source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
@@ -48,41 +43,41 @@
# The short X.Y version.
version = '0.7'
# The full version, including alpha/beta/rc tags.
-release = '0.7.0'
+release = '0.7.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
-#language = None
+# language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
-#today = ''
+# today = ''
# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
+# today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents
-#default_role = None
+# default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
+# add_function_parentheses = True
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
-#add_module_names = True
+# add_module_names = True
# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
-#show_authors = False
+# show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
+# modindex_common_prefix = []
# -- Options for HTML output --------------------------------------------------
@@ -94,26 +89,26 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
-#html_theme_options = {}
+# html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
+# html_theme_path = []
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-#html_title = None
+# html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
-#html_short_title = None
+# html_short_title = None
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
-#html_logo = None
+# html_logo = None
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
-#html_favicon = None
+# html_favicon = None
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
@@ -122,44 +117,44 @@
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
+# html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
-#html_use_smartypants = True
+# html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
+# html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to
# template names.
-#html_additional_pages = {}
+# html_additional_pages = {}
# If false, no module index is generated.
-#html_domain_indices = True
+# html_domain_indices = True
# If false, no index is generated.
-#html_use_index = True
+# html_use_index = True
# If true, the index is split into individual pages for each letter.
-#html_split_index = False
+# html_split_index = False
# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
+# html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
+# html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
+# html_show_copyright = True
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
+# html_use_opensearch = ''
# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
+# html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'GooCalendardoc'
@@ -168,14 +163,14 @@
# -- Options for LaTeX output -------------------------------------------------
latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
+ # The paper size ('letterpaper' or 'a4paper').
+ # 'papersize': 'letterpaper',
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
+ # The font size ('10pt', '11pt' or '12pt').
+ # 'pointsize': '10pt',
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
+ # Additional stuff for the LaTeX preamble.
+ # 'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
@@ -187,23 +182,23 @@
# The name of an image file (relative to this directory) to place at the top of
# the title page.
-#latex_logo = None
+# latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
-#latex_use_parts = False
+# latex_use_parts = False
# If true, show page references after internal links.
-#latex_show_pagerefs = False
+# latex_show_pagerefs = False
# If true, show URL addresses after external links.
-#latex_show_urls = False
+# latex_show_urls = False
# Documents to append as an appendix to all manuals.
-#latex_appendices = []
+# latex_appendices = []
# If false, no module index is generated.
-#latex_domain_indices = True
+# latex_domain_indices = True
# -- Options for manual page output -------------------------------------------
@@ -216,7 +211,7 @@
]
# If true, show URL addresses after external links.
-#man_show_urls = False
+# man_show_urls = False
# -- Options for Texinfo output -----------------------------------------------
@@ -227,18 +222,18 @@
texinfo_documents = [
('index', 'GooCalendar', 'GooCalendar Documentation',
u'Samuel Abels, Cédric Krier, Antoine Smolders', 'GooCalendar',
- 'One line description of project.',
- 'Miscellaneous'),
+ 'calendar widget for GTK',
+ 'Widget'),
]
# Documents to append as an appendix to all manuals.
-#texinfo_appendices = []
+# texinfo_appendices = []
# If false, no module index is generated.
-#texinfo_domain_indices = True
+# texinfo_domain_indices = True
# How to display URL addresses: 'footnote', 'no', or 'inline'.
-#texinfo_show_urls = 'footnote'
+# texinfo_show_urls = 'footnote'
# -- Options for Epub output --------------------------------------------------
@@ -251,34 +246,34 @@
# The language of the text. It defaults to the language option
# or en if the language is not set.
-#epub_language = ''
+# epub_language = ''
# The scheme of the identifier. Typical schemes are ISBN or URL.
-#epub_scheme = ''
+# epub_scheme = ''
# The unique identifier of the text. This can be a ISBN number
# or the project homepage.
-#epub_identifier = ''
+# epub_identifier = ''
# A unique identification for the text.
-#epub_uid = ''
+# epub_uid = ''
# A tuple containing the cover image and cover page html template filenames.
-#epub_cover = ()
+# epub_cover = ()
# HTML files that should be inserted before the pages created by sphinx.
# The format is a list of tuples containing the path and title.
-#epub_pre_files = []
+# epub_pre_files = []
# HTML files shat should be inserted after the pages created by sphinx.
# The format is a list of tuples containing the path and title.
-#epub_post_files = []
+# epub_post_files = []
# A list of files that should not be packed into the epub file.
-#epub_exclude_files = []
+# epub_exclude_files = []
# The depth of the table of contents in toc.ncx.
-#epub_tocdepth = 3
+# epub_tocdepth = 3
# Allow duplicate toc entries.
-#epub_tocdup = True
+# epub_tocdup = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/goocalendar/__init__.py
new/GooCalendar-0.7.1/goocalendar/__init__.py
--- old/GooCalendar-0.7.0/goocalendar/__init__.py 2019-10-05
23:26:33.000000000 +0200
+++ new/GooCalendar-0.7.1/goocalendar/__init__.py 2020-03-01
00:46:58.000000000 +0100
@@ -4,8 +4,8 @@
gi.require_version('Gtk', '3.0')
gi.require_version('Gdk', '3.0')
gi.require_version('GooCanvas', '2.0')
-from ._calendar import Calendar
-from ._event import Event, EventStore
+from ._calendar import Calendar # noqa: E402
+from ._event import Event, EventStore # noqa: E402
__all__ = ['Calendar', 'EventStore', 'Event']
-__version__ = '0.7.0'
+__version__ = '0.7.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/goocalendar/_calendar.py
new/GooCalendar-0.7.1/goocalendar/_calendar.py
--- old/GooCalendar-0.7.0/goocalendar/_calendar.py 2020-02-23
16:38:42.000000000 +0100
+++ new/GooCalendar-0.7.1/goocalendar/_calendar.py 2020-03-11
14:07:59.000000000 +0100
@@ -619,9 +619,10 @@
self._timeline.set_property(
'visibility', GooCanvas.CanvasItemVisibility.VISIBLE)
x, y, w, h = self.get_bounds()
+ max_y += (h - max_y) % 24
self._timeline.x = x
self._timeline.y = max_y
- self._timeline.height = h - max_y - 2
+ self._timeline.height = h - max_y
self._timeline.line_color = self.props.body_color
self._timeline.bg_color = self.props.border_color
self._timeline.text_color = self.props.text_color
@@ -745,10 +746,11 @@
gtk_settings = Gtk.Settings.get_default()
double_click_distance = gtk_settings.props.gtk_double_click_distance
double_click_time = gtk_settings.props.gtk_double_click_time
- if (self._last_click_x is not None and
- event.time < (self._last_click_time + double_click_time) and
- abs(event.x - self._last_click_x) <= double_click_distance and
- abs(event.y - self._last_click_y) <= double_click_distance):
+ if (self._last_click_x is not None
+ and event.time < (self._last_click_time + double_click_time)
+ and abs(event.x - self._last_click_x) <= double_click_distance
+ and abs(event.y - self._last_click_y) <= double_click_distance
+ ):
self._last_click_x = None
self._last_click_y = None
self._last_click_time = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/GooCalendar-0.7.0/setup.py
new/GooCalendar-0.7.1/setup.py
--- old/GooCalendar-0.7.0/setup.py 2019-12-26 10:29:08.000000000 +0100
+++ new/GooCalendar-0.7.1/setup.py 2020-02-23 17:08:06.000000000 +0100
@@ -22,11 +22,19 @@
setup(name='GooCalendar',
version=get_version(),
- author='Cédric Krier',
- author_email='[email protected]',
- url='https://goocalendar.tryton.org/',
description='A calendar widget for GTK using PyGoocanvas',
long_description=read('README'),
+ author='Tryton',
+ author_email='[email protected]',
+ url='https://pypi.python.org/pypi/goocalendar',
+ download_url='https://downloads.tryton.org/goocalendar/',
+ project_urls={
+ "Bug Tracker": 'https://goocalendar.tryton.org/',
+ "Documentation": 'https://goocalendar.readthedocs.org/',
+ "Forum": 'https://discuss.tryton.org/tags/goocalendar',
+ "Source Code": 'https://hg.tryton.org/goocalendar/',
+ },
+ keywords='calendar GTK GooCanvas widget',
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',