pkgsrc/devel/py-tryton/options.mk
2014-05-09 07:36:53 +00:00

25 lines
849 B
Makefile

# $NetBSD: options.mk,v 1.3 2014/05/09 07:37:02 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-tryton
PKG_SUPPORTED_OPTIONS= cdecimal goocalendar pytz simplejson
PKG_SUGGESTED_OPTIONS+= cdecimal pytz simplejson
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcdecimal)
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 # py-cdecimal not available because obsolete
DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal
.endif
.if !empty(PKG_OPTIONS:Mgoocalendar)
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 # py-gtk2 via py-goocanvas via py-goocalendar
DEPENDS+= ${PYPKGPREFIX}-goocalendar-[0-9]*:../../time/py-goocalendar
.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