Skip to content

Commit

Permalink
www/py-django-rich: New port
Browse files Browse the repository at this point in the history
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
  • Loading branch information
knobix committed Jul 17, 2022
1 parent b4042b0 commit 2e54d95
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions www/py-django-rich/Makefile
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions www/py-django-rich/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1657859577
SHA256 (django-rich-1.4.0.tar.gz) = 10a5d9e9b62228b683d51584e4c2a5aa9f838176364a90c8cd79688aadca9f4c
SIZE (django-rich-1.4.0.tar.gz) = 58751
13 changes: 13 additions & 0 deletions www/py-django-rich/pkg-descr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2e54d95

Please sign in to comment.