From 053c431ea0718d646dfd89c36b57a83b59c50035fac2934d44eed7e0b40aff82 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Thu, 4 Sep 2025 18:08:29 +0000 Subject: [PATCH] Accepting request 1302109 from home:badshah400:branches:science Update to version 2.0.0. OBS-URL: https://build.opensuse.org/request/show/1302109 OBS-URL: https://build.opensuse.org/package/show/science/python-Mathics-Scanner?expand=0&rev=11 --- mathics_scanner-1.4.1.tar.gz | 3 --- mathics_scanner-2.0.0.tar.gz | 3 +++ python-Mathics-Scanner.changes | 19 +++++++++++++++++++ python-Mathics-Scanner.spec | 7 +++---- 4 files changed, 25 insertions(+), 7 deletions(-) delete mode 100644 mathics_scanner-1.4.1.tar.gz create mode 100644 mathics_scanner-2.0.0.tar.gz diff --git a/mathics_scanner-1.4.1.tar.gz b/mathics_scanner-1.4.1.tar.gz deleted file mode 100644 index 860db9e..0000000 --- a/mathics_scanner-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a98a5ee11815bf94edf8a6f665e788915c09b9cd4fd96ed4fc26583973dc6fb1 -size 182389 diff --git a/mathics_scanner-2.0.0.tar.gz b/mathics_scanner-2.0.0.tar.gz new file mode 100644 index 0000000..1ba0fe8 --- /dev/null +++ b/mathics_scanner-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0424ae0918313640af52a7bbadc91824ca1869eb1ad0e0dd87c784c141326d9a +size 199851 diff --git a/python-Mathics-Scanner.changes b/python-Mathics-Scanner.changes index 67e2581..2033129 100644 --- a/python-Mathics-Scanner.changes +++ b/python-Mathics-Scanner.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sun Aug 31 04:48:13 UTC 2025 - Atri Bhattacharya + +- Update to version 2.0.0: + * Support for saving token position information was started. + * Scanning was revised to handle more kinds of escape sequences + and to be sensitive to their placement inside and outside a + string. + * Tokenization support for Box Input operator \* was added. + * Small YML changes were made to reflect a better understanding + of boxing operators. In particular, \* is not a (prefix) + operator. + * Internals: Mathics3 scanner exceptions of class TranslateError + are incompatible with previous versions, and now store error + parameters, "name", "tag", and "args". + * Bugs fixed: + - gh#Mathics3/mathics-scanner#125 + - gh#Mathics3/mathics-scanner#136 + ------------------------------------------------------------------- Thu May 29 11:24:05 UTC 2025 - Max Lin diff --git a/python-Mathics-Scanner.spec b/python-Mathics-Scanner.spec index 0638816..6a85f99 100644 --- a/python-Mathics-Scanner.spec +++ b/python-Mathics-Scanner.spec @@ -1,7 +1,7 @@ # # spec file for package python-Mathics-Scanner # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 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,16 +16,15 @@ # -%define skip_python2 1 %define modname mathics_scanner Name: python-Mathics-Scanner -Version: 1.4.1 +Version: 2.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 -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}