git: 4b28eaddb8fa - 2022Q1 - textproc/py-mkdocs-material: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jan 2022 20:51:58 UTC
The branch 2022Q1 has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b28eaddb8fab547192ead7159b9b455d598de69 commit 4b28eaddb8fab547192ead7159b9b455d598de69 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-01-09 19:16:05 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-01-12 20:39:44 +0000 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) --- textproc/Makefile | 1 + textproc/py-mkdocs-material/Makefile | 25 ++++++++++++++++++++++ textproc/py-mkdocs-material/distinfo | 3 +++ .../files/patch-requirements.txt | 11 ++++++++++ textproc/py-mkdocs-material/pkg-descr | 5 +++++ 5 files changed, 45 insertions(+) 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