Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
What’s new in Django 3.0 MariaDB support ASGI support Exclusion constraints on PostgreSQL Filter expressions Enumerations for model field choices
- Loading branch information
adam
committed
Feb 17, 2020
1 parent
7fa6a97
commit 0d98bcf
Showing
7 changed files
with
5,103 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin/django-admin @PREFIX@/bin/django-admin-@PYVERSSUFFIX@ | ||
bin/django-admin.py @PREFIX@/bin/django-admin-@PYVERSSUFFIX@.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Django is a high-level Python Web framework that encourages rapid development | ||
and clean, pragmatic design. Django was designed to make common Web-development | ||
tasks fast and easy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
=========================================================================== | ||
$NetBSD: MESSAGE,v 1.1 2020/02/17 20:23:21 adam Exp $ | ||
|
||
Django also requires a database backend. | ||
|
||
For PostgreSQL, install databases/py-psycopg2 package. | ||
For MySQL/MariaDB, install databases/py-mysqldb or databases/py-mysql-connector package. | ||
For SQLite, install databases/py-sqlite3 package. | ||
For Oracle, install databases/py-cx_Oracle package. | ||
=========================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# $NetBSD: Makefile,v 1.1 2020/02/17 20:23:21 adam Exp $ | ||
|
||
DISTNAME= Django-3.0.3 | ||
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= pkgsrc-users@NetBSD.org | ||
HOMEPAGE= https://www.djangoproject.com/ | ||
COMMENT= Django, a high-level Python Web framework | ||
LICENSE= modified-bsd | ||
|
||
DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.2:../../www/py-asgiref | ||
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | ||
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.2.2:../../databases/py-sqlparse | ||
|
||
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" |
Oops, something went wrong.