diff options
Diffstat (limited to 'www/py-dj52-django-stubs-ext')
-rw-r--r-- | www/py-dj52-django-stubs-ext/Makefile | 24 | ||||
-rw-r--r-- | www/py-dj52-django-stubs-ext/distinfo | 3 | ||||
-rw-r--r-- | www/py-dj52-django-stubs-ext/pkg-descr | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/www/py-dj52-django-stubs-ext/Makefile b/www/py-dj52-django-stubs-ext/Makefile new file mode 100644 index 000000000000..8dce416590ac --- /dev/null +++ b/www/py-dj52-django-stubs-ext/Makefile @@ -0,0 +1,24 @@ +PORTNAME= django-stubs-ext +PORTVERSION= 5.2.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- +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}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=0:www/py-django52@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python:3.10+ +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj52-django-stubs-ext/distinfo b/www/py-dj52-django-stubs-ext/distinfo new file mode 100644 index 000000000000..e797ae2837eb --- /dev/null +++ b/www/py-dj52-django-stubs-ext/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1754002125 +SHA256 (django_stubs_ext-5.2.2.tar.gz) = d9d151b919fe2438760f5bd938f03e1cb08c84d0651f9e5917f1313907e42683 +SIZE (django_stubs_ext-5.2.2.tar.gz) = 6244 diff --git a/www/py-dj52-django-stubs-ext/pkg-descr b/www/py-dj52-django-stubs-ext/pkg-descr new file mode 100644 index 000000000000..544fd8d1f497 --- /dev/null +++ b/www/py-dj52-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. |