Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2022 03:52:15 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ea1db46ea2da - main - devel/py-openapi-schema-validator02: Add py-openapi-schema-validator02 0.2.3 (copied from py-openapi-schema-validator)
Message-ID:  <202209040352.2843qFpE083422@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit ea1db46ea2da642f9bbf5794c689ea0d92870940
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:41:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:41:29 +0000

    devel/py-openapi-schema-validator02: Add py-openapi-schema-validator02 0.2.3 (copied from py-openapi-schema-validator)
    
    - Add PORTSCOUT
---
 devel/Makefile                                |  1 +
 devel/py-openapi-schema-validator02/Makefile  | 30 +++++++++++++++++++++++++++
 devel/py-openapi-schema-validator02/distinfo  |  3 +++
 devel/py-openapi-schema-validator02/pkg-descr |  5 +++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 263ac80f491f..d0d1ca095ca7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4849,6 +4849,7 @@
     SUBDIR += py-openapi-codec
     SUBDIR += py-openapi-core
     SUBDIR += py-openapi-schema-validator
+    SUBDIR += py-openapi-schema-validator02
     SUBDIR += py-openapi-spec-validator
     SUBDIR += py-opencensus
     SUBDIR += py-opencensus-context
diff --git a/devel/py-openapi-schema-validator02/Makefile b/devel/py-openapi-schema-validator02/Makefile
new file mode 100644
index 000000000000..ca1383ac0283
--- /dev/null
+++ b/devel/py-openapi-schema-validator02/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	openapi-schema-validator
+PORTVERSION=	0.2.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	02
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	OpenAPI schema validation for Python
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+OPTIONS_DEFINE=	ISODATE RFC3339_VALIDATOR STRICT_RFC3339
+ISODATE_DESC=		Datetime validator via isodate
+RFC3339_VALIDATOR_DESC=	Datetime validator via rfc3339-validator
+STRICT_RFC3339_DESC=	Datetime validator via strict-rfc3339
+
+ISODATE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR}
+RFC3339_VALIDATOR_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR}
+STRICT_RFC3339_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}strict-rfc3339>=0:devel/py-strict-rfc3339@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-openapi-schema-validator02/distinfo b/devel/py-openapi-schema-validator02/distinfo
new file mode 100644
index 000000000000..03b3d44dcb79
--- /dev/null
+++ b/devel/py-openapi-schema-validator02/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1643971072
+SHA256 (openapi-schema-validator-0.2.3.tar.gz) = 2c64907728c3ef78e23711c8840a423f0b241588c9ed929855e4b2d1bb0cf5f2
+SIZE (openapi-schema-validator-0.2.3.tar.gz) = 7503
diff --git a/devel/py-openapi-schema-validator02/pkg-descr b/devel/py-openapi-schema-validator02/pkg-descr
new file mode 100644
index 000000000000..20b3bb7b0b16
--- /dev/null
+++ b/devel/py-openapi-schema-validator02/pkg-descr
@@ -0,0 +1,5 @@
+Openapi-schema-validator is a Python library that validates schema against the
+OpenAPI Schema Specification v3.0 which is an extended subset of the JSON Schema
+Specification Wright Draft 00.
+
+WWW: https://github.com/p1c2u/openapi-schema-validator



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209040352.2843qFpE083422>