git: ecf47dd24d72 - main - devel/py-poetry: Update to 1.8.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:13:01 UTC
The branch main has been updated by sunpoet:

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

commit ecf47dd24d72081f105a727b46be239dbed52376
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:48:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:06:00 +0000

    devel/py-poetry: Update to 1.8.1
    
    Changes:        https://github.com/python-poetry/poetry/releases
---
 devel/py-poetry/Makefile                   | 11 +++++------
 devel/py-poetry/distinfo                   |  6 +++---
 devel/py-poetry/files/patch-pyproject.toml | 14 +++-----------
 3 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile
index 4b53ecc92e9a..bf2dea30f85b 100644
--- a/devel/py-poetry/Makefile
+++ b/devel/py-poetry/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	poetry
-PORTVERSION=	1.7.1
-PORTREVISION=	1
+PORTVERSION=	1.8.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/python-poetry/poetry/releases/download/${PORTVERSION}/
@@ -22,15 +21,15 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=1.0.3<2:devel/py-build@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fastjsonschema>=2.18.0<3:devel/py-fastjsonschema@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}installer>=0.7.0<0.8:devel/py-installer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}keyring>=23.9.0,1<25,1:security/py-keyring@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=20.5:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=23.1:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pexpect>=4.7.0<5:misc/py-pexpect@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pkginfo>=1.9.4<2:sysutils/py-pkginfo@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}platformdirs>=3.0.0<4:devel/py-platformdirs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}poetry-core>=1.8.1<1.8.1_99:devel/py-poetry-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}platformdirs>=3.0.0<5:devel/py-platformdirs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}poetry-core>=1.9.0<1.9.0_99:devel/py-poetry-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}poetry-plugin-export>=1.6.0<2:devel/py-poetry-plugin-export@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=1.0.0<2:devel/py-pyproject_hooks@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.26<3:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1<2:www/py-requests-toolbelt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=1.0.0<2:www/py-requests-toolbelt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}shellingham>=1.5<2:devel/py-shellingham@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<1.0.0:textproc/py-tomlkit@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}trove-classifiers>=2022.5.19:devel/py-trove-classifiers@${PY_FLAVOR} \
diff --git a/devel/py-poetry/distinfo b/devel/py-poetry/distinfo
index bd05e0e48870..b82b4daacc5c 100644
--- a/devel/py-poetry/distinfo
+++ b/devel/py-poetry/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449286
-SHA256 (poetry-1.7.1.tar.gz) = b348a70e7d67ad9c0bd3d0ea255bc6df84c24cf4b16f8d104adb30b425d6ff32
-SIZE (poetry-1.7.1.tar.gz) = 1483927
+TIMESTAMP = 1709390626
+SHA256 (poetry-1.8.1.tar.gz) = 23519cc45eb3cf48e899145bc762425a141e3afd52ecc53ec443ca635122327f
+SIZE (poetry-1.8.1.tar.gz) = 1514978
diff --git a/devel/py-poetry/files/patch-pyproject.toml b/devel/py-poetry/files/patch-pyproject.toml
index e369ee58f1f5..b0399571b12f 100644
--- a/devel/py-poetry/files/patch-pyproject.toml
+++ b/devel/py-poetry/files/patch-pyproject.toml
@@ -1,19 +1,11 @@
---- pyproject.toml.orig	2023-11-16 19:08:40 UTC
+--- pyproject.toml.orig	2024-02-26 16:12:32 UTC
 +++ pyproject.toml
-@@ -35,14 +35,14 @@ build = "^1.0.3"
- poetry-core = "1.8.1"
- poetry-plugin-export = "^1.6.0"
- build = "^1.0.3"
--cachecontrol = { version = "^0.13.0", extras = ["filecache"] }
-+cachecontrol = { version = "^0.14.0", extras = ["filecache"] }
- cleo = "^2.1.0"
- crashtest = "^0.4.1"
- dulwich = "^0.21.2"
+@@ -41,7 +41,7 @@ installer = "^0.7.0"
  fastjsonschema = "^2.18.0"
  importlib-metadata = { version = ">=4.4", python = "<3.10" }
  installer = "^0.7.0"
 -keyring = "^24.0.0"
 +keyring = ">=23.9.0,<25"
  # packaging uses calver, so version is unclamped
- packaging = ">=20.5"
+ packaging = ">=23.1"
  pexpect = "^4.7.0"