From 6dac832aba09aaf6f640842028e1724442726072d1adcff179fdd30c6e9c5290 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 13 Nov 2024 15:05:17 +0000 Subject: [PATCH] - update to 0.4.2: * Improve parsing of nested amsmath * Add `allowed` option for inline/block attributes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mdit-py-plugins?expand=0&rev=11 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-mdit-py-plugins-0.4.1.tar.gz | 3 ++ python-mdit-py-plugins-0.4.2.tar.gz | 3 ++ python-mdit-py-plugins.changes | 70 +++++++++++++++++++++++++++++ python-mdit-py-plugins.spec | 63 ++++++++++++++++++++++++++ 6 files changed, 163 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-mdit-py-plugins-0.4.1.tar.gz create mode 100644 python-mdit-py-plugins-0.4.2.tar.gz create mode 100644 python-mdit-py-plugins.changes create mode 100644 python-mdit-py-plugins.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-mdit-py-plugins-0.4.1.tar.gz b/python-mdit-py-plugins-0.4.1.tar.gz new file mode 100644 index 0000000..b32ca3f --- /dev/null +++ b/python-mdit-py-plugins-0.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:612e615b1065f2329e1cbce7f23c240c1d6ccf65c90c27b08563c6fcb4de3e4c +size 63342 diff --git a/python-mdit-py-plugins-0.4.2.tar.gz b/python-mdit-py-plugins-0.4.2.tar.gz new file mode 100644 index 0000000..74318c6 --- /dev/null +++ b/python-mdit-py-plugins-0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebf41856b3876473dd9adabee689d9a79105a4ef7ede09891b7d8ef1015e0ae5 +size 64576 diff --git a/python-mdit-py-plugins.changes b/python-mdit-py-plugins.changes new file mode 100644 index 0000000..7b953db --- /dev/null +++ b/python-mdit-py-plugins.changes @@ -0,0 +1,70 @@ +------------------------------------------------------------------- +Wed Nov 13 15:04:58 UTC 2024 - Dirk Müller + +- update to 0.4.2: + * Improve parsing of nested amsmath + * Add `allowed` option for inline/block attributes + +------------------------------------------------------------------- +Sun Jun 30 20:34:50 UTC 2024 - Dirk Müller + +- update to 0.4.1: + * Add option for footnotes references to always be matched + +------------------------------------------------------------------- +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 + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Mon Sep 5 08:02:15 UTC 2022 - Elisei Roca + +- Cleanup requires, comments and files section + +------------------------------------------------------------------- +Tue Apr 26 16:22:09 UTC 2022 - Sebastian Wagner + +- initial package for version 0.3.0. diff --git a/python-mdit-py-plugins.spec b/python-mdit-py-plugins.spec new file mode 100644 index 0000000..55dc713 --- /dev/null +++ b/python-mdit-py-plugins.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-mdit-py-plugins +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-mdit-py-plugins +Version: 0.4.2 +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 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 +Requires: python-markdown-it-py +BuildArch: noarch +%python_subpackages + +%description +Collection of core plugins for markdown-it-py. + +%prep +%autosetup -p1 -n mdit-py-plugins-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md CHANGELOG.md docs/index.md +%license LICENSE +%{python_sitelib}/mdit_py_plugins/ +%{python_sitelib}/mdit_py_plugins-%{version}*-info + +%changelog