1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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.
This commit is contained in:
Kai Knoblich 2022-09-17 12:41:32 +02:00
parent 101cca3386
commit e2acfab803
4 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1657859577
SHA256 (django-rich-1.4.0.tar.gz) = 10a5d9e9b62228b683d51584e4c2a5aa9f838176364a90c8cd79688aadca9f4c
SIZE (django-rich-1.4.0.tar.gz) = 58751

View File

@ -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 Djangos 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.