| @@ -1,47 +1,47 @@ | | | @@ -1,47 +1,47 @@ |
1 | # $NetBSD: options.mk,v 1.5 2014/05/09 07:37:03 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.6 2015/03/26 22:11:47 jperkin Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond |
4 | PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx | | 4 | PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx |
5 | PKG_SUPPORTED_OPTIONS+= webdav | | 5 | PKG_SUPPORTED_OPTIONS+= webdav |
6 | PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx | | 6 | PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx |
7 | | | 7 | |
8 | .include "../../mk/bsd.options.mk" | | 8 | .include "../../mk/bsd.options.mk" |
9 | | | 9 | |
10 | # XXX Supports unoconv http://dag.wieers.com/home-made/unoconv/) and | | 10 | # XXX Supports unoconv http://dag.wieers.com/home-made/unoconv/) and |
11 | # XXX python-Levenshtein (http://github.com/miohtama/python-Levenshtein) options | | 11 | # XXX python-Levenshtein (http://github.com/miohtama/python-Levenshtein) options |
12 | | | 12 | |
13 | .if !empty(PKG_OPTIONS:Mcdecimal) | | 13 | .if !empty(PKG_OPTIONS:Mcdecimal) |
14 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 34 # py-cdecimal is obsolete for that version and thus not available | | 14 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-cdecimal is obsolete for that version and thus not available |
15 | DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal | | 15 | DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal |
16 | .endif | | 16 | .endif |
17 | | | 17 | |
18 | .if !empty(PKG_OPTIONS:Mmysql) | | 18 | .if !empty(PKG_OPTIONS:Mmysql) |
19 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 34 # py-mysqldb | | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-mysqldb |
20 | DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb | | 20 | DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb |
21 | .endif | | 21 | .endif |
22 | | | 22 | |
23 | .if !empty(PKG_OPTIONS:Mpydot) | | 23 | .if !empty(PKG_OPTIONS:Mpydot) |
24 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 34 # py-dot | | 24 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-dot |
25 | DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../../graphics/py-dot | | 25 | DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../../graphics/py-dot |
26 | .endif | | 26 | .endif |
27 | | | 27 | |
28 | .if !empty(PKG_OPTIONS:Mpsycopg) | | 28 | .if !empty(PKG_OPTIONS:Mpsycopg) |
29 | DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2 | | 29 | DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2 |
30 | .endif | | 30 | .endif |
31 | | | 31 | |
32 | .if !empty(PKG_OPTIONS:Mpytz) | | 32 | .if !empty(PKG_OPTIONS:Mpytz) |
33 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | | 33 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz |
34 | .endif | | 34 | .endif |
35 | | | 35 | |
36 | .if !empty(PKG_OPTIONS:Msimplejson) | | 36 | .if !empty(PKG_OPTIONS:Msimplejson) |
37 | DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson | | 37 | DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson |
38 | .endif | | 38 | .endif |
39 | | | 39 | |
40 | .if !empty(PKG_OPTIONS:Msphinx) | | 40 | .if !empty(PKG_OPTIONS:Msphinx) |
41 | DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | | 41 | DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx |
42 | .endif | | 42 | .endif |
43 | | | 43 | |
44 | .if !empty(PKG_OPTIONS:Mwebdav) | | 44 | .if !empty(PKG_OPTIONS:Mwebdav) |
45 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 34 # py-pywebdav | | 45 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-pywebdav |
46 | DEPENDS+= ${PYPKGPREFIX}-pywebdav-[0-9]*:../../www/py-pywebdav | | 46 | DEPENDS+= ${PYPKGPREFIX}-pywebdav-[0-9]*:../../www/py-pywebdav |
47 | .endif | | 47 | .endif |