Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-08-11 11:47:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and      /work/SRC/openSUSE:Factory/.python-iminuit.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-iminuit"

Wed Aug 11 11:47:11 2021 rev:15 rq:911201 version:2.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes    
2021-07-28 19:21:46.419499063 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1899/python-iminuit.changes  
2021-08-11 11:47:41.913711758 +0200
@@ -1,0 +2,6 @@
+Mon Aug  9 21:49:01 UTC 2021 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 2.8.1:
+  * Undocumented changes.
+
+-------------------------------------------------------------------

Old:
----
  iminuit-2.8.0.tar.gz

New:
----
  iminuit-2.8.1.tar.gz

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

Other differences:
------------------
++++++ python-iminuit.spec ++++++
--- /var/tmp/diff_new_pack.LZjckv/_old  2021-08-11 11:47:42.881710594 +0200
+++ /var/tmp/diff_new_pack.LZjckv/_new  2021-08-11 11:47:42.881710594 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:           python-%{modname}
-Version:        2.8.0
+Version:        2.8.1
 Release:        0
 Summary:        Python bindings for MINUIT2
 License:        MIT

++++++ iminuit-2.8.0.tar.gz -> iminuit-2.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/PKG-INFO new/iminuit-2.8.1/PKG-INFO
--- old/iminuit-2.8.0/PKG-INFO  2021-07-25 13:41:40.548514800 +0200
+++ new/iminuit-2.8.1/PKG-INFO  2021-08-04 11:39:47.882949400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.8.0
+Version: 2.8.1
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/cmake_ext.py 
new/iminuit-2.8.1/cmake_ext.py
--- old/iminuit-2.8.0/cmake_ext.py      2021-07-25 13:41:14.000000000 +0200
+++ new/iminuit-2.8.1/cmake_ext.py      2021-08-04 11:39:20.000000000 +0200
@@ -1,9 +1,11 @@
-import sys
 import os
+import re
 import subprocess
+import sys
+from pathlib import Path
+
 from setuptools import Extension
 from setuptools.command.build_ext import build_ext
-from pathlib import Path
 
 
 class CMakeExtension(Extension):
@@ -15,11 +17,6 @@
 class CMakeBuild(build_ext):
     def build_extension(self, ext):
         extdir = Path(self.get_ext_fullpath(ext.name)).parent.absolute()
-        # required for auto-detection of auxiliary "native" libs
-        cmake_args = [
-            f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}/",
-            f"-DPYTHON_EXECUTABLE={sys.executable}",
-        ]
 
         debug = int(os.environ.get("DEBUG", 0)) if self.debug is None else 
self.debug
         cfg = "Debug" if debug else "Release"
@@ -28,7 +25,12 @@
         # Can be set with Conda-Build, for example.
         cmake_generator = os.environ.get("CMAKE_GENERATOR", "")
 
-        cmake_args += [f"-DCMAKE_BUILD_TYPE={cfg}"]
+        cmake_args = [
+            f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}/",
+            f"-DPYTHON_EXECUTABLE={sys.executable}",
+            f"-DCMAKE_BUILD_TYPE={cfg}",
+        ]
+
         build_args = ["--config", cfg]  # needed by some generators, e.g. on 
Windows
 
         if self.compiler.compiler_type == "msvc":
@@ -48,9 +50,13 @@
                 }[self.plat_name]
                 cmake_args += ["-A", arch]
 
-            cmake_args += [
-                "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}".format(cfg.upper(), 
extdir)
-            ]
+            cmake_args += 
[f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{cfg.upper()}={extdir}"]
+
+        elif sys.platform.startswith("darwin"):
+            # Cross-compile support for macOS - respect ARCHFLAGS if set
+            archs = re.findall(r"-arch (\S+)", os.environ.get("ARCHFLAGS", ""))
+            if archs:
+                cmake_args += [f"-DCMAKE_OSX_ARCHITECTURES={';'.join(archs)}"]
 
         # Set CMAKE_BUILD_PARALLEL_LEVEL to control the parallel build level
         # across all generators.
@@ -64,6 +70,7 @@
 
         if not os.path.exists(self.build_temp):
             os.makedirs(self.build_temp)
+
         subprocess.check_call(
             ["cmake", ext.sourcedir] + cmake_args, cwd=self.build_temp
         )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/pyproject.toml 
new/iminuit-2.8.1/pyproject.toml
--- old/iminuit-2.8.0/pyproject.toml    2021-07-25 13:41:14.000000000 +0200
+++ new/iminuit-2.8.1/pyproject.toml    2021-08-04 11:39:20.000000000 +0200
@@ -3,7 +3,6 @@
     "setuptools>=42",
     "wheel",
     "cmake",
-    "numpy"
 ]
 build-backend = "setuptools.build_meta"
 
@@ -21,3 +20,4 @@
 before-build = "python -m pip install numpy --only-binary=:all:"
 test-requires = "pytest"
 test-command = "python -m pytest {package}/tests"
+test-skip = ["*universal2:arm64"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/src/iminuit/version.py 
new/iminuit-2.8.1/src/iminuit/version.py
--- old/iminuit-2.8.0/src/iminuit/version.py    2021-07-25 13:41:14.000000000 
+0200
+++ new/iminuit-2.8.1/src/iminuit/version.py    2021-08-04 11:39:20.000000000 
+0200
@@ -7,7 +7,7 @@
 # - Increase MAINTENANCE when fixing bugs without adding features
 # - During development, add suffix .devN with N >= 0
 # - For release candidates, add suffix .rcN with N >= 0
-version = "2.8.0"
+version = "2.8.1"
 
 # We list the corresponding ROOT version of the C++ Minuit2 library here
 root_version = "v6-25-01-1694-g187368db19"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/src/iminuit.egg-info/PKG-INFO 
new/iminuit-2.8.1/src/iminuit.egg-info/PKG-INFO
--- old/iminuit-2.8.0/src/iminuit.egg-info/PKG-INFO     2021-07-25 
13:41:40.000000000 +0200
+++ new/iminuit-2.8.1/src/iminuit.egg-info/PKG-INFO     2021-08-04 
11:39:47.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.8.0
+Version: 2.8.1
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team

Reply via email to