git: 1972bb569c99 - main - textproc/py-pymdown-extensions: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jan 2022 19:32:32 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1972bb569c99096579c00ae838d8b43c4f48f3cc
commit 1972bb569c99096579c00ae838d8b43c4f48f3cc
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-01-09 19:06:30 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-01-09 19:28:44 +0000
textproc/py-pymdown-extensions: New port
PyMdown Extensions is a collection of extensions for Python Markdown.
They were originally written to make writing documentation more
enjoyable.
They cover a wide range of solutions, and while not every extension is
needed by all people, there is usually at least one useful extension for
everybody.
WWW: https://github.com/facelessuser/pymdown-extensions
---
textproc/Makefile | 1 +
textproc/py-pymdown-extensions/Makefile | 20 ++++++++++++++++++++
textproc/py-pymdown-extensions/distinfo | 3 +++
textproc/py-pymdown-extensions/pkg-descr | 8 ++++++++
4 files changed, 32 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 5c466df92cd2..dcbc234ff630 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1420,6 +1420,7 @@
SUBDIR += py-pykwalify
SUBDIR += py-pylons-sphinx-themes
SUBDIR += py-pyls-spyder
+ SUBDIR += py-pymdown-extensions
SUBDIR += py-pypa-docs-theme
SUBDIR += py-pypandoc
SUBDIR += py-pyphen
diff --git a/textproc/py-pymdown-extensions/Makefile b/textproc/py-pymdown-extensions/Makefile
new file mode 100644
index 000000000000..fb98cc09a5a0
--- /dev/null
+++ b/textproc/py-pymdown-extensions/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= pymdown-extensions
+DISTVERSION= 9.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Extension pack for Python Markdown
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=3.2:textproc/py-markdown@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pymdown-extensions/distinfo b/textproc/py-pymdown-extensions/distinfo
new file mode 100644
index 000000000000..3995939adace
--- /dev/null
+++ b/textproc/py-pymdown-extensions/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641746059
+SHA256 (pymdown-extensions-9.1.tar.gz) = 74247f2c80f1d9e3c7242abe1c16317da36c6f26c7ad4b8a7f457f0ec20f0365
+SIZE (pymdown-extensions-9.1.tar.gz) = 714776
diff --git a/textproc/py-pymdown-extensions/pkg-descr b/textproc/py-pymdown-extensions/pkg-descr
new file mode 100644
index 000000000000..050464bec023
--- /dev/null
+++ b/textproc/py-pymdown-extensions/pkg-descr
@@ -0,0 +1,8 @@
+PyMdown Extensions is a collection of extensions for Python Markdown.
+
+They were originally written to make writing documentation more enjoyable.
+
+They cover a wide range of solutions, and while not every extension is needed
+by all people, there is usually at least one useful extension for everybody.
+
+WWW: https://github.com/facelessuser/pymdown-extensions