semarie cac9023704 productivity/tryton: unbreak after werkzeug update
- backport werkzeug 2.0 support to 5.0 and 5.2 series
- remove RCSTag while here
2022-03-10 13:25:23 +00:00

47 lines
1.4 KiB
Makefile

CATEGORIES ?= productivity \
productivity/tryton
HOMEPAGE ?= https://www.tryton.org/
MAINTAINER ?= Sebastien Marie <semarie@online.fr>
# GPLv3
PERMIT_PACKAGE ?= Yes
MASTER_SITES = https://downloads-cdn.tryton.org/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \
https://downloads.tryton.org/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
DIST_SUBDIR = tryton
PORTROACH += site:https://downloads-cdn.tryton.org/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
VERSION ?= ${MODPY_EGG_VERSION}
.if defined(TRYTON_MODULE)
TRYTON_PY = Yes
COMMENT ?= trytond ${TRYTON_MODULE} module
DISTNAME ?= trytond_${TRYTON_MODULE}-${MODPY_EGG_VERSION}
PKGNAME ?= trytond-module-${TRYTON_MODULE}-${MODPY_EGG_VERSION}
RUN_DEPENDS += productivity/tryton/${TRYTON_VERSION}/trytond${TRYTON_VERSION_COMPAT}
. if defined(TRYTON_DEPENDS)
. for _m in ${TRYTON_DEPENDS}
RUN_DEPENDS += productivity/tryton/${TRYTON_VERSION}/${_m}${TRYTON_VERSION_COMPAT}
. endfor
. endif
TEST_DEPENDS += productivity/tryton/${TRYTON_VERSION}/proteus${TRYTON_VERSION_COMPAT} \
${FULLPKGNAME}:${BUILD_PKGPATH}
. if defined(TRYTON_TEST_DEPENDS)
. for _m in ${TRYTON_TEST_DEPENDS}
TEST_DEPENDS += productivity/tryton/${TRYTON_VERSION}/${_m}${TRYTON_VERSION_COMPAT}
. endfor
. endif
.endif
.if defined(TRYTON_PY) && ${TRYTON_PY:L} == "yes"
MODULES += lang/python
MODPY_SETUPTOOLS ?= Yes
TEST_ENV += DB_NAME=:memory:
.endif