diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 13:37:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 13:37:44 +0000 |
commit | ce644e6147ac8af8d98fe1ad48c6228be082d7a2 (patch) | |
tree | 13541a20ba8f13182dccf2647e1d928a67430ab6 /www/py-django | |
parent | 426f78889b4d7cff8c712f8885f226575fd78f39 (diff) | |
download | pkgsrc-ce644e6147ac8af8d98fe1ad48c6228be082d7a2.tar.gz |
Add an option for the oracle backend.
Diffstat (limited to 'www/py-django')
-rw-r--r-- | www/py-django/Makefile | 4 | ||||
-rw-r--r-- | www/py-django/PLIST | 20 | ||||
-rw-r--r-- | www/py-django/options.mk | 9 |
3 files changed, 29 insertions, 4 deletions
diff --git a/www/py-django/Makefile b/www/py-django/Makefile index c71c2b81941..f3c93c7ab7b 100644 --- a/www/py-django/Makefile +++ b/www/py-django/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2010/02/10 19:30:09 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2010/02/11 13:37:44 joerg Exp $ DJANGOVERS= 1.1.1 DISTNAME= Django-${DJANGOVERS} @@ -27,7 +27,9 @@ DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup .include "options.mk" pre-configure: +.if empty(PKG_OPTIONS:Moracle) rm -r ${WRKSRC}/django/db/backends/oracle +.endif .if empty(PKG_OPTIONS:Mmysql) rm -r ${WRKSRC}/django/db/backends/mysql .endif diff --git a/www/py-django/PLIST b/www/py-django/PLIST index fa9f3e540d8..01ccadb2b50 100644 --- a/www/py-django/PLIST +++ b/www/py-django/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2010/02/10 19:30:09 joerg Exp $ +@comment $NetBSD: PLIST,v 1.15 2010/02/11 13:37:44 joerg Exp $ bin/django-admin.py ${PYSITELIB}/django/__init__.py ${PYSITELIB}/django/__init__.pyc @@ -1863,6 +1863,24 @@ ${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/introspection.pyo ${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/validation.py ${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/validation.pyc ${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/validation.pyo +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/__init__.py +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/__init__.pyc +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/__init__.pyo +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/base.py +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/base.pyc +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/base.pyo +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/client.py +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/client.pyc +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/client.pyo +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/creation.py +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/creation.pyc +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/creation.pyo +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/introspection.py +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/introspection.pyc +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/introspection.pyo +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/query.py +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/query.pyc +${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/query.pyo ${PLIST.pgsql}${PYSITELIB}/django/db/backends/postgresql/__init__.py ${PLIST.pgsql}${PYSITELIB}/django/db/backends/postgresql/__init__.pyc ${PLIST.pgsql}${PYSITELIB}/django/db/backends/postgresql/__init__.pyo diff --git a/www/py-django/options.mk b/www/py-django/options.mk index d83e4ed6bc3..4d7555fb3f8 100644 --- a/www/py-django/options.mk +++ b/www/py-django/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.7 2010/02/10 19:30:09 joerg Exp $ +# $NetBSD: options.mk,v 1.8 2010/02/11 13:37:45 joerg Exp $ PKG_OPTIONS_VAR = PKG_OPTIONS.django -PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite +PKG_SUPPORTED_OPTIONS= mysql oracle pgsql sqlite PKG_SUGGESTED_OPTIONS= pgsql .include "../../mk/bsd.options.mk" @@ -13,6 +13,11 @@ DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb PLIST.mysql= yes .endif +.if !empty(PKG_OPTIONS:Moracle) +DEPENDS+= ${PYPKGPREFIX}-cx_Oracle-[0-9]*:../../databases/py-cx_Oracle +PLIST.oracle= yes +.endif + .if !empty(PKG_OPTIONS:Mpgsql) DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2 PLIST.pgsql= yes |