diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2022-01-09 19:16:05 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2022-01-12 20:39:44 +0000 |
commit | 4b28eaddb8fab547192ead7159b9b455d598de69 (patch) | |
tree | 31bf9875bb88637cc7955d67a1175381b1288847 /textproc | |
parent | dad718c47631930b69a8a2e403671fa0d114cb47 (diff) | |
download | ports-4b28eaddb8fab547192ead7159b9b455d598de69.tar.gz ports-4b28eaddb8fab547192ead7159b9b455d598de69.zip |
textproc/py-mkdocs-material: New port
Create a branded static site from a set of Markdown files to host the
documentation of your Open Source or commercial project – customizable,
searchable, mobile-friendly, 50+ languages. Set up in 5 minutes.
WWW: https://github.com/squidfunk/mkdocs-material
(cherry picked from commit 83ba44bb8308b6b6c1a731e63e52f6d3ce9ebef7)
Approved by: fluffy, riggs (ports-secteam)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-mkdocs-material/Makefile | 25 | ||||
-rw-r--r-- | textproc/py-mkdocs-material/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-mkdocs-material/files/patch-requirements.txt | 11 | ||||
-rw-r--r-- | textproc/py-mkdocs-material/pkg-descr | 5 |
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index de86643fdf56..f90884d896bb 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1368,6 +1368,7 @@ SUBDIR += py-misaka SUBDIR += py-mistune SUBDIR += py-mkdocs + SUBDIR += py-mkdocs-material SUBDIR += py-mkdocs-material-extensions SUBDIR += py-mkdocs-nature SUBDIR += py-mwparserfromhell diff --git a/textproc/py-mkdocs-material/Makefile b/textproc/py-mkdocs-material/Makefile new file mode 100644 index 000000000000..e10be2eaa779 --- /dev/null +++ b/textproc/py-mkdocs-material/Makefile @@ -0,0 +1,25 @@ +PORTNAME= mkdocs-material +DISTVERSION= 7.3.6 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Material Design theme for MkDocs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.1:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}markdown>=3.2:textproc/py-markdown@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.2.3:textproc/py-mkdocs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs-material-extensions>=1.0:textproc/py-mkdocs-material-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>=9.0:textproc/py-pymdown-extensions@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-mkdocs-material/distinfo b/textproc/py-mkdocs-material/distinfo new file mode 100644 index 000000000000..950fa40cac28 --- /dev/null +++ b/textproc/py-mkdocs-material/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1641745051 +SHA256 (mkdocs-material-7.3.6.tar.gz) = 1b1dbd8ef2508b358d93af55a5c5db3f141c95667fad802301ec621c40c7c217 +SIZE (mkdocs-material-7.3.6.tar.gz) = 1904961 diff --git a/textproc/py-mkdocs-material/files/patch-requirements.txt b/textproc/py-mkdocs-material/files/patch-requirements.txt new file mode 100644 index 000000000000..d29587f5af9d --- /dev/null +++ b/textproc/py-mkdocs-material/files/patch-requirements.txt @@ -0,0 +1,11 @@ +Relax requirements for textproc/py-pygments + +--- requirements.txt.orig 2022-01-09 17:57:41 UTC ++++ requirements.txt +@@ -23,5 +23,5 @@ jinja2>=2.11.1 + markdown>=3.2 + mkdocs>=1.2.3 + mkdocs-material-extensions>=1.0 +-pygments>=2.10 ++pygments + pymdown-extensions>=9.0 diff --git a/textproc/py-mkdocs-material/pkg-descr b/textproc/py-mkdocs-material/pkg-descr new file mode 100644 index 000000000000..22a55fb4b8b3 --- /dev/null +++ b/textproc/py-mkdocs-material/pkg-descr @@ -0,0 +1,5 @@ +Create a branded static site from a set of Markdown files to host the +documentation of your Open Source or commercial project - customizable, +searchable, mobile-friendly, 50+ languages. Set up in 5 minutes. + +WWW: https://github.com/squidfunk/mkdocs-material |