forked from pool/python-markdown2
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
5d31c42e6c | |||
f1eb6497d9 | |||
fd80f7d4e0 | |||
a01566617c | |||
d0069e8b2f | |||
31bf43ce88 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18ceb56590da77f2c22382e55be48c15b3c8f0c71d6398def387275e6c347a9f
|
||||
size 130464
|
3
markdown2-2.5.3.tar.gz
Normal file
3
markdown2-2.5.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4d502953a4633408b0ab3ec503c5d6984d1b14307e32b325ec7d16ea57524895
|
||||
size 141676
|
@@ -1,3 +1,51 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 13:40:24 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.5.3
|
||||
* [pull #616] make tables without body gfm compatible
|
||||
- Add sed command to remove shebang from lib/markdown2.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 16:23:14 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
|
||||
|
||||
- update to 2.5.2:
|
||||
* [pull #605] Add support for Python 3.13, drop EOL 3.8
|
||||
* [pull #607] Fix middle-word-em extra preventing strongs from being recognized (#606)
|
||||
* [pull #609] Add option to output to file in CLI (#608)
|
||||
* [pull #612] Fix footnote labels appearing out-of-order (#536)
|
||||
* [pull #613] Fix smarty pants extra not triggering when it should (#611)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 21:34:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.5.1:
|
||||
* [pull #590] Fix underscores within bold text getting
|
||||
emphasized
|
||||
* [pull #591] Add Alerts extra
|
||||
* [pull #595] Fix img alt text being processed as markdown
|
||||
* [pull #598] Add `link-shortrefs` extra
|
||||
* [pull #600] Use urandom for SECRET_SALT
|
||||
* [pull #602] Fix XSS issue in safe mode
|
||||
* [pull #604] Fix XSS injection in image URLs
|
||||
* [pull #519] Add support for custom extras
|
||||
* [pull #519] Drop Python 3.5 support
|
||||
* [pull #568] Add `prepend` arg to toc extra
|
||||
* [pull #569] Process HTML comments as markdown in 'escape'
|
||||
safe mode
|
||||
* [pull #570] Fix syntax warnings in test suite
|
||||
* [pull #572] Process inline tags as HTML blocks when they span
|
||||
multiple lines
|
||||
* [pull #573] Add new LaTeX Extra
|
||||
* [pull #576] Fix `html`, `head` and `body` tags being wrapped
|
||||
in `<p>` tags
|
||||
* [pull #578] Graceful handling of broken lists when cuddled-
|
||||
lists extra is enabled
|
||||
* [pull #581] Add type hints
|
||||
* [pull #581] Drop Python 3.6 and 3.7 support
|
||||
* [pull #582] Fix fenced code blocks breaking lists
|
||||
* [pull #586] Fix #583 by tweaking incomplete tag regex
|
||||
* [pull #587] Fix AssertionError on malformed HTML
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 09:02:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-markdown2
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-markdown2
|
||||
Version: 2.4.13
|
||||
Version: 2.5.3
|
||||
Release: 0
|
||||
Summary: A Python implementation of Markdown
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/trentm/python-markdown2
|
||||
Source: https://files.pythonhosted.org/packages/source/m/markdown2/markdown2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pygments}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
@@ -43,13 +45,14 @@ extensions (called "extras") for things like syntax coloring, tables,
|
||||
header-ids.
|
||||
|
||||
%prep
|
||||
%setup -q -n markdown2-%{version}
|
||||
%autosetup -p1 -n markdown2-%{version}
|
||||
sed -i '/#\!\/usr\/bin\/env\ python/d' lib/markdown2.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/markdown2
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -69,6 +72,8 @@ popd
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.md CONTRIBUTORS.txt TODO.txt
|
||||
%python_alternative %{_bindir}/markdown2
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/markdown2.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/markdown2*
|
||||
%{python_sitelib}/markdown2-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user