Date: Mon, 16 Feb 2026 21:57:41 +0000 From: =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 406ab3916fd0 - main - www/py-dj60-django-stubs-ext: Add new port Message-ID: <699392d5.1d8f0.c080fed@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by dtxdf: URL: https://cgit.FreeBSD.org/ports/commit/?id=406ab3916fd08c599b74232eedd3561972b4335b commit 406ab3916fd08c599b74232eedd3561972b4335b Author: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> AuthorDate: 2026-02-16 21:32:58 +0000 Commit: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> CommitDate: 2026-02-16 21:55:40 +0000 www/py-dj60-django-stubs-ext: Add new port Added because sysutils/py-healthchecks now uses www/py-django60. --- www/Makefile | 1 + www/py-dj60-django-stubs-ext/Makefile | 24 ++++++++++++++++++++++ www/py-dj60-django-stubs-ext/distinfo | 3 +++ .../files/patch-pyproject.toml | 11 ++++++++++ www/py-dj60-django-stubs-ext/pkg-descr | 5 +++++ 5 files changed, 44 insertions(+) diff --git a/www/Makefile b/www/Makefile index 091b84d91c60..d363c424dde7 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1575,6 +1575,7 @@ SUBDIR += py-dj52-laces SUBDIR += py-dj52-social-auth-app-django SUBDIR += py-dj52-strawberry-graphql-django + SUBDIR += py-dj60-django-stubs-ext SUBDIR += py-django-admin-rangefilter SUBDIR += py-django-advanced-filters SUBDIR += py-django-allauth diff --git a/www/py-dj60-django-stubs-ext/Makefile b/www/py-dj60-django-stubs-ext/Makefile new file mode 100644 index 000000000000..539e1586c7db --- /dev/null +++ b/www/py-dj60-django-stubs-ext/Makefile @@ -0,0 +1,24 @@ +PORTNAME= django-stubs-ext +PORTVERSION= 5.2.9 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj60- +DISTNAME= django_stubs_ext-${PORTVERSION} + +MAINTAINER= dtxdf@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:devel/py-uv-build@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django60>=0:www/py-django60@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj60-django-stubs-ext/distinfo b/www/py-dj60-django-stubs-ext/distinfo new file mode 100644 index 000000000000..9255fb91dd8a --- /dev/null +++ b/www/py-dj60-django-stubs-ext/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1770616223 +SHA256 (django_stubs_ext-5.2.9.tar.gz) = 6db4054d1580657b979b7d391474719f1a978773e66c7070a5e246cd445a25a9 +SIZE (django_stubs_ext-5.2.9.tar.gz) = 6497 diff --git a/www/py-dj60-django-stubs-ext/files/patch-pyproject.toml b/www/py-dj60-django-stubs-ext/files/patch-pyproject.toml new file mode 100644 index 000000000000..fcab6673d1e9 --- /dev/null +++ b/www/py-dj60-django-stubs-ext/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-02-09 05:50:33 UTC ++++ pyproject.toml +@@ -40,7 +40,7 @@ Funding = "https://github.com/sponsors/typeddjango" + "Release notes" = "https://github.com/typeddjango/django-stubs/releases" + + [build-system] +-requires = ["uv_build>=0.9.9,<0.10.0"] ++requires = ["uv_build>=0.10.0,<0.11.0"] + build-backend = "uv_build" + + [tool.uv.build-backend] diff --git a/www/py-dj60-django-stubs-ext/pkg-descr b/www/py-dj60-django-stubs-ext/pkg-descr new file mode 100644 index 000000000000..544fd8d1f497 --- /dev/null +++ b/www/py-dj60-django-stubs-ext/pkg-descr @@ -0,0 +1,5 @@ +django-stubs contains type stubs and a custom mypy plugin to provide more +precise static types and type inference for Django framework. Django uses some +Python "magic" that makes having precise types for some code patterns +problematic. This is why we need this project. The final goal is to be able to +get precise types for most common patterns.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699392d5.1d8f0.c080fed>
