Hello community,
here is the log from the commit of package python-skyfield for openSUSE:Factory
checked in at 2020-08-06 17:33:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-skyfield (Old)
and /work/SRC/openSUSE:Factory/.python-skyfield.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-skyfield"
Thu Aug 6 17:33:11 2020 rev:5 rq:824700 version:1.26
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-skyfield/python-skyfield.changes
2020-08-03 14:18:00.320656687 +0200
+++
/work/SRC/openSUSE:Factory/.python-skyfield.new.3399/python-skyfield.changes
2020-08-06 17:33:52.289102050 +0200
@@ -1,0 +2,5 @@
+Thu Aug 6 14:20:08 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Update assay to commit 256.23c18c2 in order to fix non x86 builds
+
+-------------------------------------------------------------------
Old:
----
assay-master-252.79f5d78.tar.gz
New:
----
assay-master-256.23c18c2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-skyfield.spec ++++++
--- /var/tmp/diff_new_pack.PHj1kH/_old 2020-08-06 17:33:53.601101913 +0200
+++ /var/tmp/diff_new_pack.PHj1kH/_new 2020-08-06 17:33:53.601101913 +0200
@@ -17,8 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define assaycommit 79f5d784a55d70f31b2c90b636910738cd74840e
-%define assayver 252.79f5d78
+%define assaycommit 23c18c2457c035996057144e1fe74cd6e19b44eb
+%define assayver 256.23c18c2
%define skip_python2 1
Name: python-skyfield
Version: 1.26
++++++ assay-master-252.79f5d78.tar.gz -> assay-master-256.23c18c2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-79f5d784a55d70f31b2c90b636910738cd74840e/assay/command.py
new/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/command.py
--- old/assay-79f5d784a55d70f31b2c90b636910738cd74840e/assay/command.py
2020-07-24 17:10:58.000000000 +0200
+++ new/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/command.py
2020-08-06 15:49:17.000000000 +0200
@@ -7,6 +7,11 @@
import sys
from . import monitor, unix
+try:
+ BrokenPipeError
+except NameError:
+ BrokenPipeError = () # do not bother catching it under Python 2
+
def main():
os.environ['PYTHONDONTWRITEBYTECODE'] = 'please'
sys.dont_write_bytecode = True
@@ -27,4 +32,5 @@
os.execvp(executable, [executable, '-m', 'assay'] + sys.argv[1:])
except KeyboardInterrupt:
sys.stdout.write(' KeyboardInterrupt\n')
-
+ except BrokenPipeError:
+ return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/assay-79f5d784a55d70f31b2c90b636910738cd74840e/assay/unix.py
new/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/unix.py
--- old/assay-79f5d784a55d70f31b2c90b636910738cd74840e/assay/unix.py
2020-07-24 17:10:58.000000000 +0200
+++ new/assay-23c18c2457c035996057144e1fe74cd6e19b44eb/assay/unix.py
2020-08-06 15:49:17.000000000 +0200
@@ -3,6 +3,7 @@
import errno
import fcntl
import os
+import re
import select
import signal
import sys
@@ -43,7 +44,9 @@
"""Return the number of CPUs on the system."""
if os.path.exists('/proc/cpuinfo'):
with open('/proc/cpuinfo') as f:
- return f.read().count('\nbogomips')
+ count = len(re.findall(r'^processor\s*:', f.read(), re.M))
+ if count:
+ return count
return 2
def discard_input(fileobj, bufsize):