git: 540863a89f69 - main - devel/py-dj50-strawberry-graphql: Update to 0.247.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 01 Nov 2024 15:23:52 UTC
The branch main has been updated by kai:

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

commit 540863a89f69787ab62db4e89eadfea7886b81ac
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-01 15:04:56 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-01 15:04:56 +0000

    devel/py-dj50-strawberry-graphql: Update to 0.247.0
    
    * Remove the now obsolete workaround because py-poetry-core is now used
      per se for the build time.
    
    Changelog since 0.239.2:
    
    https://github.com/strawberry-graphql/strawberry/blob/0.247.0/CHANGELOG.md
---
 devel/py-dj50-strawberry-graphql/Makefile                 |  4 ++--
 devel/py-dj50-strawberry-graphql/distinfo                 |  6 +++---
 .../py-dj50-strawberry-graphql/files/patch-pyproject.toml | 15 ---------------
 3 files changed, 5 insertions(+), 20 deletions(-)

diff --git a/devel/py-dj50-strawberry-graphql/Makefile b/devel/py-dj50-strawberry-graphql/Makefile
index f882219f53f8..4343a8f14ca7 100644
--- a/devel/py-dj50-strawberry-graphql/Makefile
+++ b/devel/py-dj50-strawberry-graphql/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	strawberry-graphql
-DISTVERSION=	0.239.2
+DISTVERSION=	0.247.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj50-
@@ -12,7 +12,7 @@ WWW=		https://github.com/strawberry-graphql/strawberry
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=0.12.0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
diff --git a/devel/py-dj50-strawberry-graphql/distinfo b/devel/py-dj50-strawberry-graphql/distinfo
index f5a68ff48133..a8b3087b5c6a 100644
--- a/devel/py-dj50-strawberry-graphql/distinfo
+++ b/devel/py-dj50-strawberry-graphql/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725378000
-SHA256 (strawberry_graphql-0.239.2.tar.gz) = 6a22879c1218edfb4a63039cbb09ad5478f9b5ca811b0baab76c77c1590d0df0
-SIZE (strawberry_graphql-0.239.2.tar.gz) = 208192
+TIMESTAMP = 1730459397
+SHA256 (strawberry_graphql-0.247.0.tar.gz) = a8ea47b37cf75eca31acc7929ec045d2c32a54b76a95e0cad3e9bf33d79f53ab
+SIZE (strawberry_graphql-0.247.0.tar.gz) = 208518
diff --git a/devel/py-dj50-strawberry-graphql/files/patch-pyproject.toml b/devel/py-dj50-strawberry-graphql/files/patch-pyproject.toml
deleted file mode 100644
index b6623c4bd812..000000000000
--- a/devel/py-dj50-strawberry-graphql/files/patch-pyproject.toml
+++ /dev/null
@@ -1,15 +0,0 @@
-Use the more lightweight build system "poetry-core".
-
---- pyproject.toml.orig	2024-03-24 18:49:43 UTC
-+++ pyproject.toml
-@@ -30,8 +30,8 @@ include = ["strawberry/py.typed"]
- "Sponsor on Open Collective" = "https://opencollective.com/strawberry-graphql"
- 
- [build-system]
--requires = ["poetry>=0.12"]
--build-backend = "poetry.masonry.api"
-+requires = ["poetry-core>=0.12"]
-+build-backend = "poetry.core.masonry.api"
- 
- [tool.poetry.dependencies]
- python = "^3.8"