Sebastian 38932cdab0 www/py-dj51-django-compression-middleware: New port
Clone of existing port for Django 5.1.

PR:		286533
2025-05-05 20:04:53 +02:00

25 lines
745 B
Makefile

PORTNAME= django-compression-middleware
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
MAINTAINER= grembo@FreeBSD.org
COMMENT= Django middleware to compress responses using several algorithms
WWW= https://github.com/friedelwolff/django-compression-middleware
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zstandard>=0.22.0:archivers/py-zstandard@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}brotli>=1.1.0:archivers/py-brotli@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
.include <bsd.port.mk>