git: aef96349c791 - main - textproc/py-cyclonedx-python-lib: Update to 4.2.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 29 Sep 2023 16:20:25 UTC
The branch main has been updated by sunpoet:

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

commit aef96349c791de66b4a685c713ef1042aac1d4b2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-29 16:14:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-29 16:14:26 +0000

    textproc/py-cyclonedx-python-lib: Update to 4.2.2
    
    - Do not install files to PYTHON_SITELIBDIR
    
    Changes:        https://github.com/CycloneDX/cyclonedx-python-lib/releases
---
 textproc/py-cyclonedx-python-lib/Makefile               |  5 +++--
 textproc/py-cyclonedx-python-lib/distinfo               |  6 +++---
 .../py-cyclonedx-python-lib/files/patch-pyproject.toml  | 17 ++++++++++++++---
 3 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/textproc/py-cyclonedx-python-lib/Makefile b/textproc/py-cyclonedx-python-lib/Makefile
index 0aad4490f190..d978cb7524ab 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.1.0
+PORTVERSION=	4.2.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,8 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packageurl-python>=0.9:textproc/py-packageurl-python@${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}sortedcontainers>=2.3.0<3:devel/py-sortedcontainers@${PY_FLAVOR}
 
diff --git a/textproc/py-cyclonedx-python-lib/distinfo b/textproc/py-cyclonedx-python-lib/distinfo
index c6eb0529c76b..300da1475946 100644
--- a/textproc/py-cyclonedx-python-lib/distinfo
+++ b/textproc/py-cyclonedx-python-lib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693334019
-SHA256 (cyclonedx_python_lib-4.1.0.tar.gz) = 7996657f9788758ed05bea8c247e3e6ffcccfbc48818cd34795a4ae094b307bd
-SIZE (cyclonedx_python_lib-4.1.0.tar.gz) = 247057
+TIMESTAMP = 1695588844
+SHA256 (cyclonedx_python_lib-4.2.2.tar.gz) = d8fd40a94ab9130e9d1292ecebd35bd081f8a2d589c5259eaf7ec5caa5e95a43
+SIZE (cyclonedx_python_lib-4.2.2.tar.gz) = 247354
diff --git a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml
index 14b5138f9c5c..e7ff3f9e27b4 100644
--- a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml
+++ b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml
@@ -1,6 +1,17 @@
---- pyproject.toml.orig	2023-08-27 15:24:16 UTC
+--- pyproject.toml.orig	2023-09-14 13:29:30 UTC
 +++ pyproject.toml
-@@ -52,9 +52,9 @@ keywords = [
+@@ -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,9 +49,9 @@ keywords = [
  [tool.poetry.dependencies]
  # ATTENTION: keep `deps.lowest.r` file in sync
  python = "^3.7"
@@ -10,6 +21,6 @@
 +packageurl-python = ">= 0.9"
 +py-serializable = ">= 0.11.1"
 +sortedcontainers = "^2.3.0"
+ license-expression = "^30"
  
  [tool.poetry.dev-dependencies]
- ddt = "^1.6.0"