17
0

2 Commits

4 changed files with 25 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a98a5ee11815bf94edf8a6f665e788915c09b9cd4fd96ed4fc26583973dc6fb1
size 182389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0424ae0918313640af52a7bbadc91824ca1869eb1ad0e0dd87c784c141326d9a
size 199851

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sun Aug 31 04:48:13 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- 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 <mlin@suse.com>

View File

@@ -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}