Date: Sun, 17 Jul 2022 12:07:24 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2e54d95a3acb - main - www/py-django-rich: New port Message-ID: <202207171207.26HC7OSw068926@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e54d95a3acb27fc83d853e6a09458d999fe636b commit 2e54d95a3acb27fc83d853e6a09458d999fe636b Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-07-17 11:59:46 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-07-17 12:04:31 +0000 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 --- www/Makefile | 1 + www/py-django-rich/Makefile | 21 +++++++++++++++++++++ www/py-django-rich/distinfo | 3 +++ www/py-django-rich/pkg-descr | 13 +++++++++++++ 4 files changed, 38 insertions(+) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207171207.26HC7OSw068926>