diff options
Diffstat (limited to 'www/py-dj52-django-rich')
-rw-r--r-- | www/py-dj52-django-rich/Makefile | 27 | ||||
-rw-r--r-- | www/py-dj52-django-rich/distinfo | 3 | ||||
-rw-r--r-- | www/py-dj52-django-rich/pkg-descr | 11 |
3 files changed, 41 insertions, 0 deletions
diff --git a/www/py-dj52-django-rich/Makefile b/www/py-dj52-django-rich/Makefile new file mode 100644 index 000000000000..8c7d791d94ba --- /dev/null +++ b/www/py-dj52-django-rich/Makefile @@ -0,0 +1,27 @@ +PORTNAME= django-rich +DISTVERSION= 2.0.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- +DISTNAME= django_rich-${DISTVERSION} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Extensions for using Rich with Django +WWW= https://github.com/adamchainz/django-rich + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR} + +USES= python:3.10+ +USE_PYTHON= autoplist pep517 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj52-django-rich/distinfo b/www/py-dj52-django-rich/distinfo new file mode 100644 index 000000000000..ff93b43f1403 --- /dev/null +++ b/www/py-dj52-django-rich/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1747327116 +SHA256 (django_rich-2.0.0.tar.gz) = 3646edf7223f05b9775ec9a38ab5a33be93042fc3de3d5e31eacf84da6091913 +SIZE (django_rich-2.0.0.tar.gz) = 61448 diff --git a/www/py-dj52-django-rich/pkg-descr b/www/py-dj52-django-rich/pkg-descr new file mode 100644 index 000000000000..db029741fbb0 --- /dev/null +++ b/www/py-dj52-django-rich/pkg-descr @@ -0,0 +1,11 @@ +This package provides extensions for using Rich with the Django framework. + +These extensions consist of the following subclasses: + +* django_rich.management.RichCommand: + Subclass of Django's BaseCommand class that sets its self.console to a + Rich console. + +* django_rich.test.RichRunner: + Subclass of Django's DiscoverRunner with colorized outputs and nice + traceback rendering. |