Date: Thu, 16 Jun 2022 19:39:00 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5c6030dff1ad - main - textproc/py-mike: Add py-mike 1.1.2 Message-ID: <202206161939.25GJd0XE063888@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c6030dff1ad2a163da5320abeedcf72a01aa363 commit 5c6030dff1ad2a163da5320abeedcf72a01aa363 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-16 19:30:56 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-16 19:33:24 +0000 textproc/py-mike: Add py-mike 1.1.2 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 --- textproc/Makefile | 1 + textproc/py-mike/Makefile | 25 +++++++++++++++++++++++++ textproc/py-mike/distinfo | 3 +++ textproc/py-mike/pkg-descr | 16 ++++++++++++++++ 4 files changed, 45 insertions(+) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206161939.25GJd0XE063888>