diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-06-16 19:30:56 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-06-16 19:33:24 +0000 |
| commit | 5c6030dff1ad2a163da5320abeedcf72a01aa363 (patch) | |
| tree | d7e09f519d8f9a2b5e15d023495b21e6d877eaf5 | |
| parent | 416276e380140faf2304f672b839c9dfdc0b0439 (diff) | |
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-mike/Makefile | 25 | ||||
| -rw-r--r-- | textproc/py-mike/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-mike/pkg-descr | 16 |
4 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index b848b87aa93d..7795d3c42bf3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1377,6 +1377,7 @@ SUBDIR += py-mathics-pygments SUBDIR += py-mdit-py-plugins SUBDIR += py-mdurl + SUBDIR += py-mike SUBDIR += py-misaka SUBDIR += py-mistune SUBDIR += py-mistune0 diff --git a/textproc/py-mike/Makefile b/textproc/py-mike/Makefile new file mode 100644 index 000000000000..d457ce16b5e6 --- /dev/null +++ b/textproc/py-mike/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= mike +PORTVERSION= 1.1.2 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Manage multiple versions of your MkDocs-powered documentation + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.0:textproc/py-mkdocs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}verspec>=0:devel/py-verspec@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-mike/distinfo b/textproc/py-mike/distinfo new file mode 100644 index 000000000000..5e5282733643 --- /dev/null +++ b/textproc/py-mike/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655398648 +SHA256 (mike-1.1.2.tar.gz) = 56c3f1794c2d0b5fdccfa9b9487beb013ca813de2e3ad0744724e9d34d40b77b +SIZE (mike-1.1.2.tar.gz) = 28626 diff --git a/textproc/py-mike/pkg-descr b/textproc/py-mike/pkg-descr new file mode 100644 index 000000000000..1fdf667083d8 --- /dev/null +++ b/textproc/py-mike/pkg-descr @@ -0,0 +1,16 @@ +mike is a Python utility that makes it easy to deploy multiple versions of your +MkDocs-powered docs to a Git branch, suitable for hosting on Github via +gh-pages. + +mike is built around the idea that once you've generated your docs for a +particular version, you should never need to touch that version again. This +means you never have to worry about breaking changes in MkDocs, since your old +docs (built with an old version of MkDocs) are already generated and sitting in +your gh-pages branch. + +While mike is flexible, it's optimized around putting your docs in a +<major>.<minor> directory, with optional aliases (e.g. latest or dev) to +particularly notable versions. This makes it easy to make permalinks to whatever +version of the documentation you want to direct people to. + +WWW: https://github.com/jimporter/mike |
