diff options
| author | Kai Knoblich <kai@FreeBSD.org> | 2022-07-17 11:59:46 +0000 |
|---|---|---|
| committer | Kai Knoblich <kai@FreeBSD.org> | 2022-07-17 12:04:31 +0000 |
| commit | 2e54d95a3acb27fc83d853e6a09458d999fe636b (patch) | |
| tree | d7f56ac0148d49803740582b152b7dba87b263ab | |
| parent | b4042b05ada149e964dac0fa534a89e08ea73ab1 (diff) | |
www/py-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 colourized outputs and nice
traceback rendering.
WWW: https://github.com/adamchainz/django-rich
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/py-django-rich/Makefile | 21 | ||||
| -rw-r--r-- | www/py-django-rich/distinfo | 3 | ||||
| -rw-r--r-- | www/py-django-rich/pkg-descr | 13 |
4 files changed, 38 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index e95480755b81..070409d39cbd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1535,6 +1535,7 @@ SUBDIR += py-django-registration-redux SUBDIR += py-django-reversion SUBDIR += py-django-reversion-compare + SUBDIR += py-django-rich SUBDIR += py-django-sekizai SUBDIR += py-django-simple-captcha SUBDIR += py-django-simple-history diff --git a/www/py-django-rich/Makefile b/www/py-django-rich/Makefile new file mode 100644 index 000000000000..0317f3eeea6e --- /dev/null +++ b/www/py-django-rich/Makefile @@ -0,0 +1,21 @@ +PORTNAME= django-rich +PORTVERSION= 1.4.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Extensions for using Rich with Django + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-django-rich/distinfo b/www/py-django-rich/distinfo new file mode 100644 index 000000000000..1f88129e0fba --- /dev/null +++ b/www/py-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-django-rich/pkg-descr b/www/py-django-rich/pkg-descr new file mode 100644 index 000000000000..788daaa1c9d7 --- /dev/null +++ b/www/py-django-rich/pkg-descr @@ -0,0 +1,13 @@ +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. + +WWW: https://github.com/adamchainz/django-rich |
