git: 84b24797059b - main - devel/py-voluptuous-serialize: add new port

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 18:52:31 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84b24797059b7cc85c256747586059aaa85a9694

commit 84b24797059b7cc85c256747586059aaa85a9694
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2022-08-08 18:07:01 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2022-08-08 18:52:16 +0000

    devel/py-voluptuous-serialize: add new port
    
    Convert Voluptuous schemas to dictionaries so they can be serialized.
---
 devel/Makefile                          |  1 +
 devel/py-voluptuous-serialize/Makefile  | 20 ++++++++++++++++++++
 devel/py-voluptuous-serialize/distinfo  |  3 +++
 devel/py-voluptuous-serialize/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3815d5aceb5f..1942b238a863 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5426,6 +5426,7 @@
     SUBDIR += py-visitor
     SUBDIR += py-vistir
     SUBDIR += py-voluptuous
+    SUBDIR += py-voluptuous-serialize
     SUBDIR += py-vsts
     SUBDIR += py-vsts-cd-manager
     SUBDIR += py-vulture
diff --git a/devel/py-voluptuous-serialize/Makefile b/devel/py-voluptuous-serialize/Makefile
new file mode 100644
index 000000000000..5fe4904243ba
--- /dev/null
+++ b/devel/py-voluptuous-serialize/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	voluptuous-serialize
+DISTVERSION=	2.5.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	driesm@FreeBSD.org
+COMMENT=	Convert voluptuous schemas to JSON
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}voluptuous>=0:devel/py-voluptuous@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-voluptuous-serialize/distinfo b/devel/py-voluptuous-serialize/distinfo
new file mode 100644
index 000000000000..d8aeb1bfe971
--- /dev/null
+++ b/devel/py-voluptuous-serialize/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659981221
+SHA256 (voluptuous-serialize-2.5.0.tar.gz) = 5359f2e0a4f972ae03066e0777b4f0755c9226b2af099ca4fc55432efd1a447b
+SIZE (voluptuous-serialize-2.5.0.tar.gz) = 7450
diff --git a/devel/py-voluptuous-serialize/pkg-descr b/devel/py-voluptuous-serialize/pkg-descr
new file mode 100644
index 000000000000..7e9e0f1fdb77
--- /dev/null
+++ b/devel/py-voluptuous-serialize/pkg-descr
@@ -0,0 +1,5 @@
+Convert Voluptuous schemas to dictionaries so they can be serialized.
+You can pass a custom serializer to be able to process custom validators.
+If the serializer returns UNSUPPORTED, it will return to normal processing.
+
+WWW: https://github.com/home-assistant-libs/voluptuous-serialize