File tree Expand file tree Collapse file tree 7 files changed +5103
-1
lines changed Expand file tree Collapse file tree 7 files changed +5103
-1
lines changed Original file line number Diff line number Diff line change 1
- # $NetBSD: Makefile,v 1.1434 2020/01/29 21:52:26 adam Exp $
1
+ # $NetBSD: Makefile,v 1.1435 2020/02/17 20:23:21 adam Exp $
2
2
#
3
3
4
4
COMMENT = Packages related to the World Wide Web
@@ -680,6 +680,7 @@ SUBDIR+= py-django-timezone-field
680
680
SUBDIR+ = py-django-treebeard
681
681
SUBDIR+ = py-django14
682
682
SUBDIR+ = py-django2
683
+ SUBDIR+ = py-django3
683
684
SUBDIR+ = py-djangocms-admin-style
684
685
SUBDIR+ = py-djangocms-attributes-field
685
686
SUBDIR+ = py-djangocms-audio
Original file line number Diff line number Diff line change
1
+ bin/django-admin @PREFIX@/bin/django-admin-@PYVERSSUFFIX@
2
+ bin/django-admin.py @PREFIX@/bin/django-admin-@PYVERSSUFFIX@.py
Original file line number Diff line number Diff line change
1
+ Django is a high-level Python Web framework that encourages rapid development
2
+ and clean, pragmatic design. Django was designed to make common Web-development
3
+ tasks fast and easy.
Original file line number Diff line number Diff line change
1
+ ===========================================================================
2
+ $NetBSD: MESSAGE,v 1.1 2020/02/17 20:23:21 adam Exp $
3
+
4
+ Django also requires a database backend.
5
+
6
+ For PostgreSQL, install databases/py-psycopg2 package.
7
+ For MySQL/MariaDB, install databases/py-mysqldb or databases/py-mysql-connector package.
8
+ For SQLite, install databases/py-sqlite3 package.
9
+ For Oracle, install databases/py-cx_Oracle package.
10
+ ===========================================================================
Original file line number Diff line number Diff line change
1
+ # $NetBSD: Makefile,v 1.1 2020/02/17 20:23:21 adam Exp $
2
+
3
+ DISTNAME = Django-3.0.3
4
+ PKGNAME = ${PYPKGPREFIX}-${DISTNAME:tl}
5
+ CATEGORIES = www python
6
+ MASTER_SITES = https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
7
+ MASTER_SITES+ = ${MASTER_SITE_PYPI:=D/Django/}
8
+
9
+ MAINTAINER = pkgsrc-users@NetBSD.org
10
+ HOMEPAGE = https://www.djangoproject.com/
11
+ COMMENT = Django, a high-level Python Web framework
12
+ LICENSE = modified-bsd
13
+
14
+ DEPENDS+ = ${PYPKGPREFIX}-asgiref>=3.2:../../www/py-asgiref
15
+ DEPENDS+ = ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
16
+ DEPENDS+ = ${PYPKGPREFIX}-sqlparse>=0.2.2:../../databases/py-sqlparse
17
+
18
+ USE_LANGUAGES = # none
19
+
20
+ PYTHON_VERSIONS_INCOMPATIBLE = 27
21
+
22
+ REPLACE_PYTHON+ = django/bin/django-admin.py
23
+ REPLACE_PYTHON+ = django/conf/project_template/manage.py-tpl
24
+
25
+ post-install :
26
+ cd ${DESTDIR}${PREFIX} /bin && \
27
+ ${MV} django-admin django-admin-${PYVERSSUFFIX} && \
28
+ ${MV} django-admin.py django-admin-${PYVERSSUFFIX} .py || ${TRUE}
29
+
30
+ .include "../../lang/python/application.mk"
31
+ .include "../../lang/python/egg.mk"
32
+ .include "../../mk/bsd.pkg.mk"
You can’t perform that action at this time.
0 commit comments