Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-GooCalendar for openSUSE:Factory checked in at 2023-03-21 17:43:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-GooCalendar (Old) and /work/SRC/openSUSE:Factory/.python-GooCalendar.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-GooCalendar" Tue Mar 21 17:43:41 2023 rev:10 rq:1073388 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-GooCalendar/python-GooCalendar.changes 2021-08-16 10:17:46.918642749 +0200 +++ /work/SRC/openSUSE:Factory/.python-GooCalendar.new.31432/python-GooCalendar.changes 2023-03-21 17:44:27.754672397 +0100 @@ -1,0 +2,6 @@ +Sun Mar 19 08:24:52 UTC 2023 - Axel Braun <[email protected]> + +- Version 0.8.0 + * Manage preferred size + +------------------------------------------------------------------- Old: ---- GooCalendar-0.7.2.tar.gz New: ---- GooCalendar-0.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-GooCalendar.spec ++++++ --- /var/tmp/diff_new_pack.jpB7Te/_old 2023-03-21 17:44:28.378675382 +0100 +++ /var/tmp/diff_new_pack.jpB7Te/_new 2023-03-21 17:44:28.382675401 +0100 @@ -1,8 +1,8 @@ # # spec file for package python-GooCalendar # -# Copyright (c) 2021 SUSE LLC -# Copyright (c) 2016-2021 Dr. Axel Braun +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2016-2023 Dr. Axel Braun <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-GooCalendar -Version: 0.7.2 +Version: 0.8.0 Release: 0 Summary: A calendar widget for GTK using PyGoocanvas License: GPL-2.0-only @@ -52,6 +51,7 @@ %files %{python_files} %license LICENSE %doc README COPYRIGHT -%{python_sitelib}/* +%{python_sitelib}/goocalendar +%{python_sitelib}/GooCalendar-%{version}*-info %changelog ++++++ GooCalendar-0.7.2.tar.gz -> GooCalendar-0.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/.gitlab-ci.yml new/GooCalendar-0.8.0/.gitlab-ci.yml --- old/GooCalendar-0.7.2/.gitlab-ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/GooCalendar-0.8.0/.gitlab-ci.yml 2023-02-10 09:45:27.000000000 +0100 @@ -0,0 +1,43 @@ +workflow: + rules: + - if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ && $CI_PIPELINE_SOURCE == "push" + when: never + - when: always + +stages: + - check + +.check: + stage: check + rules: + - if: $CI_MERGE_REQUEST_ID != null + when: always + image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci + +check-doc: + extends: .check + image: sphinxdoc/sphinx + script: + - python -m sphinx -T -E -W -n -b html doc _build/html + - python -m sphinx -T -E -W -n -b linkcheck doc _build + rules: + - changes: + - doc/**/* + +check-flake8: + extends: .check + script: + - flake8 + +check-isort: + extends: .check + script: + - isort -m VERTICAL_GRID -c . + +check-dist: + extends: .check + before_script: + - pip install twine + script: + - python setup.py sdist + - twine check dist/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/.hgtags new/GooCalendar-0.8.0/.hgtags --- old/GooCalendar-0.7.2/.hgtags 2021-03-28 12:02:21.000000000 +0200 +++ new/GooCalendar-0.8.0/.hgtags 2023-03-18 13:57:23.000000000 +0100 @@ -7,3 +7,4 @@ 2863da4bcf0fccf2ca705ff7ff40d8611bf2d534 0.7.0 a36bcc9d656432bdf3285bfd2b68471cd058f56c 0.7.1 4019f2c37162f7152dcdf0699859ad2a181d17f3 0.7.2 +20492e36ee9fae574d73e5faf3f4cff9ec7038f2 0.8.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/CHANGELOG new/GooCalendar-0.8.0/CHANGELOG --- old/GooCalendar-0.7.2/CHANGELOG 2021-03-28 12:02:04.000000000 +0200 +++ new/GooCalendar-0.8.0/CHANGELOG 2023-03-18 13:51:30.000000000 +0100 @@ -1,3 +1,6 @@ +Version 0.8.0 - 2023-03-18 +* Manage preferred size + Version 0.7.2 - 2021-03-28 * Add support GooCanvas 3.0 * Add selected text color property diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/COPYRIGHT new/GooCalendar-0.8.0/COPYRIGHT --- old/GooCalendar-0.7.2/COPYRIGHT 2020-04-18 16:47:54.000000000 +0200 +++ new/GooCalendar-0.8.0/COPYRIGHT 2023-03-18 13:56:51.000000000 +0100 @@ -1,5 +1,5 @@ Copyright (C) 2012 Antoine Smolders -Copyright (C) 2012-2020 Cédric Krier +Copyright (C) 2012-2022 Cédric Krier Copyright (C) 2007 Samuel Abels <http://debain.org> This program is free software; you can redistribute it and/or diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/GooCalendar.egg-info/PKG-INFO new/GooCalendar-0.8.0/GooCalendar.egg-info/PKG-INFO --- old/GooCalendar-0.7.2/GooCalendar.egg-info/PKG-INFO 2021-03-28 12:03:03.000000000 +0200 +++ new/GooCalendar-0.8.0/GooCalendar.egg-info/PKG-INFO 2023-03-18 13:58:01.000000000 +0100 @@ -1,37 +1,17 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: GooCalendar -Version: 0.7.2 +Version: 0.8.0 Summary: A calendar widget for GTK using PyGoocanvas Home-page: https://pypi.python.org/pypi/goocalendar +Download-URL: https://downloads.tryton.org/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 - =========== - - A calendar widget for GTK using GooCanvas - - Nutshell - -------- - - Example usage:: - - >>> import datetime - >>> import goocalendar - >>> event_store = goocalendar.EventStore() - >>> calendar = goocalendar.Calendar(event_store) - >>> event = goocalendar.Event('Birthday', - ... datetime.date.today(), - ... bg_color='lightgreen') - >>> event_store.add(event) - +Project-URL: Source Code, https://code.tryton.org/goocalendar Keywords: calendar GTK GooCanvas widget -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: X11 Applications :: GTK Classifier: Intended Audience :: Developers @@ -41,3 +21,23 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Widget Sets Requires-Python: >=3.4 +License-File: LICENSE + +GooCalendar +=========== + +A calendar widget for GTK using GooCanvas + +Nutshell +-------- + +Example usage:: + + >>> import datetime + >>> import goocalendar + >>> event_store = goocalendar.EventStore() + >>> calendar = goocalendar.Calendar(event_store) + >>> event = goocalendar.Event('Birthday', + ... datetime.date.today(), + ... bg_color='lightgreen') + >>> event_store.add(event) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/GooCalendar.egg-info/SOURCES.txt new/GooCalendar-0.8.0/GooCalendar.egg-info/SOURCES.txt --- old/GooCalendar-0.7.2/GooCalendar.egg-info/SOURCES.txt 2021-03-28 12:03:03.000000000 +0200 +++ new/GooCalendar-0.8.0/GooCalendar.egg-info/SOURCES.txt 2023-03-18 13:58:01.000000000 +0100 @@ -1,4 +1,5 @@ .flake8 +.gitlab-ci.yml .hgtags CHANGELOG COPYRIGHT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/PKG-INFO new/GooCalendar-0.8.0/PKG-INFO --- old/GooCalendar-0.7.2/PKG-INFO 2021-03-28 12:03:03.785156200 +0200 +++ new/GooCalendar-0.8.0/PKG-INFO 2023-03-18 13:58:01.825082500 +0100 @@ -1,37 +1,17 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: GooCalendar -Version: 0.7.2 +Version: 0.8.0 Summary: A calendar widget for GTK using PyGoocanvas Home-page: https://pypi.python.org/pypi/goocalendar +Download-URL: https://downloads.tryton.org/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 - =========== - - A calendar widget for GTK using GooCanvas - - Nutshell - -------- - - Example usage:: - - >>> import datetime - >>> import goocalendar - >>> event_store = goocalendar.EventStore() - >>> calendar = goocalendar.Calendar(event_store) - >>> event = goocalendar.Event('Birthday', - ... datetime.date.today(), - ... bg_color='lightgreen') - >>> event_store.add(event) - +Project-URL: Source Code, https://code.tryton.org/goocalendar Keywords: calendar GTK GooCanvas widget -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: X11 Applications :: GTK Classifier: Intended Audience :: Developers @@ -41,3 +21,23 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Widget Sets Requires-Python: >=3.4 +License-File: LICENSE + +GooCalendar +=========== + +A calendar widget for GTK using GooCanvas + +Nutshell +-------- + +Example usage:: + + >>> import datetime + >>> import goocalendar + >>> event_store = goocalendar.EventStore() + >>> calendar = goocalendar.Calendar(event_store) + >>> event = goocalendar.Event('Birthday', + ... datetime.date.today(), + ... bg_color='lightgreen') + >>> event_store.add(event) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/doc/conf.py new/GooCalendar-0.8.0/doc/conf.py --- old/GooCalendar-0.7.2/doc/conf.py 2020-04-18 16:50:37.000000000 +0200 +++ new/GooCalendar-0.8.0/doc/conf.py 2023-03-18 13:52:07.000000000 +0100 @@ -18,7 +18,7 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage'] +extensions = ['sphinx.ext.todo', 'sphinx.ext.intersphinx'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -41,9 +41,9 @@ # built documents. # # The short X.Y version. -version = '0.7' +version = '0.8' # The full version, including alpha/beta/rc tags. -release = '0.7.2' +release = '0.8.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -79,6 +79,9 @@ # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] +intersphinx_mapping = { + 'python': ('https://docs.python.org/', None), + } # -- Options for HTML output -------------------------------------------------- @@ -113,7 +116,7 @@ # 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, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/doc/index.rst new/GooCalendar-0.8.0/doc/index.rst --- old/GooCalendar-0.7.2/doc/index.rst 2021-03-28 11:12:37.000000000 +0200 +++ new/GooCalendar-0.8.0/doc/index.rst 2022-12-27 10:56:14.000000000 +0100 @@ -47,9 +47,8 @@ .. attribute:: selected_date - `datetime.date - <http://docs.python.org/library/datetime.html#date-objects>`_ - which determines the current selected day in the calendar. + :py:class:`datetime.date` which determines the current selected day in the + calendar. .. attribute:: firstweekday @@ -60,8 +59,7 @@ .. method:: select(date) Select the given date in the calendar. Date should be a - `datetime.date - <http://docs.python.org/library/datetime.html#date-objects>`_. + :py:class:`datetime.date`. .. method:: previous_page() @@ -154,9 +152,7 @@ The :class:`Calendar <goocalendar.Calendar>` that received the signal. *date* - `datetime.date - <http://docs.python.org/library/datetime.html#date-objects>`_ - corresponding to the day pressed. + :py:class:`datetime.date` corresponding to the day pressed. *user_param1* the first user parameter (if any) specified with the connect() method. @@ -175,9 +171,7 @@ The :class:`Calendar <goocalendar.Calendar>` that received the signal. *date* - `datetime.date - <http://docs.python.org/library/datetime.html#date-objects>`_ - corresponding to the activated day. + :py:class:`datetime.date` corresponding to the activated day. *user_param1* the first user parameter (if any) specified with the connect() method @@ -195,9 +189,7 @@ The :class:`Calendar <goocalendar.Calendar>` that received the signal. *date* - `datetime.date - <http://docs.python.org/library/datetime.html#date-objects>`_ - corresponding to the new selected day. + :py:class:`datetime.date` corresponding to the new selected day. *user_param1* the first user parameter (if any) specified with the connect() method. @@ -234,9 +226,8 @@ The :class:`Calendar <goocalendar.Calendar>` that received the signal. *date* - `datetime.date - <http://docs.python.org/library/datetime.html#date-objects>`_ - corresponding to the selected day in the calendar. + :py:class:`datetime.date` corresponding to the selected day in the + calendar. *user_param1* the first user parameter (if any) specified with the connect() method. @@ -385,9 +376,7 @@ *caption* argument is mandatory and will be the string displayed on the event. *start* argument is mandatory and determines the starting time of - the event. It should be a - `datetime\ - <http://docs.python.org/library/datetime.html#datetime-objects>`_. + the event. It should be a :py:class:`~datetime.datetime`. All other arguments are optional. *end* argument may be a datetime, all_day a boolean value. An event will be considered as all day event if no *end* argument is supplied. *text_color* and *bg_color* @@ -406,13 +395,11 @@ .. attribute:: start - `datetime <http://docs.python.org/library/datetime.html#datetime-objects>`_ - determining event start time. + :py:class:`datetime.datetime` determining event start time. .. attribute:: end - `datetime <http://docs.python.org/library/datetime.html#datetime-objects>`_ - determining event end time. + :py:class:`datetime.datetime` determining event end time. .. attribute:: all_day diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/examples/simple.py new/GooCalendar-0.8.0/examples/simple.py --- old/GooCalendar-0.7.2/examples/simple.py 2020-03-11 13:29:35.000000000 +0100 +++ new/GooCalendar-0.8.0/examples/simple.py 2023-01-27 23:52:55.000000000 +0100 @@ -2,9 +2,11 @@ # this repository contains the full copyright notices and license terms. import datetime -from goocalendar import Calendar, Event, EventStore + from gi.repository import Gdk, Gtk +from goocalendar import Calendar, Event, EventStore + def on_event_pressed(calendar, event, event_store): print("Event %s was pressed" % event.caption) @@ -89,8 +91,12 @@ event_store.add(event) calendar.select(datetime.date(2007, 10, 8)) -window.add(calendar) -window.set_size_request(400, 400) +viewport = Gtk.Viewport() +viewport.add(calendar) +scroll = Gtk.ScrolledWindow() +scroll.add(viewport) +window.add(scroll) +window.set_default_size(400, 400) window.show_all() window.connect('delete-event', Gtk.main_quit) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/goocalendar/__init__.py new/GooCalendar-0.8.0/goocalendar/__init__.py --- old/GooCalendar-0.7.2/goocalendar/__init__.py 2021-03-28 11:12:37.000000000 +0200 +++ new/GooCalendar-0.8.0/goocalendar/__init__.py 2023-03-18 13:51:40.000000000 +0100 @@ -1,6 +1,7 @@ # This file is part of GooCalendar. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. import gi + gi.require_version('Gtk', '3.0') gi.require_version('Gdk', '3.0') try: @@ -11,4 +12,4 @@ from ._event import Event, EventStore # noqa: E402 __all__ = ['Calendar', 'EventStore', 'Event'] -__version__ = '0.7.2' +__version__ = '0.8.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/goocalendar/_calendar.py new/GooCalendar-0.8.0/goocalendar/_calendar.py --- old/GooCalendar-0.7.2/goocalendar/_calendar.py 2021-03-28 11:12:37.000000000 +0200 +++ new/GooCalendar-0.8.0/goocalendar/_calendar.py 2023-01-27 23:52:55.000000000 +0100 @@ -1,7 +1,7 @@ # This file is part of GooCalendar. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. -import datetime import calendar +import datetime import math from gi.repository import Gdk, GObject, GooCanvas, Gtk, Pango @@ -79,7 +79,8 @@ self.view = view self.selected_date = datetime.date.today() self.time_format = time_format - self.set_bounds(0, 0, 200, 200) + self.min_width = self.min_height = 200 + self.set_bounds(0, 0, self.min_width, self.min_height) self.set_can_focus(True) self.set_events( Gdk.EventMask.EXPOSURE_MASK @@ -116,6 +117,15 @@ def do_get_property(self, prop): return self.__props[prop.name] + def do_get_request_mode(self): + return Gtk.SizeRequestMode.CONSTANT_SIZE + + def do_get_preferred_height(self): + return self.min_height, int(self.min_height * 1.5) + + def do_get_preferred_width(self): + return self.min_width, int(self.min_width * 1.5) + @property def font_size(self): return self.get_style_context().get_property( @@ -238,6 +248,7 @@ def update(self): if not self._realized: return + min_size = (self.min_width, self.min_height) self.draw_background() if self.view == "month": self.draw_month() @@ -246,6 +257,8 @@ elif self.view == "day": self.draw_day() self.draw_events() + if min_size != (self.min_width, self.min_height): + self.queue_resize() def draw_background(self): x, y, w, h = self.get_bounds() @@ -266,10 +279,6 @@ day_width_max = (w - timeline_w) self._day_width = max(day_width_min, day_width_max) self._day_height = h - width, height = self.get_size_request() - new_width = int(timeline_w + self._day_width) - if (width != new_width and day_width_min >= day_width_max): - self.set_size_request(new_width, height) # Minimum widget size # Redraw all days. cal = calendar.Calendar(self.firstweekday) @@ -304,6 +313,9 @@ 'visibility', GooCanvas.CanvasItemVisibility.VISIBLE) box.update() + self.min_width = int(timeline_w + day_width_min) + self.min_height = int((24 + 1) * self._timeline.min_line_height) + def draw_week(self): """ Draws the currently selected week. @@ -316,10 +328,6 @@ day_width_max = (w - timeline_w) / 7 self._day_width = max(day_width_min, day_width_max) self._day_height = h - width, height = self.get_size_request() - new_width = int(timeline_w + 7 * self._day_width) - if (width != new_width and day_width_min >= day_width_max): - self.set_size_request(new_width, height) # Minimum widget size # Redraw all days. cal = calendar.Calendar(self.firstweekday) @@ -368,6 +376,9 @@ self._selected_day = box self._line_height = self._selected_day.line_height + self.min_width = int(timeline_w + 7 * day_width_min) + self.min_height = int((24 + 1) * self._timeline.min_line_height) + def draw_month(self): """ Draws the currently selected month. @@ -432,12 +443,8 @@ y_pos += self._day_height - width, height = self.get_size_request() - new_width = int(7 * self._day_width) - new_height = int(14 * box.line_height) - if ((width != new_width and self._day_width == day_width_min) - or new_height != height): - self.set_size_request(new_width, new_height) + self.min_width = int(7 * day_width_min) + self.min_height = int((6 * 2 + 1) * self._timeline.min_line_height) def _get_day_item(self, find_date): cal = calendar.Calendar(self.firstweekday) @@ -632,13 +639,10 @@ self._timeline.bg_color = self.props.border_color self._timeline.text_color = self.props.text_color self._timeline.update() - width, height = self.get_size_request() min_line_height = self._timeline.min_line_height line_height = self._timeline.line_height self.minute_height = line_height / 60.0 - new_height = int(max_y + 24 * min_line_height) - if (height != new_height): - self.set_size_request(width, new_height) + self.min_height = int(max_y + 24 * min_line_height) # Draw non-all-day events. for date in dates: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/goocalendar/util.py new/GooCalendar-0.8.0/goocalendar/util.py --- old/GooCalendar-0.7.2/goocalendar/util.py 2018-10-23 20:56:23.000000000 +0200 +++ new/GooCalendar-0.8.0/goocalendar/util.py 2023-01-11 23:46:19.000000000 +0100 @@ -1,7 +1,7 @@ # This file is part of GooCalendar. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. -import sys import datetime +import sys def my_weekdatescalendar(cal, date): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GooCalendar-0.7.2/setup.py new/GooCalendar-0.8.0/setup.py --- old/GooCalendar-0.7.2/setup.py 2020-02-23 17:08:06.000000000 +0100 +++ new/GooCalendar-0.8.0/setup.py 2023-01-11 23:46:19.000000000 +0100 @@ -6,7 +6,8 @@ import io import os import re -from setuptools import setup, find_packages + +from setuptools import find_packages, setup def read(fname): @@ -32,7 +33,7 @@ "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/', + "Source Code": 'https://code.tryton.org/goocalendar', }, keywords='calendar GTK GooCanvas widget', packages=find_packages(),
