diff options
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-polyfactory/Makefile | 21 | ||||
| -rw-r--r-- | devel/py-polyfactory/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-polyfactory/pkg-descr | 3 |
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d5b710a9ccd5..ac70a4767232 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5552,6 +5552,7 @@ SUBDIR += py-poetry-types SUBDIR += py-poetry2setup SUBDIR += py-polib + SUBDIR += py-polyfactory SUBDIR += py-pondpond SUBDIR += py-pooch SUBDIR += py-pop diff --git a/devel/py-polyfactory/Makefile b/devel/py-polyfactory/Makefile new file mode 100644 index 000000000000..ffa663b7a5dc --- /dev/null +++ b/devel/py-polyfactory/Makefile @@ -0,0 +1,21 @@ +PORTNAME= polyfactory +PORTVERSION= 3.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Mock data generation factories +WWW= https://github.com/litestar-org/polyfactory + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Faker>=0:devel/py-Faker@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +.include <bsd.port.mk> diff --git a/devel/py-polyfactory/distinfo b/devel/py-polyfactory/distinfo new file mode 100644 index 000000000000..1cee0990cecc --- /dev/null +++ b/devel/py-polyfactory/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1764419927 +SHA256 (polyfactory-3.1.0.tar.gz) = 9061c0a282e0594502576455230fce534f2915042be77715256c1e6bbbf24ac5 +SIZE (polyfactory-3.1.0.tar.gz) = 344189 diff --git a/devel/py-polyfactory/pkg-descr b/devel/py-polyfactory/pkg-descr new file mode 100644 index 000000000000..9ff0267a8b94 --- /dev/null +++ b/devel/py-polyfactory/pkg-descr @@ -0,0 +1,3 @@ +Polyfactory is a simple and powerful mock data generation library, +based around type hints and supporting dataclasses, typed-dicts, +pydantic models, msgspec structs and more. |
