git: eb92eb6c824d - main - devel/py-copier: Update to 9.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 21 Jul 2024 10:00:11 UTC
The branch main has been updated by sunpoet:

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

commit eb92eb6c824ddcfc9a762455c7e310c7be9ec84d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-21 09:56:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-21 09:56:52 +0000

    devel/py-copier: Update to 9.3.1
    
    - Update WWW
    
    Changes:        https://github.com/copier-org/copier/releases
                    https://copier.readthedocs.io/en/latest/changelog/
---
 devel/py-copier/Makefile                   | 20 +++++++++-----------
 devel/py-copier/distinfo                   |  6 +++---
 devel/py-copier/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 23 insertions(+), 14 deletions(-)

diff --git a/devel/py-copier/Makefile b/devel/py-copier/Makefile
index cde2e877a9df..60264351101f 100644
--- a/devel/py-copier/Makefile
+++ b/devel/py-copier/Makefile
@@ -1,35 +1,33 @@
 PORTNAME=	copier
-PORTVERSION=	8.3.0
-PORTREVISION=	1
+PORTVERSION=	9.3.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Library for rendering project templates
-WWW=		https://github.com/copier-org/copier
+WWW=		https://copier.readthedocs.io/en/latest/ \
+		https://github.com/copier-org/copier
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}poetry-dynamic-versioning>=0:devel/py-poetry-dynamic-versioning@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4.3:devel/py-colorama@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}decorator>=5.1.1:devel/py-decorator@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.7.0:devel/py-poetry-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}poetry-dynamic-versioning>=1.1.0:devel/py-poetry-dynamic-versioning@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6:devel/py-colorama@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dunamai>=1.7.0:devel/py-dunamai@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}funcy>=1.17:devel/py-funcy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.1:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.3:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jinja2-ansible-filters>=1.3.1:devel/py-jinja2-ansible-filters@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=23.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pathspec>=0.9.0:devel/py-pathspec@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}plumbum>=1.6.9:sysutils/py-plumbum@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.3:devel/py-pydantic2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.4.2:devel/py-pydantic2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pygments>=2.7.1:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3.1:devel/py-pyyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyyaml-include>=1.2:devel/py-pyyaml-include@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}questionary>=1.8.1:devel/py-questionary@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.10+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
diff --git a/devel/py-copier/distinfo b/devel/py-copier/distinfo
index a62d21b343c1..c85aecfbbf7d 100644
--- a/devel/py-copier/distinfo
+++ b/devel/py-copier/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693987433
-SHA256 (copier-8.3.0.tar.gz) = 051149721c811bfa84023fca5c23827917ac5f42ab6c2696dcb522b17aee7cae
-SIZE (copier-8.3.0.tar.gz) = 35933
+TIMESTAMP = 1721499042
+SHA256 (copier-9.3.1.tar.gz) = e8515c082149f771268e8bc7fe400891d96e765797f5dac9fbae191f6427a24c
+SIZE (copier-9.3.1.tar.gz) = 40601
diff --git a/devel/py-copier/files/patch-pyproject.toml b/devel/py-copier/files/patch-pyproject.toml
new file mode 100644
index 000000000000..04449b7a2932
--- /dev/null
+++ b/devel/py-copier/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-07-04 13:59:02 UTC
++++ pyproject.toml
+@@ -31,7 +31,7 @@ funcy = ">=1.17"
+ colorama = ">=0.4.6"
+ dunamai = ">=1.7.0"
+ funcy = ">=1.17"
+-jinja2 = ">=3.1.4"
++jinja2 = ">=3.1.3"
+ jinja2-ansible-filters = ">=1.3.1"
+ packaging = ">=23.0"
+ pathspec = ">=0.9.0"