pkgsrc/www/py-trytond-webdav/Makefile
wiz 3fbe685807 py-tryton*: put python-2.7 restriction only in those packages where it belongs
(and the meta package)

Fix PLIST for py-trytond for all python versions.
2020-03-13 20:20:48 +00:00

25 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.11 2020/03/13 20:20:50 wiz Exp $
TRYTON_MODULE_NAME= trytond_webdav
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= python www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.tryton.org/
COMMENT= Webdav module of the Tryton application platform
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-pywebdav-[0-9]*:../../www/py-pywebdav
DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond
PYTHON_VERSIONS_ACCEPTED= 27 # py-pywebdav
REPLACE_PYTHON+= tests/test_webdav.py
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/trytond-webdav \
${DESTDIR}${PREFIX}/bin/trytond-webdav${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"