summaryrefslogtreecommitdiff
path: root/textproc/py-mkdocstrings-crystal/Makefile
blob: c2b698b3aee1067aaa4b50d82c70e91a444c1ae8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	mkdocstrings-crystal
DISTVERSION=	0.3.7
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:3.9+ # textproc/py-mkdocs-autorefs requires Python 3.9+
USE_PYTHON=	autoplist pep517

NO_ARCH=	yes

.include <bsd.port.mk>