Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2026 11:20:01 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b67c71ce1e62 - main - www/py-django-stubs-ext: Change BUILD_DEPENDS from py-uv-build to py-flit-core
Message-ID:  <69f5dde1.30cc0.744a54b3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit b67c71ce1e623a0c4f7831d6c480fbd9d7831ba9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-02 11:14:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-02 11:14:15 +0000

    www/py-django-stubs-ext: Change BUILD_DEPENDS from py-uv-build to py-flit-core
    
    - Bump PORTREVISION for package change
---
 www/py-django-stubs-ext/Makefile                   |  4 +++-
 www/py-django-stubs-ext/files/patch-pyproject.toml | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

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,5 +1,6 @@
 PORTNAME=	django-stubs-ext
 PORTVERSION=	6.0.3
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +13,14 @@ 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 <bsd.port.mk>
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"]


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f5dde1.30cc0.744a54b3>