diff options
| author | Kai Knoblich <kai@FreeBSD.org> | 2022-09-17 10:41:32 +0000 |
|---|---|---|
| committer | Kai Knoblich <kai@FreeBSD.org> | 2022-09-17 10:41:32 +0000 |
| commit | e2acfab803648034112e51669ddeae743bdf417c (patch) | |
| tree | 5e8350868c0fb5bd517e17246d33d725e0998de7 | |
| parent | 101cca33864745c712f386e892b26f08617ecb66 (diff) | |
www/py-dj40-django-rich: New port
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.
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/py-dj40-django-rich/Makefile | 24 | ||||
| -rw-r--r-- | www/py-dj40-django-rich/distinfo | 3 | ||||
| -rw-r--r-- | www/py-dj40-django-rich/pkg-descr | 11 |
4 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 223ba4a5800e..aa543da8da24 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1453,6 +1453,7 @@ SUBDIR += py-dj40-django-mptt SUBDIR += py-dj40-django-prometheus SUBDIR += py-dj40-django-redis + SUBDIR += py-dj40-django-rich SUBDIR += py-dj40-django-tables2 SUBDIR += py-dj40-django-taggit SUBDIR += py-dj40-django-timezone-field diff --git a/www/py-dj40-django-rich/Makefile b/www/py-dj40-django-rich/Makefile new file mode 100644 index 000000000000..57b0627288fe --- /dev/null +++ b/www/py-dj40-django-rich/Makefile @@ -0,0 +1,24 @@ +PORTNAME= django-rich +PORTVERSION= 1.4.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Extensions for using Rich with Django +WWW= https://github.com/adamchainz/django-rich + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj40-django-rich/distinfo b/www/py-dj40-django-rich/distinfo new file mode 100644 index 000000000000..1f88129e0fba --- /dev/null +++ b/www/py-dj40-django-rich/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657859577 +SHA256 (django-rich-1.4.0.tar.gz) = 10a5d9e9b62228b683d51584e4c2a5aa9f838176364a90c8cd79688aadca9f4c +SIZE (django-rich-1.4.0.tar.gz) = 58751 diff --git a/www/py-dj40-django-rich/pkg-descr b/www/py-dj40-django-rich/pkg-descr new file mode 100644 index 000000000000..19b9613667df --- /dev/null +++ b/www/py-dj40-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 colourized outputs and nice + traceback rendering. |
