Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2024 16:57:24 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c0390c7452bc - main - devel/py-dj50-strawberry-graphql: Fix handling for CHANNELS option
Message-ID:  <202412141657.4BEGvOMV029750@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit c0390c7452bc8ec51e51f4e9cbd9db591bbe3746
Author:     James TD Smith <ahktenzero+freebsd@mohorovi.cc>
AuthorDate: 2024-12-14 16:53:52 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-12-14 16:55:45 +0000

    devel/py-dj50-strawberry-graphql: Fix handling for CHANNELS option
    
    * The CHANNELS option, if enabled, installs www/py-channels, which
      pulls in www/py-django42.  The latter one conflicts with the
      DJANGO option, which installs www/py-django50, if enabled.
    
      Fix this issue by adjusting the CHANNELS option use the recently added
      www/py-dj50-channels, which uses www/py-django50, as a dependency.
    
    * Bump PORTREVISION due changed dependencies.
    
    Co-authored-by: Kai Knoblich <kai@FreeBSD.org>
    PR:             283045
    Reported by:    James TD Smith
    MFH:            2024Q4
---
 devel/py-dj50-strawberry-graphql/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/py-dj50-strawberry-graphql/Makefile b/devel/py-dj50-strawberry-graphql/Makefile
index e2bf08616e0e..e8320fab75ee 100644
--- a/devel/py-dj50-strawberry-graphql/Makefile
+++ b/devel/py-dj50-strawberry-graphql/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	strawberry-graphql
 DISTVERSION=	0.251.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj50-
@@ -43,7 +44,7 @@ AIOHTTP_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4:www/py-aiohttp@${PY_
 ASGI_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR}
 CHANNELS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}channels>=3.0.5:www/py-channels@${PY_FLAVOR}
+				${PYTHON_PKGNAMEPREFIX}dj50-channels>=3.0.5:www/py-dj50-channels@${PY_FLAVOR}
 CLI_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}libcst>=1.0.0:devel/py-libcst@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}pygments>=2.3:textproc/py-pygments@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412141657.4BEGvOMV029750>