pkgsrc/www/py-django-filer/Makefile
adam a3be56af2b py-django-filer: updated to 2.0.2
2.0.2
Fix 1214: serve() missing 1 required positional argument: filer_file.
Fix 1211: On upload MIME-type is not set correctly.

2.0.1
Fixed NotNullViolation: null value in column "mime_type" in migration filer.0012_file_mime_type.py.

2.0.0
Added support for Django 3.1
Dropped support for Python 2.7 and Python 3.4
Dropped support for Django < 2.2
Changed the preferred way to do model registration via model inheritance and mptt.AlreadyRegistered, which is deprecated since django-mptt 0.4
Use dashed name for django-polymorphic dependency in setup.py
In models.File, add field mime_type to store the Content-Type as set by the browser during file upload
For extended Django Filer models, adopt the classmethod matches_file_type to its new signature, this is a breaking change
Add attribute download to the download link in order to offer the file under its original name
2021-01-16 09:41:57 +00:00

25 lines
874 B
Makefile

# $NetBSD: Makefile,v 1.9 2021/01/16 09:41:57 adam Exp $
DISTNAME= django-filer-2.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-filer/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://github.com/divio/django-filer
COMMENT= File management application for Django
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-Unidecode>=0.04:../../textproc/py-Unidecode
DEPENDS+= ${PYPKGPREFIX}-django>=2.2:../../www/py-django2
DEPENDS+= ${PYPKGPREFIX}-django-mptt>=0.6:../../www/py-django-mptt
DEPENDS+= ${PYPKGPREFIX}-django-polymorphic>=2.0:../../www/py-django-polymorphic
DEPENDS+= ${PYPKGPREFIX}-easy-thumbnails>=2.0:../../www/py-easy-thumbnails
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"