From 40f8bc495ba1d15284d27a67839b89204f0c9f18 Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Fri, 9 Aug 2024 08:34:10 -0400 Subject: [PATCH] Get ready for release 1.0.3 --- .gitignore | 2 ++ ChangeLog-spell-corrected.diff | 61 ++++++++++++++++++++++++++++++++++ Makefile | 1 + mathics_pygments/__init__.py | 10 +++--- mathics_pygments/version.py | 2 +- 5 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 ChangeLog-spell-corrected.diff diff --git a/.gitignore b/.gitignore index ddeffb2..3e6e9ac 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ /.cache /.python-version /ChangeLog +/ChangeLog.orig +/ChangeLog.rej /mma.css /mma.css.map __pycache__/ diff --git a/ChangeLog-spell-corrected.diff b/ChangeLog-spell-corrected.diff new file mode 100644 index 0000000..c81f4fe --- /dev/null +++ b/ChangeLog-spell-corrected.diff @@ -0,0 +1,61 @@ +--- ChangeLog 2024-08-09 08:26:17.806452638 -0400 ++++ ChangeLog-spell-corrected 2024-08-09 08:26:56.001261911 -0400 +@@ -50,7 +50,7 @@ + 2021-09-04 rocky + + * mathics_pygments/builtins.py, +- mathics_pygments/data/mma-tables.json: Fix script capital N. Rebuld ++ mathics_pygments/data/mma-tables.json: Fix script capital N. Rebuild + tables + + 2021-06-27 rocky +@@ -71,7 +71,7 @@ + + 2021-06-22 R. Bernstein + +- * : Merge pull request #2 from Mathics3/administrivia Varous lintings ++ * : Merge pull request #2 from Mathics3/administrivia Various lintings + + 2021-06-22 rocky + +@@ -89,7 +89,7 @@ + 2021-06-22 rocky + + * .github/workflows/autoblack.yml, .github/workflows/{osx.yaml => +- osx.yml}, .github/workflows/{ubuntu.yaml => ubuntu.yml}: Varous ++ osx.yml}, .github/workflows/{ubuntu.yaml => ubuntu.yml}: Vairous + lintings + + 2021-06-22 rocky +@@ -142,7 +142,7 @@ + + 2021-05-14 rocky + +- * CHANGES.rst, MANIFEST.in, Makefile, mathics_pygments/version.py: ++ * CHANGES.rst, MANIFEST.in, Makefile, mathics_pygments/version.py: + Get ready for release 1.0.0 + + 2021-05-14 rocky +@@ -152,7 +152,7 @@ + + 2021-05-13 rocky + +- * .gitignore, MANIFEST.in, mathics_pygments/builtins.py: ++ * .gitignore, MANIFEST.in, mathics_pygments/builtins.py: + Administriva + + 2021-05-12 rocky +@@ -165,7 +165,7 @@ + + * mathics_pygments/builtins.py, + mathics_pygments/data/mma-tables.json, mathics_pygments/lexer.py, +- mathics_pygments/style.py: More oeprators, what's up with Degree ++ mathics_pygments/style.py: More operators, what's up with Degree + + 2021-05-09 rocky + +@@ -335,4 +335,3 @@ + 2016-02-14 Ravi Menon + + * Initial commit for v0.1.0 of the Mathematica Lexer for Pygments +- diff --git a/Makefile b/Makefile index 110a589..e01c418 100644 --- a/Makefile +++ b/Makefile @@ -50,3 +50,4 @@ rmChangeLog: #: Create a ChangeLog from git via git log and git2cl ChangeLog: rmChangeLog git log --pretty --numstat --summary | $(GIT2CL) >$@ + patch ChangeLog < ChangeLog-spell-corrected.diff diff --git a/mathics_pygments/__init__.py b/mathics_pygments/__init__.py index 86a4e84..80c2a5a 100644 --- a/mathics_pygments/__init__.py +++ b/mathics_pygments/__init__.py @@ -1,13 +1,15 @@ # -*- coding: utf-8 -*- # Copyright (c) 2016 rsmenon -# Copyright (c) 2021 Rocky Bernstein +# Copyright (c) 2021, 2024 Rocky Bernstein # Licensed under the MIT License (https://opensource.org/licenses/MIT) from mathics_pygments.lexer import MathematicaLexer from mathics_pygments.style import MathematicaNotebookStyle, MathematicaStyle +from mathics_pygments.version import __version__ __all__ = [ - MathematicaLexer, - MathematicaNotebookStyle, - MathematicaStyle, + "MathematicaLexer", + "MathematicaNotebookStyle", + "MathematicaStyle", + "__version__", ] diff --git a/mathics_pygments/version.py b/mathics_pygments/version.py index 6c59065..3388c31 100644 --- a/mathics_pygments/version.py +++ b/mathics_pygments/version.py @@ -5,4 +5,4 @@ # space around "=" below. # fmt: off -__version__="1.0.3.dev0" # noqa +__version__="1.0.3" # noqa