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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-monotonic.new/python-monotonic.changes   
2015-09-02 00:35:34.000000000 +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.000000000 +0200
+++ /var/tmp/diff_new_pack.N6WbCU/_new  2015-09-02 00:35:34.000000000 +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.000000000 +0200
+++ new/monotonic-0.3/PKG-INFO  2015-07-29 19:01:32.000000000 +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.000000000 +0200
+++ new/monotonic-0.3/monotonic.egg-info/PKG-INFO       2015-07-29 
19:01:32.000000000 +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.000000000 +0200
+++ new/monotonic-0.3/monotonic.egg-info/pbr.json       2015-07-29 
19:01:32.000000000 +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.000000000 +0200
+++ new/monotonic-0.3/monotonic.py      2015-07-29 18:58:47.000000000 +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.000000000 +0200
+++ new/monotonic-0.3/setup.py  2015-07-29 18:59:17.000000000 +0200
@@ -31,7 +31,7 @@
 
 setup(
     name='monotonic',
-    version='0.2',
+    version='0.3',
     license='Apache',
     author='Ori Livneh',
     author_email='o...@wikimedia.org',


Reply via email to