Import Django 0.95 from pkgsrc-wip:

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 commit is contained in:
joerg 2006-09-11 11:38:33 +00:00
parent 91c5626676
commit 7933e6d482
5 changed files with 1192 additions and 0 deletions

3
www/py-django/DESCR Normal file
View file

@ -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.

39
www/py-django/Makefile Normal file
View file

@ -0,0 +1,39 @@
# $NetBSD: Makefile,v 1.1.1.1 2006/09/11 11:38:33 joerg Exp $
DISTNAME= Django-0.95
PKGNAME= ${PYPKGPREFIX}-django-0.95
CATEGORIES= www python
MASTER_SITES= http://www.djangoproject.com/download/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.djangoproject.com/
COMMENT= Django, a high-level Python Web framework
PYDISTUTILSPKG= # yes
PYBINMODULE= # yes
PYTHON_VERSIONS_ACCEPTED= 24
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py24-setuptools
DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup
.include "options.mk"
post-extract:
rm -r ${WRKSRC}/django/db/backends/ado_mssql
rm -r ${WRKSRC}/django/db/backends/oracle
.if empty(PKG_OPTIONS:Mmysql)
rm -r ${WRKSRC}/django/db/backends/mysql
.endif
.if empty(PKG_OPTIONS:Mpsycopg1)
rm -r ${WRKSRC}/django/db/backends/postgresql
.endif
.if empty(PKG_OPTIONS:Mpsycopg2)
rm -r ${WRKSRC}/django/db/backends/postgresql_psycopg2
.endif
.if empty(PKG_OPTIONS:Msqlite)
rm -r ${WRKSRC}/django/db/backends/sqlite3
.endif
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

1110
www/py-django/PLIST Normal file

File diff suppressed because it is too large Load diff

5
www/py-django/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2006/09/11 11:38:33 joerg Exp $
SHA1 (Django-0.95.tar.gz) = 2ea50ec96bf4b3f0b4821ce33ff422150c9c4f15
RMD160 (Django-0.95.tar.gz) = 95c405fff77e4a0cf51654e9d089a47b629dd875
Size (Django-0.95.tar.gz) = 1287781 bytes

35
www/py-django/options.mk Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: options.mk,v 1.1.1.1 2006/09/11 11:38:34 joerg Exp $
PKG_OPTIONS_VAR = PKG_OPTIONS.django
PKG_SUPPORTED_OPTIONS= mysql psycopg1 psycopg2 sqlite
PKG_SUGGESTED_OPTIONS= psycopg1
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
PLIST_SUBST+= COND_MYSQL=
.else
PLIST_SUBST+= COND_MYSQL="@comment "
.endif
.if !empty(PKG_OPTIONS:Mpsycopg1)
DEPENDS+= ${PYPKGPREFIX}-psycopg-[0-9]*:../../databases/py-psycopg
PLIST_SUBST+= COND_PSYCOPG1=
.else
PLIST_SUBST+= COND_PSYCOPG1="@comment "
.endif
.if !empty(PKG_OPTIONS:Mpsycopg2)
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
PLIST_SUBST+= COND_PSYCOPG2=
.else
PLIST_SUBST+= COND_PSYCOPG2="@comment "
.endif
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
PLIST_SUBST+= COND_SQLITE=
.else
PLIST_SUBST+= COND_SQLITE="@comment "
.endif