pkgsrc/devel/py-tryton/Makefile
wiz 42e32098a1 Switch py-dateutils to plain DEPENDS.
It supports both python 2 and 3 nowadays.
2017-02-20 17:00:35 +00:00

29 lines
892 B
Makefile

# $NetBSD: Makefile,v 1.28 2017/02/20 17:00:35 wiz Exp $
TRYTON_MODULE_NAME= tryton
PKGREVISION= 2
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= devel python
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://www.tryton.org/
COMMENT= Three-tiers high-level general purpose application platform
LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36
.include "options.mk"
DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS.Darwin+= ${PYPKGPREFIX}-py2app-[0-9]*:../../devel/py-py2app
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/tryton \
${DESTDIR}${PREFIX}/bin/tryton${PYVERSSUFFIX} || ${TRUE}
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"