Changeset View
Changeset View
Standalone View
Standalone View
textproc/py-normality/Makefile
Show All 23 Lines | |||||
OPTIONS_DEFINE= ICU | OPTIONS_DEFINE= ICU | ||||
OPTIONS_DEFAULT= ICU | OPTIONS_DEFAULT= ICU | ||||
ICU_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=1.9.3:devel/py-pyicu@${PY_FLAVOR} | ICU_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=1.9.3:devel/py-pyicu@${PY_FLAVOR} | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
# Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by | # Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by | ||||
# default when the locale is C since Python 3.7. | # default when the locale is C since Python 3.7. | ||||
.if ${PYTHON_REL} < 3700 | .if ${PYTHON_REL} < 30700 | ||||
USE_LOCALE= en_US.UTF-8 | USE_LOCALE= en_US.UTF-8 | ||||
.endif | .endif | ||||
do-test: | do-test: | ||||
@cd ${WRKSRC} && ${SET_ENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs | @cd ${WRKSRC} && ${SET_ENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |