git: 8e743834dd41 - main - textproc/py-sphinx-markdown-tables: Add new port
Wen Heping
wen at FreeBSD.org
Fri Aug 6 03:27:10 UTC 2021
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8e743834dd41bb66d1c9c043a31bc92482d7b2a4
commit 8e743834dd41bb66d1c9c043a31bc92482d7b2a4
Author: Wen Heping <wen at FreeBSD.org>
AuthorDate: 2021-08-06 03:25:33 +0000
Commit: Wen Heping <wen at FreeBSD.org>
CommitDate: 2021-08-06 03:25:33 +0000
textproc/py-sphinx-markdown-tables: Add new port
Sphinx supports markdown via Recommonmark, which does not support tables.
This extension provides them.
It renders markdown tables as HTML, as defined by python-markdown.
WWW: https://github.com/ryanfox/sphinx-markdown-tables
---
textproc/Makefile | 1 +
textproc/py-sphinx-markdown-tables/Makefile | 20 ++++++++++++++++++++
textproc/py-sphinx-markdown-tables/distinfo | 3 +++
textproc/py-sphinx-markdown-tables/pkg-descr | 6 ++++++
4 files changed, 30 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 8e8a32dbf4f3..fdc7c5a73667 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1434,6 +1434,7 @@
SUBDIR += py-sphinx-inline-tabs
SUBDIR += py-sphinx-intl
SUBDIR += py-sphinx-issues
+ SUBDIR += py-sphinx-markdown-tables
SUBDIR += py-sphinx-me
SUBDIR += py-sphinx-tabs
SUBDIR += py-sphinx_press_theme
diff --git a/textproc/py-sphinx-markdown-tables/Makefile b/textproc/py-sphinx-markdown-tables/Makefile
new file mode 100644
index 000000000000..c672277e4434
--- /dev/null
+++ b/textproc/py-sphinx-markdown-tables/Makefile
@@ -0,0 +1,20 @@
+# Created by: Wen Heping <wen at FreeBSD.org>
+
+PORTNAME= sphinx-markdown-tables
+PORTVERSION= 0.0.15
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wen at FreeBSD.org
+COMMENT= Sphinx extension for rendering tables written in markdown
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=0:textproc/py-markdown@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils concurrent
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinx-markdown-tables/distinfo b/textproc/py-sphinx-markdown-tables/distinfo
new file mode 100644
index 000000000000..80fd1efb1e9a
--- /dev/null
+++ b/textproc/py-sphinx-markdown-tables/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627857615
+SHA256 (sphinx-markdown-tables-0.0.15.tar.gz) = 722b70a3a14156b6777cf04920d015215eb65b9dfde5cc72f430763ff5e84173
+SIZE (sphinx-markdown-tables-0.0.15.tar.gz) = 15340
diff --git a/textproc/py-sphinx-markdown-tables/pkg-descr b/textproc/py-sphinx-markdown-tables/pkg-descr
new file mode 100644
index 000000000000..c77bb4730386
--- /dev/null
+++ b/textproc/py-sphinx-markdown-tables/pkg-descr
@@ -0,0 +1,6 @@
+Sphinx supports markdown via Recommonmark, which does not support tables.
+This extension provides them.
+
+It renders markdown tables as HTML, as defined by python-markdown.
+
+WWW: https://github.com/ryanfox/sphinx-markdown-tables
More information about the dev-commits-ports-all
mailing list