23a4901899
Django 2.2.7: Fixed a crash when using a contains, contained_by, has_key, has_keys, or has_any_keys lookup on JSONField, if the right or left hand side of an expression is a key transform. Prevented migrate --plan from showing that RunPython operations are irreversible when reverse_code callables don’t have docstrings or when showing a forward migration plan. Fixed migrations crash on PostgreSQL when adding an Index with fields ordering and opclasses. Restored the ability to override get_FOO_display().
30 lines
911 B
Makefile
30 lines
911 B
Makefile
# $NetBSD: Makefile,v 1.22 2019/11/05 07:44:24 adam Exp $
|
|
|
|
DISTNAME= Django-2.2.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
|
|
MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/}
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://www.djangoproject.com/
|
|
COMMENT= Django, a high-level Python Web framework
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
REPLACE_PYTHON+= django/bin/django-admin.py
|
|
REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} django-admin django-admin-${PYVERSSUFFIX} && \
|
|
${MV} django-admin.py django-admin-${PYVERSSUFFIX}.py || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|