commit python-monotonic for openSUSE:Factory
Hello community, here is the log from the commit of package python-monotonic for openSUSE:Factory checked in at 2019-01-03 18:08:42 Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old) and /work/SRC/openSUSE:Factory/.python-monotonic.new.28833 (New) Package is "python-monotonic" Thu Jan 3 18:08:42 2019 rev:7 rq:662446 version:1.5 Changes: --- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes 2018-12-24 11:39:53.433532044 +0100 +++ /work/SRC/openSUSE:Factory/.python-monotonic.new.28833/python-monotonic.changes 2019-01-03 18:08:46.780025684 +0100 @@ -1,0 +2,6 @@ +Wed Jan 2 12:46:46 UTC 2019 - Thomas Bechtold + +- update to 1.5: + * Only import modules if needed + +--- Old: monotonic-1.4.tar.gz New: monotonic-1.5.tar.gz Other differences: -- ++ python-monotonic.spec ++ --- /var/tmp/diff_new_pack.glmvET/_old 2019-01-03 18:08:47.144025361 +0100 +++ /var/tmp/diff_new_pack.glmvET/_new 2019-01-03 18:08:47.148025357 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-monotonic # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-monotonic -Version:1.4 +Version:1.5 Release:0 Summary:An implementation of time.monotonic() for Python 2 & < 33 License:Apache-2.0 ++ monotonic-1.4.tar.gz -> monotonic-1.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.4/PKG-INFO new/monotonic-1.5/PKG-INFO --- old/monotonic-1.4/PKG-INFO 2017-10-30 20:10:18.0 +0100 +++ new/monotonic-1.5/PKG-INFO 2018-05-03 22:55:25.0 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: monotonic -Version: 1.4 +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: o...@wikimedia.org License: Apache -Description-Content-Type: UNKNOWN Description: monotonic ~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.4/monotonic.egg-info/PKG-INFO new/monotonic-1.5/monotonic.egg-info/PKG-INFO --- old/monotonic-1.4/monotonic.egg-info/PKG-INFO 2017-10-30 20:10:18.0 +0100 +++ new/monotonic-1.5/monotonic.egg-info/PKG-INFO 2018-05-03 22:55:25.0 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: monotonic -Version: 1.4 +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: o...@wikimedia.org License: Apache -Description-Content-Type: UNKNOWN Description: monotonic ~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.4/monotonic.py new/monotonic-1.5/monotonic.py --- old/monotonic-1.4/monotonic.py 2017-10-30 20:01:14.0 +0100 +++ new/monotonic-1.5/monotonic.py 2018-05-03 22:40:45.0 +0200 @@ -38,11 +38,6 @@ limitations under the License. """ -import ctypes -import ctypes.util -import os -import sys -import threading import time @@ -52,6 +47,11 @@ try: monotonic = time.monotonic except AttributeError: +import ctypes +import ctypes.util +import os +import sys +import threading try: if sys.platform == 'darwin': # OS X, iOS # See Technical Q&A QA1398 of the Mac Developer Library: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.4/setup.py new/monotonic-1.5/setup.py --- old/monotonic-1.4/setup.py 2017-10-30 20:01:30.0 +0100 +++ new/monotonic-1.5/setup.py 2018-05-03 22:52:09.0 +0200 @@ -31,7 +31,7 @@ setup( name='monotonic', -version='1.4', +version='1.5', license='Apache', author='Ori Livneh', author_email='o...@wikimedia.org',
commit python-monotonic for openSUSE:Factory
Hello community, here is the log from the commit of package python-monotonic for openSUSE:Factory checked in at 2018-12-24 11:39:53 Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old) and /work/SRC/openSUSE:Factory/.python-monotonic.new.28833 (New) Package is "python-monotonic" Mon Dec 24 11:39:53 2018 rev:6 rq:659500 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes 2018-02-26 23:24:40.847350821 +0100 +++ /work/SRC/openSUSE:Factory/.python-monotonic.new.28833/python-monotonic.changes 2018-12-24 11:39:53.433532044 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:50:30 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-monotonic.spec ++ --- /var/tmp/diff_new_pack.qoEZpE/_old 2018-12-24 11:39:53.769531746 +0100 +++ /var/tmp/diff_new_pack.qoEZpE/_new 2018-12-24 11:39:53.769531746 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,15 +23,13 @@ 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://pypi.io/packages/source/m/monotonic/monotonic-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL:https://github.com/atdt/monotonic +Source: https://files.pythonhosted.org/packages/source/m/monotonic/monotonic-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %if 0%{?suse_version} > 1110 BuildArch: noarch %endif - %python_subpackages %description @@ -48,8 +46,7 @@ %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %{python_sitelib}/* %changelog
commit python-monotonic for openSUSE:Factory
Hello community, here is the log from the commit of package python-monotonic for openSUSE:Factory checked in at 2018-02-26 23:24:39 Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old) and /work/SRC/openSUSE:Factory/.python-monotonic.new (New) Package is "python-monotonic" Mon Feb 26 23:24:39 2018 rev:5 rq:579534 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes 2017-04-13 10:45:08.620802768 +0200 +++ /work/SRC/openSUSE:Factory/.python-monotonic.new/python-monotonic.changes 2018-02-26 23:24:40.847350821 +0100 @@ -1,0 +2,6 @@ +Fri Feb 23 14:23:13 UTC 2018 - tbecht...@suse.com + +- update to 1.4 + No changelog provided + +--- Old: monotonic-1.3.tar.gz New: monotonic-1.4.tar.gz Other differences: -- ++ python-monotonic.spec ++ --- /var/tmp/diff_new_pack.vzrWiL/_old 2018-02-26 23:24:41.683320757 +0100 +++ /var/tmp/diff_new_pack.vzrWiL/_new 2018-02-26 23:24:41.695320325 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-monotonic # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-monotonic -Version:1.3 +Version:1.4 Release:0 Summary:An implementation of time.monotonic() for Python 2 & < 33 License:Apache-2.0 ++ monotonic-1.3.tar.gz -> monotonic-1.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.3/PKG-INFO new/monotonic-1.4/PKG-INFO --- old/monotonic-1.3/PKG-INFO 2017-03-14 16:52:13.0 +0100 +++ new/monotonic-1.4/PKG-INFO 2017-10-30 20:10:18.0 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: monotonic -Version: 1.3 +Version: 1.4 Summary: An implementation of time.monotonic() for Python 2 & < 3.3 Home-page: https://github.com/atdt/monotonic Author: Ori Livneh Author-email: o...@wikimedia.org License: Apache +Description-Content-Type: UNKNOWN Description: monotonic ~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.3/README.md new/monotonic-1.4/README.md --- old/monotonic-1.3/README.md 1970-01-01 01:00:00.0 +0100 +++ new/monotonic-1.4/README.md 2017-10-30 20:01:14.0 +0100 @@ -0,0 +1,44 @@ +monotonic += +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. + +On Python 3.3 or newer, ``monotonic`` will be an alias of +[``time.monotonic``][0] from the standard library. On older versions, +it will fall back to an equivalent implementation: + + OS | Implementation +-|- + Linux, BSD, AIX | [clock_gettime][1] + Windows | [GetTickCount][2] or [GetTickCount64][3] + OS X| [mach_absolute_time][3] + +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. + +monotonic is available via the Python Cheese Shop (PyPI): + https://pypi.python.org/pypi/monotonic/ + +License +--- +Copyright 2014, 2015, 2016, 2017 Ori Livneh + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +[0]: https://docs.python.org/3/library/time.html#time.monotonic +[1]: http://linux.die.net/man/3/clock_gettime +[2]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724408 +[3]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724411 +[4]: https://developer.apple.com/library/mac/qa/qa1398/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-1.3/monotonic.egg-info/PKG-INFO new/monotonic-1.4/monotonic.egg-info/PKG-INFO --- old/monotonic-1.3/monotonic.egg-info/PKG-INFO 2017-03-14 16:52:
commit python-monotonic for openSUSE:Factory
Hello community, here is the log from the commit of package python-monotonic for openSUSE:Factory checked in at 2017-04-13 10:45:07 Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old) and /work/SRC/openSUSE:Factory/.python-monotonic.new (New) Package is "python-monotonic" Thu Apr 13 10:45:07 2017 rev:4 rq:482301 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes 2016-03-02 14:21:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-monotonic.new/python-monotonic.changes 2017-04-13 10:45:08.620802768 +0200 @@ -1,0 +2,11 @@ +Thu Mar 23 15:24:45 UTC 2017 - rjsch...@suse.com + +- Convert to singlespec build +- Update to version 1.3 + +--- +Tue Nov 15 10:57:09 UTC 2016 - dmuel...@suse.com + +- update to 1.2 + +--- Old: monotonic-0.6.tar.gz New: monotonic-1.3.tar.gz Other differences: -- ++ python-monotonic.spec ++ --- /var/tmp/diff_new_pack.KkGGRm/_old 2017-04-13 10:45:09.164725848 +0200 +++ /var/tmp/diff_new_pack.KkGGRm/_new 2017-04-13 10:45:09.164725848 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-monotonic # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,24 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-monotonic -Version:0.6 +Version:1.3 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://pypi.python.org/packages/source/m/monotonic/monotonic-%{version}.tar.gz -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Source: https://pypi.io/packages/source/m/monotonic/monotonic-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%if 0%{?suse_version} > 1110 BuildArch: noarch %endif +%python_subpackages + %description This module provides a ``monotonic()`` function which returns the value (in fractional seconds) of a clock which never goes backwards. @@ -40,12 +42,12 @@ %setup -q -n monotonic-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE %{python_sitelib}/* ++ monotonic-0.6.tar.gz -> monotonic-1.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.6/PKG-INFO new/monotonic-1.3/PKG-INFO --- old/monotonic-0.6/PKG-INFO 2016-01-24 12:50:03.0 +0100 +++ new/monotonic-1.3/PKG-INFO 2017-03-14 16:52:13.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: monotonic -Version: 0.6 +Version: 1.3 Summary: An implementation of time.monotonic() for Python 2 & < 3.3 Home-page: https://github.com/atdt/monotonic Author: Ori Livneh @@ -17,21 +17,21 @@ ``time.monotonic`` from the standard library. On older versions, it will fall back to an equivalent implementation: -+-++ -| Linux, BSD | clock_gettime(3) | -+-++ -| Windows | GetTickCount[64] | -+-++ -| OS X| mach_absolute_time | -+-++ ++--++ +| 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
commit python-monotonic for openSUSE:Factory
Hello community, here is the log from the commit of package python-monotonic for openSUSE:Factory checked in at 2016-03-02 14:21:31 Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old) and /work/SRC/openSUSE:Factory/.python-monotonic.new (New) Package is "python-monotonic" Changes: --- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes 2015-09-02 00:35:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-monotonic.new/python-monotonic.changes 2016-03-02 14:21:32.0 +0100 @@ -1,0 +2,7 @@ +Mon Feb 15 14:09:38 UTC 2016 - dmuel...@suse.com + +- update to 0.6: + * Changed AttributeError flow control to getattr-with-default-argument + * Added support for pre-Vista Windows versions using GetTickCount + +--- Old: monotonic-0.3.tar.gz New: monotonic-0.6.tar.gz Other differences: -- ++ python-monotonic.spec ++ --- /var/tmp/diff_new_pack.6j1PbR/_old 2016-03-02 14:21:33.0 +0100 +++ /var/tmp/diff_new_pack.6j1PbR/_new 2016-03-02 14:21:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-monotonic # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-monotonic -Version:0.3 +Version:0.6 Release:0 Summary:An implementation of time.monotonic() for Python 2 & < 33 License:Apache-2.0 ++ monotonic-0.3.tar.gz -> monotonic-0.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.3/PKG-INFO new/monotonic-0.6/PKG-INFO --- old/monotonic-0.3/PKG-INFO 2015-07-29 19:01:32.0 +0200 +++ new/monotonic-0.6/PKG-INFO 2016-01-24 12:50:03.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: monotonic -Version: 0.3 +Version: 0.6 Summary: An implementation of time.monotonic() for Python 2 & < 3.3 Home-page: https://github.com/atdt/monotonic Author: Ori Livneh @@ -20,7 +20,7 @@ +-++ | Linux, BSD | clock_gettime(3) | +-++ -| Windows | GetTickCount64 | +| Windows | GetTickCount[64] | +-++ | OS X| mach_absolute_time | +-++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.3/monotonic.egg-info/PKG-INFO new/monotonic-0.6/monotonic.egg-info/PKG-INFO --- old/monotonic-0.3/monotonic.egg-info/PKG-INFO 2015-07-29 19:01:32.0 +0200 +++ new/monotonic-0.6/monotonic.egg-info/PKG-INFO 2016-01-24 12:50:03.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: monotonic -Version: 0.3 +Version: 0.6 Summary: An implementation of time.monotonic() for Python 2 & < 3.3 Home-page: https://github.com/atdt/monotonic Author: Ori Livneh @@ -20,7 +20,7 @@ +-++ | Linux, BSD | clock_gettime(3) | +-++ -| Windows | GetTickCount64 | +| Windows | GetTickCount[64] | +-++ | OS X| mach_absolute_time | +-++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.3/monotonic.egg-info/pbr.json new/monotonic-0.6/monotonic.egg-info/pbr.json --- old/monotonic-0.3/monotonic.egg-info/pbr.json 2015-07-29 19:01:32.0 +0200 +++ new/monotonic-0.6/monotonic.egg-info/pbr.json 2016-01-24 12:50:03.0 +0100 @@ -1 +1 @@ -{"is_release": false, "git_version": "cb3c90150f"} \ No newline at end of file +{"is_release": true, "git_version": "945f255545"} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.3/monotonic.py new/monotonic-0.6/monotonic.py --- old/monotonic-0.3/monotonic.py 2015-07-29 18:58:47.0 +0200 +++ new/monotonic-0.6/monotonic.py 2016-01-24 12:47:27.0 +0100 @@ -13,7 +13,7 @@ +-++ | Linux, BSD | clock_gettime(3) | +-++ - | Windows | GetTickCount64 | + | Windows | GetTickCount[64] | +-++ | OS X| mach_absolute_time | +-+--
commit python-monotonic for openSUSE:Factory
Hello community, here is the log from the commit of package python-monotonic for openSUSE:Factory checked in at 2015-09-02 00:35:32 Comparing /work/SRC/openSUSE:Factory/python-monotonic (Old) and /work/SRC/openSUSE:Factory/.python-monotonic.new (New) Package is "python-monotonic" Changes: --- /work/SRC/openSUSE:Factory/python-monotonic/python-monotonic.changes 2015-07-23 15:23:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-monotonic.new/python-monotonic.changes 2015-09-02 00:35:34.0 +0200 @@ -1,0 +2,8 @@ +Fri Aug 21 11:55:55 UTC 2015 - tbecht...@suse.com + +- update to 0.3: + * Bump version to 0.3 + * Add support for cygwin + * Set CLOCK_MONOTONIC for Solaris + +--- Old: monotonic-0.2.tar.gz New: monotonic-0.3.tar.gz Other differences: -- ++ python-monotonic.spec ++ --- /var/tmp/diff_new_pack.N6WbCU/_old 2015-09-02 00:35:34.0 +0200 +++ /var/tmp/diff_new_pack.N6WbCU/_new 2015-09-02 00:35:34.0 +0200 @@ -17,7 +17,7 @@ Name: python-monotonic -Version:0.2 +Version:0.3 Release:0 Summary:An implementation of time.monotonic() for Python 2 & < 33 License:Apache-2.0 ++ monotonic-0.2.tar.gz -> monotonic-0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.2/PKG-INFO new/monotonic-0.3/PKG-INFO --- old/monotonic-0.2/PKG-INFO 2015-06-19 20:12:23.0 +0200 +++ new/monotonic-0.3/PKG-INFO 2015-07-29 19:01:32.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: monotonic -Version: 0.2 +Version: 0.3 Summary: An implementation of time.monotonic() for Python 2 & < 3.3 Home-page: https://github.com/atdt/monotonic Author: Ori Livneh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.2/monotonic.egg-info/PKG-INFO new/monotonic-0.3/monotonic.egg-info/PKG-INFO --- old/monotonic-0.2/monotonic.egg-info/PKG-INFO 2015-06-19 20:12:23.0 +0200 +++ new/monotonic-0.3/monotonic.egg-info/PKG-INFO 2015-07-29 19:01:32.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: monotonic -Version: 0.2 +Version: 0.3 Summary: An implementation of time.monotonic() for Python 2 & < 3.3 Home-page: https://github.com/atdt/monotonic Author: Ori Livneh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.2/monotonic.egg-info/pbr.json new/monotonic-0.3/monotonic.egg-info/pbr.json --- old/monotonic-0.2/monotonic.egg-info/pbr.json 2015-06-19 20:12:23.0 +0200 +++ new/monotonic-0.3/monotonic.egg-info/pbr.json 2015-07-29 19:01:32.0 +0200 @@ -1 +1 @@ -{"is_release": false, "git_version": "7a90ceeb2b"} \ No newline at end of file +{"is_release": false, "git_version": "cb3c90150f"} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.2/monotonic.py new/monotonic-0.3/monotonic.py --- old/monotonic-0.2/monotonic.py 2015-06-19 19:59:00.0 +0200 +++ new/monotonic-0.3/monotonic.py 2015-07-29 18:58:47.0 +0200 @@ -96,6 +96,16 @@ """Monotonic clock, cannot go backward.""" return GetTickCount64() / 1000.0 +elif sys.platform.startswith('cygwin'): +# Cygwin +kernel32 = ctypes.cdll.LoadLibrary('kernel32.dll') +GetTickCount64 = kernel32.GetTickCount64 +GetTickCount64.restype = ctypes.c_ulonglong + +def monotonic(): +"""Monotonic clock, cannot go backward.""" +return GetTickCount64() / 1000.0 + else: try: clock_gettime = ctypes.CDLL(ctypes.util.find_library('c'), @@ -118,6 +128,8 @@ CLOCK_MONOTONIC = 1 elif sys.platform.startswith('freebsd'): CLOCK_MONOTONIC = 4 +elif sys.platform.startswith('sunos5'): +CLOCK_MONOTONIC = 4 elif 'bsd' in sys.platform: CLOCK_MONOTONIC = 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/monotonic-0.2/setup.py new/monotonic-0.3/setup.py --- old/monotonic-0.2/setup.py 2015-06-19 20:02:26.0 +0200 +++ new/monotonic-0.3/setup.py 2015-07-29 18:59:17.0 +0200 @@ -31,7 +31,7 @@ setup( name='monotonic', -version='0.2', +version='0.3', license='Apache', author='Ori Livneh', author_email='o...@wikimedia.org',