git: 52fcf1bf53b8 - main - devel/py-syrupy: New port: Zero-dependency pytest snapshot plugin

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 03:38:57 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52fcf1bf53b89683d5083b2ead00429caf73210d

commit 52fcf1bf53b89683d5083b2ead00429caf73210d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-26 06:59:44 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-27 03:38:53 +0000

    devel/py-syrupy: New port: Zero-dependency pytest snapshot plugin
---
 devel/Makefile            |  1 +
 devel/py-syrupy/Makefile  | 21 +++++++++++++++++++++
 devel/py-syrupy/distinfo  |  3 +++
 devel/py-syrupy/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1f666b5ee0b3..eef3bee43d67 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5663,6 +5663,7 @@
     SUBDIR += py-sure
     SUBDIR += py-swagger-spec-validator
     SUBDIR += py-synr
+    SUBDIR += py-syrupy
     SUBDIR += py-sysctl
     SUBDIR += py-sysv_ipc
     SUBDIR += py-tables
diff --git a/devel/py-syrupy/Makefile b/devel/py-syrupy/Makefile
new file mode 100644
index 000000000000..122dc4f2f302
--- /dev/null
+++ b/devel/py-syrupy/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	syrupy
+DISTVERSION=	4.6.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Zero-dependency pytest snapshot plugin
+WWW=		https://tophat.github.io/syrupy/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-syrupy/distinfo b/devel/py-syrupy/distinfo
new file mode 100644
index 000000000000..9936c70d1e93
--- /dev/null
+++ b/devel/py-syrupy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1706252043
+SHA256 (syrupy-4.6.0.tar.gz) = 231b1f5d00f1f85048ba81676c79448076189c4aef4d33f21ae32f3b4c565a54
+SIZE (syrupy-4.6.0.tar.gz) = 47394
diff --git a/devel/py-syrupy/pkg-descr b/devel/py-syrupy/pkg-descr
new file mode 100644
index 000000000000..c94c920bfea7
--- /dev/null
+++ b/devel/py-syrupy/pkg-descr
@@ -0,0 +1,2 @@
+Syrupy is a zero-dependency pytest snapshot plugin. It enables developers to
+write tests which assert immutability of computed results.