www/py-dj52-django-stubs-ext: Convert to normal port
This is the current practice of django ports. Approved by: portmgr (blanket) With hat: python
This commit is contained in:
@@ -1,12 +1,25 @@
|
||||
PORTNAME= django-stubs-ext
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj${DJANGO_VERSION}-
|
||||
PORTVERSION= 5.2.0
|
||||
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
|
||||
|
||||
CONFLICTS_INSTALL= www/py-django-stubs-ext
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../py-django-stubs-ext
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=0:www/py-django52@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
|
||||
DJANGO_VERSION= 52
|
||||
USES= python:3.10+
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1745936230
|
||||
SHA256 (django_stubs_ext-5.2.0.tar.gz) = 00c4ae307b538f5643af761a914c3f8e4e3f25f4e7c6d7098f1906c0d8f2aac9
|
||||
SIZE (django_stubs_ext-5.2.0.tar.gz) = 9618
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user