diff --git a/www/py-django-stubs-ext/Makefile b/www/py-django-stubs-ext/Makefile index 950f16b54b17..e8d70df6e1dd 100644 --- a/www/py-django-stubs-ext/Makefile +++ b/www/py-django-stubs-ext/Makefile @@ -1,24 +1,26 @@ PORTNAME= django-stubs-ext PORTVERSION= 6.0.3 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_stubs_ext-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Monkey-patching and extensions for django-stubs WWW= https://github.com/typeddjango/django-stubs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>=0.11.0<0.12.0:devel/py-uv-build@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.12:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 +MAKE_ENV= SOURCE_DATE_EPOCH=315532800 # 1980-01-01 00:00:00 UTC NO_ARCH= yes .include diff --git a/www/py-django-stubs-ext/files/patch-pyproject.toml b/www/py-django-stubs-ext/files/patch-pyproject.toml new file mode 100644 index 000000000000..f0c3f9a051b9 --- /dev/null +++ b/www/py-django-stubs-ext/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 1970-01-01 00:00:00 UTC ++++ pyproject.toml +@@ -42,8 +42,8 @@ Funding = "https://github.com/sponsors/typeddjango" + "Release notes" = "https://github.com/typeddjango/django-stubs/releases" + + [build-system] +-requires = ["uv_build>=0.11.0,<0.12.0"] +-build-backend = "uv_build" ++requires = ["flit-core >= 3.12"] ++build-backend = "flit_core.buildapi" + + [tool.uv.build-backend] + module-name = ["django_stubs_ext"]