Commit e8043ea9 authored by Rene Ladan's avatar Rene Ladan
Browse files

devel/py-dj52-strawberry-graphql: Remove expired port

2026-06-30 devel/py-dj52-strawberry-graphql: Obsolete, please use devel/py-strawberry-graphql instead
parent 924bba62
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5398,3 +5398,4 @@ www/py-dj52-django-permissionedforms|www/py-django-permissionedforms|2026-06-30|
www/py-dj52-django-prometheus|www/py-django-prometheus|2026-06-30|Has expired: Obsolete, please use www/py-django-prometheus instead
www/py-dj52-django-compression-middleware|www/py-django-compression-middleware|2026-06-30|Has expired: Obsolete, please use www/py-django-compression-middleware instead
www/py-dj52-django-tables2|www/py-django-tables2|2026-06-30|Has expired: Obsolete, please use www/py-django-tables2 instead
devel/py-dj52-strawberry-graphql|devel/py-strawberry-graphql|2026-06-30|Has expired: Obsolete, please use devel/py-strawberry-graphql instead
+0 −1
Original line number Diff line number Diff line
@@ -4926,7 +4926,6 @@
    SUBDIR += py-distributed
    SUBDIR += py-dj52-django-rq
    SUBDIR += py-dj52-graphene-django
    SUBDIR += py-dj52-strawberry-graphql
    SUBDIR += py-dj60-django-rq
    SUBDIR += py-dj60-strawberry-graphql
    SUBDIR += py-django-rq
+0 −72
Original line number Diff line number Diff line
PORTNAME=	strawberry-graphql
DISTVERSION=	0.315.3
CATEGORIES=	devel python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj52-
DISTNAME=	strawberry_graphql-${DISTVERSION}

MAINTAINER=	kai@FreeBSD.org
COMMENT=	Library for creating GraphQL APIs
WWW=		https://github.com/strawberry-graphql/strawberry

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

DEPRECATED=	Obsolete, please use devel/py-strawberry-graphql instead
EXPIRATION_DATE=2026-06-30

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uv-build>=0.10.10<0.12:devel/py-uv-build@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cross-web>=0.6.0:www/py-cross-web@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}packaging>=23:devel/py-packaging@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist concurrent pep517

CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}

NO_ARCH=	yes

OPTIONS_DEFINE=		AIOHTTP APOLLO-FEDERATION ASGI CHANNELS CLI DEBUG DJANGO \
			FASTAPI FLASK OPENTELEMETRY PYDANTIC

AIOHTTP_DESC=		Basic AIOHTTP integration
APOLLO-FEDERATION_DESC=	Apollo Federation GraphQL support
ASGI_DESC=		Basic ASGI integration
CHANNELS_DESC=		Support for Django Channels
CLI_DESC=		Support for CLI commands
DEBUG_DESC=		Generate verbose debug information
DJANGO_DESC=		Basic Django integration
FASTAPI_DESC=		Support for FastAPI in conjunction with GraphQLRouter
FLASK_DESC=		Basic Flask integration
OPENTELEMETRY_DESC=	Generate Open Telemetry compatible tracing information
PYDANTIC_DESC=		Support for Pydantic models

AIOHTTP_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4<4:www/py-aiohttp@${PY_FLAVOR}
APOLLO-FEDERATION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>=3.20:devel/py-protobuf@${PY_FLAVOR}
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}dj52-channels>=3.0.5:www/py-dj52-channels@${PY_FLAVOR}
CLI_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}libcst>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} \
				${PYTHON_PKGNAMEPREFIX}typer>=0.12.4:devel/py-typer@${PY_FLAVOR}
DEBUG_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}libcst>0:devel/py-libcst@${PY_FLAVOR} \
				${PYTHON_PKGNAMEPREFIX}rich>=12.0.0:textproc/py-rich@${PY_FLAVOR}
# NB: www/py-channels (via CHANNELS) options depends on www/py-djangoXX, which
# should be taken into account when creating a port for a specific Django version.
DJANGO_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} \
				${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} \
				${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR}
FASTAPI_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.0:www/py-fastapi@${PY_FLAVOR} \
				${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR}
FLASK_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}flask>=1.1:www/py-flask@${PY_FLAVOR}
OPENTELEMETRY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}opentelemetry-api<2:devel/py-opentelemetry-api@${PY_FLAVOR} \
				${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk<2:devel/py-opentelemetry-sdk@${PY_FLAVOR}
# NB: Switch to devel/py-pydantic once www/py-fastapi uses it
PYDANTIC_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pydantic2>1.6.1:devel/py-pydantic2@${PY_FLAVOR}

.include <bsd.port.mk>
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1777812038
SHA256 (strawberry_graphql-0.315.3.tar.gz) = 1e9f50f67b6885b7c33aa43f640afd86a56e42bd3eb6599fa2410ade38cf9692
SIZE (strawberry_graphql-0.315.3.tar.gz) = 222739
+0 −12
Original line number Diff line number Diff line
Relax version requirements for py-uv-build to be able to provide the port in
the quarterly branch.

--- pyproject.toml.orig	2026-04-20 12:43:47 UTC
+++ pyproject.toml
@@ -408,5 +408,5 @@ formatter-cmds = ["ruff check --exit-zero --fix $file"
 formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
 
 [build-system]
-requires = ["uv_build>=0.11,<0.12"]
+requires = ["uv_build>=0.10.10,<0.12"]
 build-backend = "uv_build"
Loading