Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-monotonic for
openSUSE:Factory checked in at 2021-06-11 22:30:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old)
and /work/SRC/openSUSE:Factory/.python-monotonic.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-monotonic"
Fri Jun 11 22:30:16 2021 rev:8 rq:897844 version:1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes
2019-01-03 18:08:46.780025684 +0100
+++
/work/SRC/openSUSE:Factory/.python-monotonic.new.32437/python-monotonic.changes
2021-06-11 22:30:31.758115159 +0200
@@ -1,0 +2,6 @@
+Sun Jun 6 11:50:38 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 1.6:
+ * Fix order for converting mach absolute time
+
+-------------------------------------------------------------------
Old:
----
monotonic-1.5.tar.gz
New:
----
1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-monotonic.spec ++++++
--- /var/tmp/diff_new_pack.XPF6TV/_old 2021-06-11 22:30:32.210115942 +0200
+++ /var/tmp/diff_new_pack.XPF6TV/_new 2021-06-11 22:30:32.210115942 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-monotonic
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-monotonic
-Version: 1.5
+Version: 1.6
Release: 0
Summary: An implementation of time.monotonic() for Python 2 & < 33
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/atdt/monotonic
-Source:
https://files.pythonhosted.org/packages/source/m/monotonic/monotonic-%{version}.tar.gz
+Source:
https://github.com/atdt/monotonic/archive/refs/tags/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
%if 0%{?suse_version} > 1110
++++++ monotonic-1.5.tar.gz -> 1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/.gitignore new/monotonic-1.6/.gitignore
--- old/monotonic-1.5/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/monotonic-1.6/.gitignore 2021-04-09 22:54:26.000000000 +0200
@@ -0,0 +1,4 @@
+build
+dist
+*.egg-info
+*.pyc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/PKG-INFO new/monotonic-1.6/PKG-INFO
--- old/monotonic-1.5/PKG-INFO 2018-05-03 22:55:25.000000000 +0200
+++ new/monotonic-1.6/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
-Metadata-Version: 1.1
-Name: monotonic
-Version: 1.5
-Summary: An implementation of time.monotonic() for Python 2 & < 3.3
-Home-page: https://github.com/atdt/monotonic
-Author: Ori Livneh
-Author-email: [email protected]
-License: Apache
-Description:
- monotonic
- ~~~~~~~~~
-
- This module provides a ``monotonic()`` function which returns the
- value (in fractional seconds) of a clock which never goes backwards.
-
- On Python 3.3 or newer, ``monotonic`` will be an alias of
- ``time.monotonic`` from the standard library. On older versions,
- it will fall back to an equivalent implementation:
-
- +------------------+----------------------------------------+
- | Linux, BSD, AIX | ``clock_gettime(3)`` |
- +------------------+----------------------------------------+
- | Windows | ``GetTickCount`` or ``GetTickCount64`` |
- +------------------+----------------------------------------+
- | OS X | ``mach_absolute_time`` |
- +------------------+----------------------------------------+
-
- If no suitable implementation exists for the current platform,
- attempting to import this module (or to import from it) will
- cause a ``RuntimeError`` exception to be raised.
-
-
-Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: License :: OSI Approved :: Apache Software License
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/README.md new/monotonic-1.6/README.md
--- old/monotonic-1.5/README.md 2017-10-30 20:01:14.000000000 +0100
+++ new/monotonic-1.6/README.md 2021-04-09 22:54:26.000000000 +0200
@@ -1,5 +1,10 @@
monotonic
=========
+NOTE: **This library is considered stable and complete, and will not receive
+any further updates. Python versions 3.3 and newer include
+[``time.monotonic()``][0] in the standard library.**
+
+
This module provides a ``monotonic()`` function which returns the
value (in fractional seconds) of a clock which never goes backwards.
It is compatible with Python 2 and Python 3.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/monotonic.egg-info/PKG-INFO
new/monotonic-1.6/monotonic.egg-info/PKG-INFO
--- old/monotonic-1.5/monotonic.egg-info/PKG-INFO 2018-05-03
22:55:25.000000000 +0200
+++ new/monotonic-1.6/monotonic.egg-info/PKG-INFO 1970-01-01
01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
-Metadata-Version: 1.1
-Name: monotonic
-Version: 1.5
-Summary: An implementation of time.monotonic() for Python 2 & < 3.3
-Home-page: https://github.com/atdt/monotonic
-Author: Ori Livneh
-Author-email: [email protected]
-License: Apache
-Description:
- monotonic
- ~~~~~~~~~
-
- This module provides a ``monotonic()`` function which returns the
- value (in fractional seconds) of a clock which never goes backwards.
-
- On Python 3.3 or newer, ``monotonic`` will be an alias of
- ``time.monotonic`` from the standard library. On older versions,
- it will fall back to an equivalent implementation:
-
- +------------------+----------------------------------------+
- | Linux, BSD, AIX | ``clock_gettime(3)`` |
- +------------------+----------------------------------------+
- | Windows | ``GetTickCount`` or ``GetTickCount64`` |
- +------------------+----------------------------------------+
- | OS X | ``mach_absolute_time`` |
- +------------------+----------------------------------------+
-
- If no suitable implementation exists for the current platform,
- attempting to import this module (or to import from it) will
- cause a ``RuntimeError`` exception to be raised.
-
-
-Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: License :: OSI Approved :: Apache Software License
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/monotonic.egg-info/SOURCES.txt
new/monotonic-1.6/monotonic.egg-info/SOURCES.txt
--- old/monotonic-1.5/monotonic.egg-info/SOURCES.txt 2018-05-03
22:55:25.000000000 +0200
+++ new/monotonic-1.6/monotonic.egg-info/SOURCES.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-LICENSE
-MANIFEST.in
-README.md
-monotonic.py
-setup.cfg
-setup.py
-monotonic.egg-info/PKG-INFO
-monotonic.egg-info/SOURCES.txt
-monotonic.egg-info/dependency_links.txt
-monotonic.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/monotonic-1.5/monotonic.egg-info/dependency_links.txt
new/monotonic-1.6/monotonic.egg-info/dependency_links.txt
--- old/monotonic-1.5/monotonic.egg-info/dependency_links.txt 2018-05-03
22:55:25.000000000 +0200
+++ new/monotonic-1.6/monotonic.egg-info/dependency_links.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/monotonic.egg-info/top_level.txt
new/monotonic-1.6/monotonic.egg-info/top_level.txt
--- old/monotonic-1.5/monotonic.egg-info/top_level.txt 2018-05-03
22:55:25.000000000 +0200
+++ new/monotonic-1.6/monotonic.egg-info/top_level.txt 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-monotonic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/monotonic.py
new/monotonic-1.6/monotonic.py
--- old/monotonic-1.5/monotonic.py 2018-05-03 22:40:45.000000000 +0200
+++ new/monotonic-1.6/monotonic.py 2021-04-09 22:54:26.000000000 +0200
@@ -68,11 +68,12 @@
timebase = mach_timebase_info_data_t()
libc.mach_timebase_info(ctypes.byref(timebase))
- ticks_per_second = timebase.numer / timebase.denom * 1.0e9
+ nanoseconds_in_second = 1.0e9
def monotonic():
"""Monotonic clock, cannot go backward."""
- return mach_absolute_time() / ticks_per_second
+ nanoseconds = mach_absolute_time() * timebase.numer /
timebase.denom
+ return nanoseconds / nanoseconds_in_second
elif sys.platform.startswith('win32') or
sys.platform.startswith('cygwin'):
if sys.platform.startswith('cygwin'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/setup.cfg new/monotonic-1.6/setup.cfg
--- old/monotonic-1.5/setup.cfg 2018-05-03 22:55:25.000000000 +0200
+++ new/monotonic-1.6/setup.cfg 2021-04-09 22:54:26.000000000 +0200
@@ -3,8 +3,3 @@
[metadata]
description-file = README.md
-
-[egg_info]
-tag_build =
-tag_date = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monotonic-1.5/setup.py new/monotonic-1.6/setup.py
--- old/monotonic-1.5/setup.py 2018-05-03 22:52:09.000000000 +0200
+++ new/monotonic-1.6/setup.py 2021-04-09 22:54:26.000000000 +0200
@@ -31,7 +31,7 @@
setup(
name='monotonic',
- version='1.5',
+ version='1.6',
license='Apache',
author='Ori Livneh',
author_email='[email protected]',