freebsd-ports/devel/py-hologram/Makefile
Pat Maddox 1b57c405f3 devel/py-hologram: new port
Hologram is a lightweight library to generate Draft 7 compatible JSON Schemas
from python 3.7 dataclasses. Python 3.6 is supported through the dataclasses
backport. It is forked from dataclasses-jsonschema created by s-knibbs.

PR:	274579
Author:	Pat Maddox <pat@patmaddox.com>
2023-10-21 18:44:49 +02:00

19 lines
504 B
Makefile

PORTNAME= hologram
PORTVERSION= 0.0.16
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= pat@patmaddox.com
COMMENT= JSON schema generation from dataclasses
WWW= https://github.com/dbt-labs/hologram
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8,<2.9:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0:devel/py-jsonschema@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>