[packages/python3-mistletoe] - updated to 1.5.0

qboosh qboosh at pld-linux.org
Sat Nov 15 11:06:36 CET 2025


commit 766c4121f87b4908339b89da67ffa9be20976eeb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 15 11:06:33 2025 +0100

    - updated to 1.5.0

 python3-mistletoe.spec | 39 ++++++++++++++++++++++-----------------
 1 file changed, 22 insertions(+), 17 deletions(-)
---
diff --git a/python3-mistletoe.spec b/python3-mistletoe.spec
index 1ce630e..5564869 100644
--- a/python3-mistletoe.spec
+++ b/python3-mistletoe.spec
@@ -1,43 +1,48 @@
+#
 # Conditional build:
 %bcond_without  tests   # unit tests
 #
 %define		module	mistletoe
-Summary:	A wrapper around 'deprecation' providing support for deprecated aliases
+Summary:	A fast, extensible Markdown parser in pure Python
+Summary(pl.UTF-8):	Szybki, rozszerzalny parser formatu Markdown w czystym Pythonie
 Name:		python3-%{module}
-Version:	1.4.0
+Version:	1.5.0
 Release:	1
-License:	BSD
+License:	MIT
 Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/mistletoe/
 Source0:	https://pypi.debian.net/mistletoe/mistletoe-%{version}.tar.gz
-# Source0-md5:	cccc7c5a07268b5f976b901420cb726d
-URL:		https://pypi.org/project/deprecation-alias/
-BuildRequires:	python3-modules >= 1:3.2
-#BuildRequires:	python3-setuptools
+# Source0-md5:	41a02c1416ae6cdf722e3930813cc231
+URL:		https://pypi.org/project/mistletoe/
+BuildRequires:	python3-modules >= 1:3.5
+BuildRequires:	python3-setuptools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with tests}
 BuildRequires:	python3-parameterized
+BuildRequires:	python3-pygments >= 2.11.2
 %endif
-Requires:	python3-modules >= 1:3.2
+Requires:	python3-modules >= 1:3.5
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A wrapper around ‘deprecation' providing support for deprecated
-aliases.
+mistletoe is a Markdown parser in pure Python, designed to be fast,
+spec-compliant and fully customizable.
+
+%description -l pl.UTF-8
+mistletoe to parser formatu Markdown w czystym Pythonie,
+zaprojektowany jako szybki, zgodny ze specyfikacją i w pełni
+konfigurowalny.
 
 %prep
 %setup -q -n mistletoe-%{version}
 
 %build
 %py3_build
-# deprecated target, but sometimes still used: %{?with_tests:test}
 
 %if %{with tests}
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
-%{__python3} -m pytest test
+%{__python3} -m unittest discover -s test
 %endif
 
 %install
@@ -50,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md
-%attr(755,root,root) %{_bindir}/%{module}
+%doc LICENSE README.md
+%attr(755,root,root) %{_bindir}/mistletoe
 %{py3_sitescriptdir}/%{module}
 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-mistletoe.git/commitdiff/766c4121f87b4908339b89da67ffa9be20976eeb



More information about the pld-cvs-commit mailing list