Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-macholib for openSUSE:Factory 
checked in at 2023-12-08 22:32:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-macholib (Old)
 and      /work/SRC/openSUSE:Factory/.python-macholib.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-macholib"

Fri Dec  8 22:32:04 2023 rev:9 rq:1131727 version:1.16.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-macholib/python-macholib.changes  
2023-06-12 15:26:38.059116918 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-macholib.new.25432/python-macholib.changes   
    2023-12-08 22:32:29.388963277 +0100
@@ -1,0 +2,7 @@
+Thu Dec  7 22:29:13 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.16:
+  * Add ``allow_unknown_load_commands`` option to ``MachO`` and
+    ```macholib.MachOHeader``.
+
+-------------------------------------------------------------------

Old:
----
  macholib-1.16.2.tar.gz

New:
----
  macholib-1.16.3.tar.gz

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

Other differences:
------------------
++++++ python-macholib.spec ++++++
--- /var/tmp/diff_new_pack.kollh8/_old  2023-12-08 22:32:33.117100453 +0100
+++ /var/tmp/diff_new_pack.kollh8/_new  2023-12-08 22:32:33.121100600 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-macholib
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # 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 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-macholib
-Version:        1.16.2
+Version:        1.16.3
 Release:        0
 Summary:        Mach-O header analysis and editing
 License:        MIT

++++++ macholib-1.16.2.tar.gz -> macholib-1.16.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/PKG-INFO new/macholib-1.16.3/PKG-INFO
--- old/macholib-1.16.2/PKG-INFO        2022-09-25 19:48:53.482664800 +0200
+++ new/macholib-1.16.3/PKG-INFO        2023-09-25 11:09:44.846215200 +0200
@@ -1,14 +1,14 @@
 Metadata-Version: 2.1
 Name: macholib
-Version: 1.16.2
+Version: 1.16.3
 Summary: Mach-O header analysis and editing
 Home-page: http://github.com/ronaldoussoren/macholib
+Download-URL: http://pypi.python.org/pypi/macholib
 Author: Ronald Oussoren
 Author-email: [email protected]
 Maintainer: Ronald Oussoren
 Maintainer-email: [email protected]
 License: MIT
-Download-URL: http://pypi.python.org/pypi/macholib
 Keywords: Mach-O,,dyld
 Platform: any
 Classifier: Intended Audience :: Developers
@@ -25,6 +25,7 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: Operating System :: MacOS :: MacOS X
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Build Tools
@@ -446,5 +447,3 @@
 
 - Macholib should work better with 64-bit code
   (patch by Marc-Antoine Parent)
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib/MachO.py 
new/macholib-1.16.3/macholib/MachO.py
--- old/macholib-1.16.2/macholib/MachO.py       2022-09-25 19:48:00.000000000 
+0200
+++ new/macholib-1.16.3/macholib/MachO.py       2023-09-25 11:08:51.000000000 
+0200
@@ -108,7 +108,6 @@
     #   id_cmd     - the index of my id command, or None
 
     def __init__(self, filename, allow_unknown_load_commands=False):
-
         # supports the ObjectGraph protocol
         self.graphident = filename
         self.filename = filename
@@ -355,7 +354,7 @@
         for all relocatable commands
         yield (command_index, command_name, filename)
         """
-        for (idx, (lc, cmd, data)) in enumerate(self.commands):
+        for idx, (lc, cmd, data) in enumerate(self.commands):
             if shouldRelocateCommand(lc.cmd):
                 name = _RELOCATABLE_NAMES[lc.cmd]
                 ofs = cmd.name - sizeof(lc.__class__) - sizeof(cmd.__class__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib/MachOStandalone.py 
new/macholib-1.16.3/macholib/MachOStandalone.py
--- old/macholib-1.16.2/macholib/MachOStandalone.py     2022-09-25 
19:48:00.000000000 +0200
+++ new/macholib-1.16.3/macholib/MachOStandalone.py     2023-09-25 
11:08:51.000000000 +0200
@@ -136,6 +136,7 @@
             changemap[node.filename] = dest
 
         def changefunc(path):
+            print("changefunc: ", path)
             if path.startswith("@loader_path/"):
                 # This is a quick hack for py2app: In that
                 # usecase paths like this are found in the load
@@ -143,10 +144,17 @@
                 # need rewriting.
                 return path
 
+            elif path.startswith("@rpath/"):
+                # Another hack for py2app: In most cases an
+                # @rpath path doesn't require updates.
+                return path
+
             res = mm.locate(path)
             rv = changemap.get(res)
             if rv is None and path.startswith("@loader_path/"):
                 rv = 
changemap.get(mm.locate(mm.trans_table.get((node.filename, path))))
+            if rv is None and path.startswith("@rpath/"):
+                rv = 
changemap.get(mm.locate(mm.trans_table.get((node.filename, path))))
             return rv
 
         for node in machfiles:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib/__init__.py 
new/macholib-1.16.3/macholib/__init__.py
--- old/macholib-1.16.2/macholib/__init__.py    2022-09-25 19:47:26.000000000 
+0200
+++ new/macholib-1.16.3/macholib/__init__.py    2023-09-25 11:08:50.000000000 
+0200
@@ -5,4 +5,4 @@
 
 And also Apple's documentation.
 """
-__version__ = "1.16.2"
+__version__ = "1.16.3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib/itergraphreport.py 
new/macholib-1.16.3/macholib/itergraphreport.py
--- old/macholib-1.16.2/macholib/itergraphreport.py     2020-12-30 
18:01:34.000000000 +0100
+++ new/macholib-1.16.3/macholib/itergraphreport.py     2023-09-25 
11:07:59.000000000 +0200
@@ -29,11 +29,11 @@
         yield "\t%s;\n" % (cpatt % item,)
 
     # find all packages (subgraphs)
-    for (node, data, _outgoing, _incoming) in nodes:
+    for node, data, _outgoing, _incoming in nodes:
         nodetoident[node] = getattr(data, "identifier", node)
 
     # create sets for subgraph, write out descriptions
-    for (node, data, outgoing, incoming) in nodes:
+    for node, data, outgoing, incoming in nodes:
         # update edges
         for edge in imap(describe_edge, outgoing):
             edges.append(edge)
@@ -59,7 +59,7 @@
     def do_graph(edges, tabs):
         edgestr = tabs + '"%s" -> "%s" [%s];\n'
         # describe edge
-        for (edge, data, head, tail) in edges:
+        for edge, data, head, tail in edges:
             attribs = edgevisitor(edge, data, head, tail)
             yield edgestr % (
                 head,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib/ptypes.py 
new/macholib-1.16.3/macholib/ptypes.py
--- old/macholib-1.16.2/macholib/ptypes.py      2021-09-11 11:17:57.000000000 
+0200
+++ new/macholib-1.16.3/macholib/ptypes.py      2023-09-25 11:08:18.000000000 
+0200
@@ -221,8 +221,8 @@
     def _get_packables(self):
         for obj in imap(self._objects_.__getitem__, self._names_):
             if hasattr(obj, "_get_packables"):
-                for obj in obj._get_packables():
-                    yield obj
+                for value in obj._get_packables():
+                    yield value
 
             else:
                 yield obj
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib.egg-info/PKG-INFO 
new/macholib-1.16.3/macholib.egg-info/PKG-INFO
--- old/macholib-1.16.2/macholib.egg-info/PKG-INFO      2022-09-25 
19:48:53.000000000 +0200
+++ new/macholib-1.16.3/macholib.egg-info/PKG-INFO      2023-09-25 
11:09:44.000000000 +0200
@@ -1,14 +1,14 @@
 Metadata-Version: 2.1
 Name: macholib
-Version: 1.16.2
+Version: 1.16.3
 Summary: Mach-O header analysis and editing
 Home-page: http://github.com/ronaldoussoren/macholib
+Download-URL: http://pypi.python.org/pypi/macholib
 Author: Ronald Oussoren
 Author-email: [email protected]
 Maintainer: Ronald Oussoren
 Maintainer-email: [email protected]
 License: MIT
-Download-URL: http://pypi.python.org/pypi/macholib
 Keywords: Mach-O,,dyld
 Platform: any
 Classifier: Intended Audience :: Developers
@@ -25,6 +25,7 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: Operating System :: MacOS :: MacOS X
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Build Tools
@@ -449,5 +450,3 @@
 
 - Macholib should work better with 64-bit code
   (patch by Marc-Antoine Parent)
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib.egg-info/entry_points.txt 
new/macholib-1.16.3/macholib.egg-info/entry_points.txt
--- old/macholib-1.16.2/macholib.egg-info/entry_points.txt      2022-09-25 
19:48:53.000000000 +0200
+++ new/macholib-1.16.3/macholib.egg-info/entry_points.txt      2023-09-25 
11:09:44.000000000 +0200
@@ -2,4 +2,3 @@
 macho_dump = macholib.macho_dump:main
 macho_find = macholib.macho_find:main
 macho_standalone = macholib.macho_standalone:main
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/macholib_tests/test_command_line.py 
new/macholib-1.16.3/macholib_tests/test_command_line.py
--- old/macholib-1.16.2/macholib_tests/test_command_line.py     2021-08-19 
21:21:58.000000000 +0200
+++ new/macholib-1.16.3/macholib_tests/test_command_line.py     2023-09-25 
11:07:59.000000000 +0200
@@ -16,7 +16,6 @@
 
 
 class TestCmdLine(unittest.TestCase):
-
     # This test is no longer valid:
     def no_test_main_is_shared(self):
         self.assertTrue(macho_dump.main is _cmdline.main)
@@ -67,7 +66,6 @@
                 os.unlink("test.exec")
 
     def test_shared_main(self):
-
         saved_stderr = sys.stderr
         saved_argv = sys.argv
         try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/setup.cfg 
new/macholib-1.16.3/setup.cfg
--- old/macholib-1.16.2/setup.cfg       2022-09-25 19:48:53.482983800 +0200
+++ new/macholib-1.16.3/setup.cfg       2023-09-25 11:09:44.846977000 +0200
@@ -1,6 +1,6 @@
 [x-metadata]
 name = macholib
-version = 1.16.2
+version = 1.16.3
 description = Mach-O header analysis and editing
 long_description_file = 
        README.rst
@@ -20,6 +20,7 @@
        Programming Language :: Python :: 3.9
        Programming Language :: Python :: 3.10
        Programming Language :: Python :: 3.11
+       Programming Language :: Python :: 3.12
        Operating System :: MacOS :: MacOS X
        Topic :: Software Development :: Libraries :: Python Modules
        Topic :: Software Development :: Build Tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/macholib-1.16.2/tox.ini new/macholib-1.16.3/tox.ini
--- old/macholib-1.16.2/tox.ini 2022-09-25 19:47:58.000000000 +0200
+++ new/macholib-1.16.3/tox.ini 2023-09-25 11:08:00.000000000 +0200
@@ -1,11 +1,11 @@
 [tox]
 ;envlist = isort,black,py27,py37,py38,py39,py310,py311,flake8,coverage-report
-envlist = isort,black,py39,py310,py311,flake8,coverage-report
+envlist = isort,black,py39,py310,py311,py312,flake8,coverage-report
 
 [testenv]
 commands = {envbindir}/python -mcoverage run --parallel setup.py test 
--verbosity=3
-deps = 
-  coverage 
+deps =
+  coverage
   altgraph
 
 [testenv:black]

Reply via email to