www/py-dj51-django-compression-middleware: New port
Clone of existing port for Django 5.1. PR: 286533
This commit is contained in:
committed by
Michael Gmelin
parent
e874a9b526
commit
38932cdab0
@@ -1542,6 +1542,7 @@
|
||||
SUBDIR += py-dj51-django-auth-ldap
|
||||
SUBDIR += py-dj51-django-celery-results
|
||||
SUBDIR += py-dj51-django-choices-field
|
||||
SUBDIR += py-dj51-django-compression-middleware
|
||||
SUBDIR += py-dj51-django-cors-headers
|
||||
SUBDIR += py-dj51-django-debug-toolbar
|
||||
SUBDIR += py-dj51-django-extensions
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1707589744
|
||||
SHA256 (django-compression-middleware-0.5.0.tar.gz) = 0df50f12d774659abc8bbc88e4c794f2785a8f11f30b5bb267c314b85d941b73
|
||||
SIZE (django-compression-middleware-0.5.0.tar.gz) = 20060
|
||||
@@ -0,0 +1,6 @@
|
||||
Django Compression Middleware
|
||||
|
||||
This middleware implements compressed content encoding for HTTP. It is similar
|
||||
to Django's GZipMiddleware, but additionally supports other compression methods.
|
||||
|
||||
It is meant to be a drop-in replacement for Django's GZipMiddleware.
|
||||
Reference in New Issue
Block a user