diff options
| author | Wen Heping <wen@FreeBSD.org> | 2021-08-06 03:25:33 +0000 |
|---|---|---|
| committer | Wen Heping <wen@FreeBSD.org> | 2021-08-06 03:25:33 +0000 |
| commit | 8e743834dd41bb66d1c9c043a31bc92482d7b2a4 (patch) | |
| tree | 3fdf85d1f04e3a6e06c8301e0960e05cdb61beef | |
| parent | ff865fc15db2d55cc467eb51effb231d4721f3c3 (diff) | |
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
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-sphinx-markdown-tables/Makefile | 20 | ||||
| -rw-r--r-- | textproc/py-sphinx-markdown-tables/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-sphinx-markdown-tables/pkg-descr | 6 |
4 files changed, 30 insertions, 0 deletions
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@FreeBSD.org> + +PORTNAME= sphinx-markdown-tables +PORTVERSION= 0.0.15 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@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 |
