From nobody Thu Nov 2 07:41:30 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 4SLbRG3PCjz50HL0; Thu, 2 Nov 2023 07:41:30 +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 4SLbRG2MSsz4Pr1; Thu, 2 Nov 2023 07:41:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698910890; 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=7pfeeYEfooWtCCeAcjn/T731C9BHdQiKZE7x1pVLI2U=; b=cfzBSDqtIAAOD9jA4o3boekdisgVQjV1V8s6m7LPhbXKXTr7xp8k1E3tAd6ByxJJ1ceAtv NAADBR+b0W/4OaebYbJ80LN5ppQcgeyBceYOEjcON1VoRwrhC0qnMFmHjpY2A87KN6Sd2R fzUcFy697A7tfGusg8wr4Clo9wl6OW+mZ0WOuNRqocQJ3dTxFg2ChT+tjhzrUy8w9Qbq0z pnHKsGw95spj4oRV2nr0A9N8FL9jA8FcWNh3aXa9054FrSYVZmRAE69kHS81ZAdykDrdmJ 9/HIQ5IDLUgER+OgL6G0e0hRZSIrhJ35widJWhfREZJIYeU+PDNYrLTakl5qNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698910890; 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=7pfeeYEfooWtCCeAcjn/T731C9BHdQiKZE7x1pVLI2U=; b=h3wZjHWYMgEHztf1g9EbT+1ObZf3UTxm3AaIphOitxKMmzWA39CRbY+vjiTRcEek9f/fCL osrSDA9YDKmFpp3jrTXPs9m9/pXMl1hj/zblYoQNU72o4/n1AIB2gkS3pck3bTjmlcHQYb 8M2buKILtdLpyI0bg0tUAwqwaj077Ok1813iV8GcFNJnNZLY7HrGwtKxUurE63STwcj0Zm wqgc4LuSZHeKvRSKm8Gl5etJtaH8PhB8MRXBIQSlihMV03Y1t4FIghN/kspfBhj1hzT8DN IarTwBqWzwesWZnLQ5AKKpUD86p9BTvzM6fRSv9UMV1ecRlmEGmfsLoNBi4PMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698910890; a=rsa-sha256; cv=none; b=Ga+vv5lJO37oBYgOAXDn4JTL42zEyS/md5QkvxNmMZpKQ87egu0o4/9CnUmndn8aBxGep6 V8jnRP1zbO7q5ysxeUEaDg5NKzbluvohjSoxHS2+9c+OupwxEtMbFZ7oO+MzAQ4qps0zlN qS3KuDLb9olAGeuuddAIXZYBtd7Q1JzxWwaJUNVdpWsz067scFOVFVJjb67fDJGEUELaaf K1aRoPMktjaqjBPEJFnNexs8qNMA77yC6w/IpsEftxKM2aPBvjM5aPsJs4S5slUAdf1WOv xckYbltMIZLj4ZdOUD2jWozbBQ4UxWXj+YP2rG9y3jjXajkDhFXK5K+ArJXbhQ== 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 4SLbRG1SL2z5xJ; Thu, 2 Nov 2023 07:41:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A27fURh032293; Thu, 2 Nov 2023 07:41:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A27fUTX032290; Thu, 2 Nov 2023 07:41:30 GMT (envelope-from git) Date: Thu, 2 Nov 2023 07:41:30 GMT Message-Id: <202311020741.3A27fUTX032290@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: 24dc1a102c5d - main - textproc/py-cyclonedx-python-lib: Update to 5.0.1 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: 24dc1a102c5de8f5553443018cd759781b73fbf2 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=24dc1a102c5de8f5553443018cd759781b73fbf2 commit 24dc1a102c5de8f5553443018cd759781b73fbf2 Author: Po-Chuan Hsieh AuthorDate: 2023-11-02 07:35:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-02 07:37:28 +0000 textproc/py-cyclonedx-python-lib: Update to 5.0.1 - Add JSON_VALIDATION, VALIDATION and XML_VALIDATION options Changes: https://github.com/CycloneDX/cyclonedx-python-lib/releases --- textproc/py-cyclonedx-python-lib/Makefile | 16 ++++++++++++--- textproc/py-cyclonedx-python-lib/distinfo | 6 +++--- .../files/patch-pyproject.toml | 24 ---------------------- 3 files changed, 16 insertions(+), 30 deletions(-) diff --git a/textproc/py-cyclonedx-python-lib/Makefile b/textproc/py-cyclonedx-python-lib/Makefile index 581057b87554..9ad16c9aa281 100644 --- a/textproc/py-cyclonedx-python-lib/Makefile +++ b/textproc/py-cyclonedx-python-lib/Makefile @@ -1,5 +1,5 @@ PORTNAME= cyclonedx-python-lib -PORTVERSION= 4.2.3 +PORTVERSION= 5.0.1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}license-expression>=30<31:textproc/py-license-expression@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packageurl-python>=0.9:textproc/py-packageurl-python@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}py-serializable>=0.11.1:devel/py-py-serializable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packageurl-python>=0.11:textproc/py-packageurl-python@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}py-serializable>=0.15<1:devel/py-py-serializable@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.4.0<3:devel/py-sortedcontainers@${PY_FLAVOR} USES= python @@ -23,4 +23,14 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +OPTIONS_DEFINE= JSON_VALIDATION VALIDATION XML_VALIDATION +JSON_VALIDATION_DESC= JSON validation +VALIDATION_DESC= JSON and XML validation +XML_VALIDATION_DESC= XML validation + +JSON_VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.18<5:devel/py-jsonschema@${PY_FLAVOR} +VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.18<5:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} +XML_VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} + .include diff --git a/textproc/py-cyclonedx-python-lib/distinfo b/textproc/py-cyclonedx-python-lib/distinfo index 5358419af803..9ceb5631c814 100644 --- a/textproc/py-cyclonedx-python-lib/distinfo +++ b/textproc/py-cyclonedx-python-lib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698341083 -SHA256 (cyclonedx_python_lib-4.2.3.tar.gz) = 904068b55d1665f0ea96f38307603cc14f95c3b421f1687fc2411326aefde3a6 -SIZE (cyclonedx_python_lib-4.2.3.tar.gz) = 247667 +TIMESTAMP = 1698848768 +SHA256 (cyclonedx_python_lib-5.0.1.tar.gz) = e2fe858c9411dd0b84a7df9529d740d6b0bc8c96a86434ffe46e2b37d82ccac9 +SIZE (cyclonedx_python_lib-5.0.1.tar.gz) = 431223 diff --git a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml deleted file mode 100644 index 775c6a8599e7..000000000000 --- a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml +++ /dev/null @@ -1,24 +0,0 @@ ---- pyproject.toml.orig 2023-09-14 13:29:30 UTC -+++ pyproject.toml -@@ -20,10 +20,6 @@ documentation = "https://cyclonedx-python-library.read - packages = [ - { include = "cyclonedx" } - ] --include = [ -- "README.md", "LICENSE", "NOTICE", -- { path = "tests", format = "sdist" }, --] - classifiers = [ - # Trove classifiers - https://packaging.python.org/specifications/core-metadata/#metadata-classifier - # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers -@@ -53,8 +49,8 @@ keywords = [ - [tool.poetry.dependencies] - # ATTENTION: keep `deps.lowest.r` file in sync - python = "^3.7" --packageurl-python = ">= 0.11" --py-serializable = "^0.11.1" -+packageurl-python = ">= 0.9" -+py-serializable = ">= 0.11.1" - sortedcontainers = "^2.4.0" - license-expression = "^30" -