python3-markdown: New package.
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
python3-markdown/python3-markdown.nm | 47 ++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 python3-markdown/python3-markdown.nm
new file mode 100644
@@ -0,0 +1,47 @@
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = python3-markdown
+version = 3.4.1
+release = 1
+thisapp = markdown-%{version}
+
+groups = Development/Libraries
+url = https://python-markdown.github.io/
+license = ASL 2.0
+summary = A Python implementation of John Gruber’s Markdown with Extension support.
+
+description
+ This is a Python implementation of John Gruber's Markdown. It is almost
+ completely compliant with the reference implementation, though there are a
+ few known issues.
+
+ Additional features are supported by the Available Extensions.
+end
+
+source_dl = https://github.com/Python-Markdown/markdown/archive/refs/tags/%{version}.tar.gz#/
+
+build
+ requires
+ python3-devel >= 3.4
+ python3-setuptools
+ end
+
+ build
+ %{python3} setup.py build
+ end
+
+ install
+ %{python3} setup.py install --skip-build --root=%{BUILDROOT}
+ end
+end
+
+packages
+ package %{name}
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end