git: 596865f199cc - main - textproc/py-cyclonedx-python-lib: Allow build with py-py-serializable 0.12.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 31 Jul 2023 16:47:36 UTC
The branch main has been updated by sunpoet:

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

commit 596865f199cc5021c056705339db0f1819ace4f9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:33:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:40:16 +0000

    textproc/py-cyclonedx-python-lib: Allow build with py-py-serializable 0.12.0+
    
    - Bump PORTREVISION for package change
---
 textproc/py-cyclonedx-python-lib/Makefile                   | 3 ++-
 textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/textproc/py-cyclonedx-python-lib/Makefile b/textproc/py-cyclonedx-python-lib/Makefile
index 5ff248e21e6f..bbb7cb1a8aa2 100644
--- a/textproc/py-cyclonedx-python-lib/Makefile
+++ b/textproc/py-cyclonedx-python-lib/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cyclonedx-python-lib
 PORTVERSION=	4.0.1
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ 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} \
-		${PYTHON_PKGNAMEPREFIX}py-serializable>=0.11.1<0.12:devel/py-py-serializable@${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}
 
 USES=		python
diff --git a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml
index 15889f190805..70e62e8c52bb 100644
--- a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml
+++ b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml
@@ -5,9 +5,10 @@
  python = "^3.7"
  importlib-metadata = { version = "^3.4.0", python = "<3.8" }
 -packageurl-python = ">= 0.11"
-+packageurl-python = ">= 0.9"
- py-serializable = "^0.11.1"
+-py-serializable = "^0.11.1"
 -sortedcontainers = "^2.4.0"
++packageurl-python = ">= 0.9"
++py-serializable = ">= 0.11.1"
 +sortedcontainers = "^2.3.0"
  
  [tool.poetry.dev-dependencies]