From 6d58cd56fd52d8aaf79168351938a93137fb67769bbae02b3b9b5ddb6e4f66ad Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 23 Nov 2023 07:32:23 +0000 Subject: [PATCH] - Update to version 0.4.0: * UPGRADE: Drop python 3.7 and support 3.11 (#77) * UPGRADE: Allow markdown-it-py v3 (#85) - Make field_list compatible with latest upstream (#75) - Convert state.srcCharCode -> state.src (#84) - Remove unnecessary method arg by @chrisjsewell in( #76) - Centralise code block test (#83 and #87) - This means that disabling the code block rule in markdown-it-py v3+ will now allow all syntax blocks to be indented by any amount of whitespace. * Improve dollarmath plugin: Add allow_blank_lines option, thanks to @eric-wieser (#46) * Improve admon plugin: Add ??? support, thanks to @KyleKing (#58) * MAINTAIN: Make type checking strict (#86) - v0.3.5: * FIX: Regression in dollarmath by @chrisjsewell in #69 * Fix regression in amsmath by @chrisjsewell in #70 * Correct project documentation link by @andersk in #73 * RELEASE v0.3.5 by @chrisjsewell in #74 - v0.3.4: * NEW: Add attrs_block_plugin by @chrisjsewell in #66 * Improve field lists by @chrisjsewell in #65 * Update pre-commit by @chrisjsewell in #64 (moving from flake8 to ruff) - v0.3.3: * FIX: attrs: span with end of inline before attrs by @chrisjsewell in #57 - v0.3.2: * MAINTAIN: Fix pre-commit configuration by @hukkin in #54 * NEW: Add span parsing to inline attributes plugin by @chrisjsewell in #55 * FIX: Task list item marker can be followed by any GFM whitespace by @hukkin in #42 * NEW: Port admon plugin by @KyleKing in #53 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mdit-py-plugins?expand=0&rev=7 --- python-mdit-py-plugins-0.3.0.tar.gz | 3 -- python-mdit-py-plugins-0.4.0.tar.gz | 3 ++ python-mdit-py-plugins.changes | 43 +++++++++++++++++++++++++++++ python-mdit-py-plugins.spec | 21 ++++++++------ 4 files changed, 59 insertions(+), 11 deletions(-) delete mode 100644 python-mdit-py-plugins-0.3.0.tar.gz create mode 100644 python-mdit-py-plugins-0.4.0.tar.gz diff --git a/python-mdit-py-plugins-0.3.0.tar.gz b/python-mdit-py-plugins-0.3.0.tar.gz deleted file mode 100644 index e04b5c4..0000000 --- a/python-mdit-py-plugins-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6defa17be05fb1f1d2b6a0fe20ad4773184a089542fb3e2d2742cc630394ddf7 -size 50654 diff --git a/python-mdit-py-plugins-0.4.0.tar.gz b/python-mdit-py-plugins-0.4.0.tar.gz new file mode 100644 index 0000000..279f4ff --- /dev/null +++ b/python-mdit-py-plugins-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e156efb677d0a660b8f9a5807bf48c6754d94f4f95996b36e17f131056a69e1a +size 62199 diff --git a/python-mdit-py-plugins.changes b/python-mdit-py-plugins.changes index 5ed0dfd..d5b7cae 100644 --- a/python-mdit-py-plugins.changes +++ b/python-mdit-py-plugins.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Thu Nov 23 07:28:09 UTC 2023 - Daniel Garcia + +- Update to version 0.4.0: + * UPGRADE: Drop python 3.7 and support 3.11 (#77) + * UPGRADE: Allow markdown-it-py v3 (#85) + - Make field_list compatible with latest upstream (#75) + - Convert state.srcCharCode -> state.src (#84) + - Remove unnecessary method arg by @chrisjsewell in( #76) + - Centralise code block test (#83 and #87) + - This means that disabling the code block rule in + markdown-it-py v3+ will now allow all syntax blocks to be + indented by any amount of whitespace. + * Improve dollarmath plugin: Add allow_blank_lines option, thanks + to @eric-wieser (#46) + * Improve admon plugin: Add ??? support, thanks to @KyleKing (#58) + * MAINTAIN: Make type checking strict (#86) +- v0.3.5: + * FIX: Regression in dollarmath by @chrisjsewell in #69 + * Fix regression in amsmath by @chrisjsewell in #70 + * Correct project documentation link by @andersk in #73 + * RELEASE v0.3.5 by @chrisjsewell in #74 +- v0.3.4: + * NEW: Add attrs_block_plugin by @chrisjsewell in #66 + * Improve field lists by @chrisjsewell in #65 + * Update pre-commit by @chrisjsewell in #64 (moving from flake8 to ruff) +- v0.3.3: + * FIX: attrs: span with end of inline before attrs by @chrisjsewell in #57 +- v0.3.2: + * MAINTAIN: Fix pre-commit configuration by @hukkin in #54 + * NEW: Add span parsing to inline attributes plugin by @chrisjsewell in #55 + * FIX: Task list item marker can be followed by any GFM whitespace by @hukkin in #42 + * NEW: Port admon plugin by @KyleKing in #53 + * RELEASE: v0.3.2 by @chrisjsewell in #56 +- v0.3.1: + * MAINTAIN: Remove upper bound from Python version constraint by @cjolowicz in #40 + * MAINTAIN: Update pre-commit by @chrisjsewell in #47 + * FIX: Parsing when newline is between footnote ID and first paragraph by @hukkin in #49 + * Anchor ids in separate renders should not affect each other. by @distractedmosfet in #43 + * PEP 621 package build, drop Python 3.6 by @chrisjsewell in #51 + * NEW: Add attrs_plugin by @chrisjsewell in #50 + * RELEASE: v0.3.1 by @chrisjsewell in #52 + ------------------------------------------------------------------- Fri Jun 9 12:58:04 UTC 2023 - ecsos diff --git a/python-mdit-py-plugins.spec b/python-mdit-py-plugins.spec index 1e81153..0fe5960 100644 --- a/python-mdit-py-plugins.spec +++ b/python-mdit-py-plugins.spec @@ -1,7 +1,7 @@ # # spec file for package python-mdit-py-plugins # -# 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 @@ -16,16 +16,21 @@ # -%{?sle15_python_module_pythons} +%{?sle15_python_module_pythons} Name: python-mdit-py-plugins -Version: 0.3.0 +Version: 0.4.0 Release: 0 Summary: Collection of plugins for markdown-it-py License: MIT URL: https://mdit-py-plugins.readthedocs.io/ Source: https://github.com/executablebooks/mdit-py-plugins/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module markdown-it-py} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +# SECTION tests +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-regressions} BuildRequires: fdupes #Source: https://files.pythonhosted.org/packages/source/m/mdit-py-plugins/mdit-py-plugins-%%{version}.tar.gz BuildRequires: python-rpm-macros @@ -37,17 +42,17 @@ BuildArch: noarch Collection of core plugins for markdown-it-py. %prep -%setup -q -n mdit-py-plugins-%{version} +%autosetup -p1 -n mdit-py-plugins-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest +%pytest %files %{python_files} %doc README.md CHANGELOG.md docs/index.md