From nobody Sat May 27 04:27:05 2023 X-Original-To: dev-commits-ports-all@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 4QSpfL5s3jz4WS5P; Sat, 27 May 2023 04:27:06 +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 4QSpfK6Pbfz4JHV; Sat, 27 May 2023 04:27:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685161625; 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=y1SJElZZke22fblj+/56q34grAGDKSqTanSEcvB0JtM=; b=PXdNw8vdtucibt5rTFs5iClrVA9En61dLlUz69ACgHlgbBCXlfhvv8+ktwPe9STam1DUuA hd01vOzRE3K44I5uWeHRXxtFnz0g8zdnhW/2wbY0tC4S7yz1OeFh0FLMh60cpoe2r9lCiu cETIJ9iZYqDMO8Nux+6ncsmOn5IyPaeX7G1uDi2vy5uEar3To4GTmFewESXKthv9B7m3wh EN0jTe0Jx14okfFl2dduxWcdVPUzXY2qrU/G0PE/Rjx2TVf/aSGK2mwsobN7ur9UYekjBM enln08rYVVbP+g10g6hXh7cdb9HEGRWhnP/cCoju2FI7ASYZkQ+pEaHrAns2ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685161625; 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=y1SJElZZke22fblj+/56q34grAGDKSqTanSEcvB0JtM=; b=b4jOkZmcwLbn/J2Q4/smES2ksj80SQXWcT6GC7/8onMbmWSRpkOa36/rFe/oHRpzGT6etJ rGsLWyqfLRDxQTeD+LVro9b9Qdoy2XuR2bzSSGFNEPUM+G8Nioj2euJZ+DdH+kqNuqE2h0 bOTfMG6WJ+5y4kYguPnNc0QfbPLvf7TgLud8CmKYfeYEu7TcMQeEalzd4oPH0CabyEC8pg ZP5BOvHWgZzObdBv0C6Gu0S0LJkBJRU1ntANPYWLijQHf4oIA/TmnqB3utv+4XIu9DU9YU JEPwb3GpyVTrqP4M54W9NR6rfQMgjUD1XT7u7//nUiApu9KyNEaVKe+XmJpxMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685161625; a=rsa-sha256; cv=none; b=EtJhJSpMAnHOgZQIg/qSKlp6d6P+7q9S9rsCRTCHvO7p6K+7gpeM05m5HhZJj3DZXtsszV raZc9zdhNs7p0ReAljD0MDRnWrxplWg0vTCGWZaLoa7HKapA78ArGfdetehi6S/0Ucom2w BFtlbr0sOZDso01o2v7ueFxnU43TkFOpqI6VHAa/IsxJsWOHuocCDKoU/41gmy7ZPA5xQa 3EHtj26VZaRhE/V64Ia/KfgyzQ9PN0tdOD1b55WOnrtSD5B20/9X1i/ml+lx5ZK3ed93n0 mWKgFRGT0cyE6Td4GvXAFZAswMCB24AIM8aIc6SfaoCpkSj4UirbPLKApuKCeQ== 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 4QSpfK5VBbzZNT; Sat, 27 May 2023 04:27:05 +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 34R4R5Xn025426; Sat, 27 May 2023 04:27:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34R4R5kT025425; Sat, 27 May 2023 04:27:05 GMT (envelope-from git) Date: Sat, 27 May 2023 04:27:05 GMT Message-Id: <202305270427.34R4R5kT025425@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: 4267861c1145 - main - devel/py-openapi-spec-validator: Update to 0.5.6 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 4267861c114563cfbc1b39ebe2f0a2a4259f1110 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4267861c114563cfbc1b39ebe2f0a2a4259f1110 commit 4267861c114563cfbc1b39ebe2f0a2a4259f1110 Author: Po-Chuan Hsieh AuthorDate: 2023-05-27 04:08:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-05-27 04:08:48 +0000 devel/py-openapi-spec-validator: Update to 0.5.6 - Update WWW - Convert to USE_PYTHON=pep517 - Add REQUESTS option Changes: https://github.com/python-openapi/openapi-spec-validator/releases --- devel/py-openapi-spec-validator/Makefile | 31 +++++++++++++++------- devel/py-openapi-spec-validator/distinfo | 6 ++--- .../files/patch-pyproject.toml | 11 ++++++++ .../py-openapi-spec-validator/files/patch-setup.py | 11 -------- 4 files changed, 35 insertions(+), 24 deletions(-) diff --git a/devel/py-openapi-spec-validator/Makefile b/devel/py-openapi-spec-validator/Makefile index 23766149214a..a5f92db87851 100644 --- a/devel/py-openapi-spec-validator/Makefile +++ b/devel/py-openapi-spec-validator/Makefile @@ -1,22 +1,22 @@ PORTNAME= openapi-spec-validator -PORTVERSION= 0.5.1 +PORTVERSION= 0.5.6 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= openapi_spec_validator-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Validator for OpenAPI 2.0 and 3.0.0 specification -WWW= https://github.com/p1c2u/openapi-spec-validator +WWW= https://github.com/python-openapi/openapi-spec-validator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=5.4.0<6.0.0:devel/py-importlib-resources@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jsonschema-spec>=0.1.1<0.2.0:devel/py-jsonschema-spec@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.7.1<2.0.0:devel/py-lazy-object-proxy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0.3.2<0.4.0:devel/py-openapi-schema-validator@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.0<4.18.0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema-spec>=0.1.1<0.2:devel/py-jsonschema-spec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.7.1<2:devel/py-lazy-object-proxy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0.4.2<0.5:devel/py-openapi-schema-validator@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ @@ -24,8 +24,19 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include +OPTION_DEIFNE= REQUESTS +REQUESTS_DESC= Requests support + +REQUESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} + +.include + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=5.4.0<6.0.0:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-openapi-spec-validator/distinfo b/devel/py-openapi-spec-validator/distinfo index 663e74db143f..7268ed551921 100644 --- a/devel/py-openapi-spec-validator/distinfo +++ b/devel/py-openapi-spec-validator/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662558044 -SHA256 (openapi-spec-validator-0.5.1.tar.gz) = 8248634bad1f23cac5d5a34e193ab36e23914057ca69e91a1ede5af75552c465 -SIZE (openapi-spec-validator-0.5.1.tar.gz) = 27941 +TIMESTAMP = 1684104436 +SHA256 (openapi_spec_validator-0.5.6.tar.gz) = 1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb +SIZE (openapi_spec_validator-0.5.6.tar.gz) = 33031 diff --git a/devel/py-openapi-spec-validator/files/patch-pyproject.toml b/devel/py-openapi-spec-validator/files/patch-pyproject.toml new file mode 100644 index 000000000000..c995f8e165c2 --- /dev/null +++ b/devel/py-openapi-spec-validator/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-03-17 08:40:24 UTC ++++ pyproject.toml +@@ -52,7 +52,7 @@ jsonschema = ">=4.0.0,<4.18.0" + openapi-schema-validator = "^0.4.2" + python = "^3.7.0" + requests = {version = "*", optional = true} +-importlib-resources = {version = "^5.8.0", python = "<3.9" } ++importlib-resources = {version = "^5.4.0", python = "<3.9" } + jsonschema-spec = "^0.1.1" + lazy-object-proxy = "^1.7.1" + sphinx = {version = "^5.3.0", optional = true} diff --git a/devel/py-openapi-spec-validator/files/patch-setup.py b/devel/py-openapi-spec-validator/files/patch-setup.py deleted file mode 100644 index 4e5cbc0e5a53..000000000000 --- a/devel/py-openapi-spec-validator/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 1970-01-01 00:00:00 UTC -+++ setup.py -@@ -15,7 +15,7 @@ package_data = \ - - install_requires = \ - ['PyYAML>=5.1', -- 'importlib-resources>=5.8.0,<6.0.0', -+ 'importlib-resources>=5.4.0,<6.0.0', - 'jsonschema-spec>=0.1.1,<0.2.0', - 'jsonschema>=4.0.0,<5.0.0', - 'lazy-object-proxy>=1.7.1,<2.0.0',