c2195be2fb
2.2.0: Django 2.0 compatibility. Again there were no changes to the actual library code, so previous versions probably work. Ensured that request._cors_enabled is always a bool() - previously it could be set to a regex match object.
18 lines
536 B
Makefile
18 lines
536 B
Makefile
# $NetBSD: Makefile,v 1.2 2018/03/02 11:34:29 adam Exp $
|
|
|
|
DISTNAME= django-cors-headers-2.2.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-cors-headers/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/ottoyiu/django-cors-headers
|
|
COMMENT= Django application for handling headers required for CORS
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|