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