Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Mathics-Scanner for 
openSUSE:Factory checked in at 2026-05-09 12:59:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Mathics-Scanner (Old)
 and      /work/SRC/openSUSE:Factory/.python-Mathics-Scanner.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Mathics-Scanner"

Sat May  9 12:59:42 2026 rev:7 rq:1352050 version:10.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-Mathics-Scanner/python-Mathics-Scanner.changes
    2025-09-05 21:43:58.054301310 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Mathics-Scanner.new.1966/python-Mathics-Scanner.changes
  2026-05-09 12:59:48.573076668 +0200
@@ -1,0 +2,18 @@
+Tue May  5 17:19:08 UTC 2026 - Atri Bhattacharya <[email protected]>
+
+- Update to version 10.0.0:
+  * More YAML/JSON tables added. mathics-core now imports values
+    via mathics.characters. Previously, it created JSON files on
+    its own.
+  * Name Pattern token introduced to handle ? and ?? operands.
+  * Token names align more closely with CodeParser`Tokenize.
+  * Add YAML/JSON table for box grouping characters
+  * Disambiguate Unicode for [Rule] and [DirectedEdge].
+  * Add Unicode to ASCII conversion table to named characters
+  * Corrections to YAML table entries, e.g., "latex" field;
+    additional/corrections in named characters.
+  * Numerous spelling corrections were performed over the code.
+- Manually include `grouping-characters.yml`, a file missed from
+  tarball, as source.
+
+-------------------------------------------------------------------

Old:
----
  mathics_scanner-2.0.0.tar.gz

New:
----
  grouping-characters.yml
  mathics3_scanner-10.0.0.tar.gz

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

Other differences:
------------------
++++++ python-Mathics-Scanner.spec ++++++
--- /var/tmp/diff_new_pack.IhMfrW/_old  2026-05-09 12:59:49.061096692 +0200
+++ /var/tmp/diff_new_pack.IhMfrW/_new  2026-05-09 12:59:49.061096692 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Mathics-Scanner
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,16 @@
 #
 
 
-%define modname mathics_scanner
+%define modname mathics3_scanner
 Name:           python-Mathics-Scanner
-Version:        2.0.0
+Version:        10.0.0
 Release:        0
 Summary:        Character Tables and Tokenizer for Mathics and the Wolfram 
Language
 License:        GPL-3.0-only
 URL:            https://mathics.org/
-Source:         
https://files.pythonhosted.org/packages/source/M/Mathics-Scanner/%{modname}-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/M/Mathics3-Scanner/%{modname}-%{version}.tar.gz
+# Manually include missed file
+Source1:        
https://raw.githubusercontent.com/Mathics3/Mathics3-scanner/refs/tags/10.0.0/mathics_scanner/data/grouping-characters.yml
 BuildRequires:  %{python_module base >= 3.10}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -39,6 +41,7 @@
 Requires:       python-PyYAML
 Requires:       python-chardet
 Requires:       python-click
+Provides:       python-Mathics3-Scanner = %{version}
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 Recommends:     python-ujson
@@ -49,40 +52,42 @@
 Character Tables and Tokenizer for Mathics and the Wolfram Language.
 
 %prep
-%setup -q -n %{modname}-%{version}
-# Fix shbang
-sed -i "s|/usr/bin/env python|/usr/bin/python3|" 
mathics_scanner/generate/build_{,operator_}tables.py
-sed -i "s|/usr/bin/env python3|/usr/bin/python3|" 
mathics_scanner/generate/rl_inputrc.py
+%autosetup -n %{modname}-%{version}
+cp %{SOURCE1} ./mathics_scanner/data/
+chmod -x ./mathics_scanner/generate/*.py
+sed -Ei "1{\@^#!/usr/bin/env@d}" ./mathics_scanner/generate/*.py
 
 %build
 %pyproject_wheel
 
 %install
 %pyproject_install
-%python_clone -a %{buildroot}%{_bindir}/mathics3-generate-json-table
-%python_clone -a %{buildroot}%{_bindir}/mathics3-generate-operator-json-table
-%python_clone -a %{buildroot}%{_bindir}/mathics3-tokens
+%python_clone -a %{buildroot}%{_bindir}/mathics3-codeparser-tokenize
+%python_clone -a %{buildroot}%{_bindir}/mathics3-make-boxing-character-json
+%python_clone -a %{buildroot}%{_bindir}/mathics3-make-named-character-json
+%python_clone -a %{buildroot}%{_bindir}/mathics3-make-operator-json
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-# Should be executable
-%python_expand chmod 0755 
%{buildroot}%{$python_sitelib}/mathics_scanner/generate/{build_tables,build_operator_tables,rl_inputrc}.py
 
 %check
 %pytest
 
 %post
-%python_install_alternative mathics3-generate-json-table
-%python_install_alternative mathics3-generate-operator-json-table
-%python_install_alternative mathics3-tokens
+%python_install_alternative mathics3-codeparser-tokenize
+%python_install_alternative mathics3-make-boxing-character-json
+%python_install_alternative mathics3-make-named-character-json
+%python_install_alternative mathics3-make-operator-json
 
 %postun
-%python_uninstall_alternative mathics3-generate-json-table
-%python_uninstall_alternative mathics3-generate-operator-json-table
-%python_uninstall_alternative mathics3-tokens
+%python_uninstall_alternative mathics3-codeparser-tokenize
+%python_uninstall_alternative mathics3-make-boxing-character-json
+%python_uninstall_alternative mathics3-make-named-character-json
+%python_uninstall_alternative mathics3-make-operator-json
 
 %files %{python_files}
-%python_alternative %{_bindir}/mathics3-generate-json-table
-%python_alternative %{_bindir}/mathics3-generate-operator-json-table
-%python_alternative %{_bindir}/mathics3-tokens
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/[Mm]athics_[Ss]canner-%{version}*.*-info/
+%python_alternative %{_bindir}/mathics3-codeparser-tokenize
+%python_alternative %{_bindir}/mathics3-make-boxing-character-json
+%python_alternative %{_bindir}/mathics3-make-named-character-json
+%python_alternative %{_bindir}/mathics3-make-operator-json
+%{python_sitelib}/mathics_scanner/
+%{python_sitelib}/%{modname}-%{version}*.*-info/
 

++++++ grouping-characters.yml ++++++
# Information about Wolfram Language grouping characters.
#

# Following WMA terminology, we use "Left", and "Right" for opening
# and closing delimiters. We also use "TeX" (as opposed to LaTeX, or
# AMSLaTeX) in field names since the concept works equally well in all
# forms of TeX. (This is not the situation in named-characters.yml for
# AMSLaTeX symbols.)

# All of the key names *except* Parenthesis should be a valid operator
# name.

#
# Fields
# ======
#

# ASCII-Left (string)
# -------------------
# The left-most or opening character(s) in ASCII.

# ASCII-Right (string)
# -------------------
# The right-most or closing character(s) in ASCII.

# TeX-Left (string)
# -----------------
# The left-most or opening character(s) in either TeX and variants
# (LaTeX, AMSLaTeX).

# TeX-Right (string)
# -------------------
# The right-most or closing character(s) in either TeX and variants
# (LaTeX, AMSLaTeX).

# Unicode-Left (string)
# ---------------------
# The left-most or opening character(s) in Unicode.

# Unicode-Right (string)
# ----------------------
# The right-most or closing character(s) in Unicode.

#
# is-resizable (boolean)
# ----------------------
# If true, then character(s) are resizable in TeX using \left or
# \right. Note that if there is more than one (ASCII) character both
# characters need to be prefaced with \left or \right.
#
# Right now, all grouping symbols are resizable, but we'll make this
# explicit in case there is one pops up that is not resizable.

# Note that font changing can be used as well via: \bigr, \bigl,
# \Bigl, \Bigr, \biggl, \biggr, \Biggl, or \Biggr.

# AngleBracket is an operator with no built-in meaning
AngleBracket:
  Unicode-Left: '\[LeftAngleBracket]'
  Unicode-Right: '\[RightAngleBracket]'
  is-resizable: true

Association:
  ASCII-Left: "<|"
  ASCII-Right: "|>"
  TeX-Left: '\langle\vert '
  TeX-Right: '\vert\rangle '
  Unicode-Left: '\[LeftAssociation]'
  Unicode-Right: '\[RightAssociation]'
  is-resizable: true

# BracketingBar is an operator with no built-in meaning
BracketingBar:
  TeX-Left: '|'
  TeX-Right: '|'
  Unicode-Left: '\[LeftBracketingBar]'
  Unicode-Right: '\[RightBracketingBar]'
  is-resizable: true

# DoubleBracketingBar is an operator with no built-in meaning
DoubleBracketingBar:
  TeX-Left: '\|'
  TeX-Right: '\|'
  Unicode-Left: '\[LeftDoubleBracketingBar]'
  Unicode-Right: '\[RightDoubleBracketingBar]'
  is-resizable: true

# Note DoubleVerticalBar which sort of looks like DoubleBracketingBar
# is an *infix* operator with no built-in meaning.

List:
  Left: "{" # <- sharp added to make viewing in Emacs highlight work
  Right: "}"
  is-resizable: true

Part:
  ASCII-Left: "[["
  ASCII-Right: "]]"
  is-resizable: true

# Note: Parenthesis is exceptional in that it is *not*
# listed in operators.yml as an operator.
Parenthesis:
  ASCII-Left: "("
  ASCII-Right: ")"
  is-resizable: true

++++++ mathics_scanner-2.0.0.tar.gz -> mathics3_scanner-10.0.0.tar.gz ++++++
++++ 8978 lines of diff (skipped)

Reply via email to