Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-python-crontab/Makefile
Show All 20 Lines | |||||
USE_GITLAB= yes | USE_GITLAB= yes | ||||
GL_ACCOUNT= doctormo | GL_ACCOUNT= doctormo | ||||
GL_COMMIT= ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0 | GL_COMMIT= ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0 | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
# The UTF-8 mode is enabled by default when the locale is C since Python 3.7. | # The UTF-8 mode is enabled by default when the locale is C since Python 3.7. | ||||
.if ${PYTHON_REL} < 3700 | .if ${PYTHON_REL} < 30700 | ||||
TEST_ENV+= LC_ALL=C.UTF-8 | TEST_ENV+= LC_ALL=C.UTF-8 | ||||
.endif | .endif | ||||
do-test: | do-test: | ||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |