summaryrefslogtreecommitdiff
path: root/www/py-dj52-django-rich/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj52-django-rich/Makefile')
-rw-r--r--www/py-dj52-django-rich/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/py-dj52-django-rich/Makefile b/www/py-dj52-django-rich/Makefile
new file mode 100644
index 000000000000..8c7d791d94ba
--- /dev/null
+++ b/www/py-dj52-django-rich/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= django-rich
+DISTVERSION= 2.0.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
+DISTNAME= django_rich-${DISTVERSION}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Extensions for using Rich with Django
+WWW= https://github.com/adamchainz/django-rich
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR}
+
+USES= python:3.10+
+USE_PYTHON= autoplist pep517
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>