summaryrefslogtreecommitdiff
path: root/www/py-django/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-25 10:29:56 +0000
committerwiz <wiz@pkgsrc.org>2014-01-25 10:29:56 +0000
commit4fc0b0ed6a186ccd83fc93c34cc9ed91862930d8 (patch)
tree3bbaa4e1a32886abb417eed9e3a6c4c742388c9a /www/py-django/options.mk
parentda96a0b73ccce3895e3b718798083bf1740293d8 (diff)
downloadpkgsrc-4fc0b0ed6a186ccd83fc93c34cc9ed91862930d8.tar.gz
Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
Diffstat (limited to 'www/py-django/options.mk')
-rw-r--r--www/py-django/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/py-django/options.mk b/www/py-django/options.mk
index 4fdda3eb09d..affe4ae3cd1 100644
--- a/www/py-django/options.mk
+++ b/www/py-django/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2010/09/16 11:12:18 adam Exp $
+# $NetBSD: options.mk,v 1.10 2014/01/25 10:30:27 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.django
PKG_SUPPORTED_OPTIONS= mysql oracle pgsql sqlite
@@ -10,6 +10,7 @@ PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-mysqldb
PLIST.mysql= yes
.endif
@@ -25,5 +26,6 @@ PLIST.pgsql= yes
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-sqlite2
PLIST.sqlite= yes
.endif