git: 556cd1f1f327 - main - textproc/py-mkdocstrings-crystal: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Aug 2023 05:47:47 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=556cd1f1f3276e4fd11e60386d589b8793f5aa32 commit 556cd1f1f3276e4fd11e60386d589b8793f5aa32 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-08-31 05:20:58 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-08-31 05:43:40 +0000 textproc/py-mkdocstrings-crystal: New port This package allows you to insert API documentation (generated from Crystal's source code and doc comments) as part of any page on a MkDocs site. --- textproc/Makefile | 1 + textproc/py-mkdocstrings-crystal/Makefile | 28 ++++++++++++++++++++++++++++ textproc/py-mkdocstrings-crystal/distinfo | 3 +++ textproc/py-mkdocstrings-crystal/pkg-descr | 2 ++ 4 files changed, 34 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b15fad5f9907..44d82be858bc 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1437,6 +1437,7 @@ SUBDIR += py-mkdocs-redirects SUBDIR += py-mkdocs-simple-hooks SUBDIR += py-mkdocstrings + SUBDIR += py-mkdocstrings-crystal SUBDIR += py-morse3 SUBDIR += py-mwparserfromhell SUBDIR += py-myst-parser diff --git a/textproc/py-mkdocstrings-crystal/Makefile b/textproc/py-mkdocstrings-crystal/Makefile new file mode 100644 index 000000000000..db620d65ac10 --- /dev/null +++ b/textproc/py-mkdocstrings-crystal/Makefile @@ -0,0 +1,28 @@ +PORTNAME= mkdocstrings-crystal +DISTVERSION= 0.3.6 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= mkdocstrings_crystal-${DISTVERSION} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Crystal language doc generator for mkdocstrings +WWW= https://github.com/mkdocstrings/crystal + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown-callouts>=0.1.0:textproc/py-markdown-callouts@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs-autorefs>=0.3.1:textproc/py-mkdocs-autorefs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}markupsafe>=1.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.2:devel/py-Jinja2@${PY_FLAVOR} +# textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause +# a circular dependency (via py-mkdocstrings' CRYSTAL option) + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-mkdocstrings-crystal/distinfo b/textproc/py-mkdocstrings-crystal/distinfo new file mode 100644 index 000000000000..53e0a872a338 --- /dev/null +++ b/textproc/py-mkdocstrings-crystal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688223013 +SHA256 (mkdocstrings_crystal-0.3.6.tar.gz) = 37d3f6194ad65d996756cd23e548ffdbef8e18f7515ed9a2502b16d695597f04 +SIZE (mkdocstrings_crystal-0.3.6.tar.gz) = 16803 diff --git a/textproc/py-mkdocstrings-crystal/pkg-descr b/textproc/py-mkdocstrings-crystal/pkg-descr new file mode 100644 index 000000000000..56e1e784ba74 --- /dev/null +++ b/textproc/py-mkdocstrings-crystal/pkg-descr @@ -0,0 +1,2 @@ +This package allows you to insert API documentation (generated from Crystal's +source code and doc comments) as part of any page on a MkDocs site.