Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fetchmail for openSUSE:Factory 
checked in at 2024-01-17 22:16:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fetchmail (Old)
 and      /work/SRC/openSUSE:Factory/.fetchmail.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fetchmail"

Wed Jan 17 22:16:29 2024 rev:113 rq:1139380 version:6.4.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/fetchmail/fetchmail.changes      2023-03-02 
23:04:08.644045931 +0100
+++ /work/SRC/openSUSE:Factory/.fetchmail.new.16006/fetchmail.changes   
2024-01-17 22:16:32.105719036 +0100
@@ -1,0 +2,6 @@
+Wed Jan 17 00:33:48 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Add patch fetchmailconf-no-more-future.patch:
+  * Drop requirement for python-future from fetchmailconf.
+
+-------------------------------------------------------------------

New:
----
  fetchmailconf-no-more-future.patch

BETA DEBUG BEGIN:
  New:
- Add patch fetchmailconf-no-more-future.patch:
  * Drop requirement for python-future from fetchmailconf.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fetchmail.spec ++++++
--- /var/tmp/diff_new_pack.39YhqT/_old  2024-01-17 22:16:33.397766512 +0100
+++ /var/tmp/diff_new_pack.39YhqT/_new  2024-01-17 22:16:33.401766658 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fetchmail
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -49,6 +49,7 @@
 Patch11:        
fetchmail-increase-max-password-length-to-handle-oauth-tokens.patch
 Patch12:        fetchmail-bump-max-passwordlen-to-1bytes.patch
 Patch13:        fetchmail-add-readme-oauth2-issue-27.patch
+Patch14:        fetchmailconf-no-more-future.patch
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  fdupes
@@ -84,7 +85,6 @@
 Summary:        Fetchmail Configuration Utility
 Requires:       %{name} = %{version}
 Requires:       python3 >= 3.7
-Requires:       python3-future
 Requires:       python3-tk
 
 %description -n fetchmailconf


++++++ fetchmailconf-no-more-future.patch ++++++
Index: fetchmail-6.4.37/fetchmailconf.py
===================================================================
--- fetchmail-6.4.37.orig/fetchmailconf.py
+++ fetchmail-6.4.37/fetchmailconf.py
@@ -3,21 +3,12 @@
 # A GUI configurator for generating fetchmail configuration files.
 # by Eric S. Raymond, <[email protected]>,
 # Matthias Andree <[email protected]>
-# Requires Python with Tkinter, and the following OS-dependent services:
+# Requires Python 3.4+ with Tkinter, and the following OS-dependent services:
 #      posix, posixpath, socket
 
 # WARNING: this needs to be updated for fetchmail 6.4's SSL options,
 # and other recent new options;
 
-from __future__ import print_function
-from __future__ import division
-from past.builtins import execfile
-from future import standard_library
-standard_library.install_aliases()
-from builtins import str
-from builtins import range
-from past.utils import old_div
-from builtins import object
 import sys
 import time
 import os
@@ -37,7 +28,7 @@ except:
 
 VERSION = "1.63.5"
 
-MIN_PY = (2, 7, 13)
+MIN_PY = (3, 4, 0)
 if sys.version_info < MIN_PY:
     sys.exit("fetchmailconf: Python %s.%s.%s or later is required.\n" % MIN_PY)
 
@@ -535,7 +526,7 @@ class LabeledEntry(Frame):
 def ButtonBar(frame, legend, ref, alternatives, depth, command):
 # array of radio buttons, caption to left, picking from a string list
     bbar = Frame(frame)
-    width = old_div((len(alternatives)+1), depth)
+    width = len(alternatives)+1 // depth
     Label(bbar, text=legend).pack(side=LEFT)
     for column in range(width):
         subframe = Frame(bbar)

Reply via email to