git: 9c210de370d4 - main - devel/py-poetry: Revert 1034b67935210a4521d99862c6043180e662423b

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:23:32 UTC
The branch main has been updated by sunpoet:

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

commit 9c210de370d43ff61c08908428bd93fa45a18262
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:38:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:07:36 +0000

    devel/py-poetry: Revert 1034b67935210a4521d99862c6043180e662423b
---
 devel/py-poetry/Makefile                   |  4 ++--
 devel/py-poetry/distinfo                   |  6 +++---
 devel/py-poetry/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile
index d86393eeac61..5e39ffd5cd0e 100644
--- a/devel/py-poetry/Makefile
+++ b/devel/py-poetry/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	poetry
-PORTVERSION=	1.7.1
+PORTVERSION=	1.6.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.5.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=0.10.0<0.11:devel/py-build@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.13.0:www/py-cachecontrol@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.13.0<0.14:www/py-cachecontrol@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cleo>=2.0.0<3:devel/py-cleo@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}crashtest>=0.4.1<0.5:devel/py-crashtest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dulwich>=0.21.2<0.22:devel/py-dulwich@${PY_FLAVOR} \
diff --git a/devel/py-poetry/distinfo b/devel/py-poetry/distinfo
index df3dadf73161..d0b7c74914f5 100644
--- a/devel/py-poetry/distinfo
+++ b/devel/py-poetry/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707047851
-SHA256 (poetry-1.7.1.tar.gz) = b348a70e7d67ad9c0bd3d0ea255bc6df84c24cf4b16f8d104adb30b425d6ff32
-SIZE (poetry-1.7.1.tar.gz) = 1483927
+TIMESTAMP = 1692812418
+SHA256 (poetry-1.6.1.tar.gz) = 0ab9b1a592731cc8b252b8d6aaeea19c72cc0a109d7468b829ad57e6c48039d2
+SIZE (poetry-1.6.1.tar.gz) = 1475487
diff --git a/devel/py-poetry/files/patch-pyproject.toml b/devel/py-poetry/files/patch-pyproject.toml
new file mode 100644
index 000000000000..53175b20eac1
--- /dev/null
+++ b/devel/py-poetry/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-08-21 17:52:54 UTC
++++ pyproject.toml
+@@ -43,7 +43,7 @@ importlib-metadata = { version = ">=4.4", python = "<3
+ installer = "^0.7.0"
+ # jsonschema 4.18 uses Rust-based libraries which causes issues when building from source
+ jsonschema = ">=4.10.0,<4.18.0"
+-keyring = "^24.0.0"
++keyring = ">=23.9.0,<25"
+ # packaging uses calver, so version is unclamped
+ packaging = ">=20.4"
+ pexpect = "^4.7.0"