python3-markdown: New package.

Message ID 20230215194803.357203-1-stefan.schantl@ipfire.org
State Accepted
Commit f70cb3c677ec6b483aa2b3da9d4949a3f9d66b6a
Headers
Series python3-markdown: New package. |

Commit Message

Stefan Schantl Feb. 15, 2023, 7:48 p.m. UTC
  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
  

Patch

diff --git a/python3-markdown/python3-markdown.nm b/python3-markdown/python3-markdown.nm
new file mode 100644
index 000000000..2c015a707
--- /dev/null
+++ b/python3-markdown/python3-markdown.nm
@@ -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