From nobody Tue Apr 26 15:04:07 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B96DA199BB23; Tue, 26 Apr 2022 15:04:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KnlX73P6jz3Qm9; Tue, 26 Apr 2022 15:04:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650985447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BLxHJViR7v1IgvTHFEztLYi5qrxnSbBVj1iZ86EK87c=; b=NjOlhvKonfCo8c0rgIoW6fKDdpUBYf4cfutuoo4VUrADJq1znCqu+AVPNnOVis+QTSnTd/ Jr6GAMkfp+7DYqc3CR14z+LQe62hLlEiZpc9cqHOCvaWcWPDfMj7Ockez2OwCPMj18MTHy I+ycHA7seYgjCJ/wmrbMor2KL+IILhOUpKte1WsEadaA3681cuWy0+A/4JMjtW92hrU/k1 MO2IW+wy74Gy/yr8hNcGjQOt624MAE7UB552pFjicsTwXCHKoLizSCU3uv04D9R7MjDrDT WfYcOZykJ6Fy8sz0BR4fcQVtedgaG8aNQxJ0SLGaw3xCa1BmS+spJJYigy8miA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 55E8D113ED; Tue, 26 Apr 2022 15:04:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23QF472u037229; Tue, 26 Apr 2022 15:04:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23QF47E1037228; Tue, 26 Apr 2022 15:04:07 GMT (envelope-from git) Date: Tue, 26 Apr 2022 15:04:07 GMT Message-Id: <202204261504.23QF47E1037228@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 3c88f890f1ad - main - devel/py-openapi-core: Add py-openapi-core 0.14.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c88f890f1ad33396e4c2f22f5dedb5efd212b5f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650985447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BLxHJViR7v1IgvTHFEztLYi5qrxnSbBVj1iZ86EK87c=; b=Nh6ZclUxjnaWD74yC95Nnoyuie3aVHlvH9kcS1WyVaE7s8TaybUGKCeoemGGXknOqDAOau FYP9zbIC6IFB99ZY/M4dQD2aZDHl/j/YUcmNoO7rvFilGV6aDa7eEbX7aUOmcTQvM2oZyC 8O50jHwX73stFaQnTcb4wLjCtMWaVtVQEY4vhkjii2S4iIlhcXVOXOdF6YwR/jGB6NSN/i FZlDQyThmqPVLXqAmgLVBMDD/YBSlhKyoJ7K83bS1hpA44t/CFHwzjlQOSyEgZ+9a1MCqa 721uv3iOB9lfws1H0K4NjP6fjWJKyjj0xncqEG/f5ODArQvca0qtx88vCDevQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650985447; a=rsa-sha256; cv=none; b=lAc7MIqEgi6jHXAuB5b+qmYsQmDAiwmS/wdYVixY685S66VSCDyFKA8tqx5XlQ4R4np+1g eXnjpmx9v00QrOOmrXENPo2ZrkuoA2jIJ/XyaHoXvY7UFFDqfpxLgGzqmxsXo9d6BQD6rV 8keUZKe9PAJ0CScgXUbvayZmfUfVML7MDrMcJ1pdUjNvNZpPMXcluV3rxOBHGyqjG3Bt/2 ZTlofnkRj0/Si0e7gdrPmZVNlTumL9zlbiWHlo5U0MJ35+yP+3w3mP7RolbSImvEk05oFd tk7f2QlhKXWPdGhecAGjy101n0krlo238FPaQVP3L9/IPEA5wcCnyBXYReG95w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c88f890f1ad33396e4c2f22f5dedb5efd212b5f commit 3c88f890f1ad33396e4c2f22f5dedb5efd212b5f Author: Po-Chuan Hsieh AuthorDate: 2022-04-26 14:46:00 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-26 15:01:09 +0000 devel/py-openapi-core: Add py-openapi-core 0.14.2 Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI Specification v3. Key features: - Validation of requests and responses - Schema casting and unmarshalling - Media type and parameters deserialization - Security providers (API keys, Cookie, Basic and Bearer HTTP authentications) - Custom deserializers and formats - Integration with libraries and frameworks WWW: https://github.com/p1c2u/openapi-core --- devel/Makefile | 1 + devel/py-openapi-core/Makefile | 30 ++++++++++++++++++++++++++++++ devel/py-openapi-core/distinfo | 3 +++ devel/py-openapi-core/files/patch-dictpath | 29 +++++++++++++++++++++++++++++ devel/py-openapi-core/pkg-descr | 12 ++++++++++++ 5 files changed, 75 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bb33f6783d24..ee2789807577 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4840,6 +4840,7 @@ SUBDIR += py-onigurumacffi SUBDIR += py-opcodes SUBDIR += py-openapi-codec + SUBDIR += py-openapi-core SUBDIR += py-openapi-schema-validator SUBDIR += py-openapi-spec-validator SUBDIR += py-opencensus diff --git a/devel/py-openapi-core/Makefile b/devel/py-openapi-core/Makefile new file mode 100644 index 000000000000..21eab44f2433 --- /dev/null +++ b/devel/py-openapi-core/Makefile @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= openapi-core +PORTVERSION= 0.14.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Client-side and server-side support for the OpenAPI Specification v3 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=0:devel/py-lazy-object-proxy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}more-itertools>=0:devel/py-more-itertools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0:devel/py-openapi-schema-validator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0:devel/py-openapi-spec-validator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}parse>=0:textproc/py-parse@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pathable>=0:devel/py-pathable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-openapi-core/distinfo b/devel/py-openapi-core/distinfo new file mode 100644 index 000000000000..8784c34ba846 --- /dev/null +++ b/devel/py-openapi-core/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650970025 +SHA256 (openapi-core-0.14.2.tar.gz) = 62ad93c8114ce6025f25b004ff0f3674eea8bc4ae920c726e98921fdbe41b4f3 +SIZE (openapi-core-0.14.2.tar.gz) = 27768 diff --git a/devel/py-openapi-core/files/patch-dictpath b/devel/py-openapi-core/files/patch-dictpath new file mode 100644 index 000000000000..824030d50c49 --- /dev/null +++ b/devel/py-openapi-core/files/patch-dictpath @@ -0,0 +1,29 @@ +--- openapi_core/spec/accessors.py.orig 2021-05-14 11:26:22 UTC ++++ openapi_core/spec/accessors.py +@@ -1,6 +1,6 @@ + from contextlib import contextmanager + +-from dictpath.accessors import DictOrListAccessor ++from pathable.accessors import DictOrListAccessor + + + class SpecAccessor(DictOrListAccessor): +--- openapi_core/spec/paths.py.orig 2021-05-14 11:26:22 UTC ++++ openapi_core/spec/paths.py +@@ -1,4 +1,4 @@ +-from dictpath.paths import AccessorPath ++from pathable.paths import AccessorPath + + from openapi_core.spec.accessors import SpecAccessor + +--- setup.cfg.orig 2021-05-14 11:26:32 UTC ++++ setup.cfg +@@ -27,7 +27,7 @@ setup_requires = + setuptools + install_requires = + isodate +- dictpath ++ pathable + openapi-spec-validator + openapi-schema-validator + six diff --git a/devel/py-openapi-core/pkg-descr b/devel/py-openapi-core/pkg-descr new file mode 100644 index 000000000000..94a080e20b3a --- /dev/null +++ b/devel/py-openapi-core/pkg-descr @@ -0,0 +1,12 @@ +Openapi-core is a Python library that adds client-side and server-side support +for the OpenAPI Specification v3. + +Key features: +- Validation of requests and responses +- Schema casting and unmarshalling +- Media type and parameters deserialization +- Security providers (API keys, Cookie, Basic and Bearer HTTP authentications) +- Custom deserializers and formats +- Integration with libraries and frameworks + +WWW: https://github.com/p1c2u/openapi-core