Changeset View
Changeset View
Standalone View
Standalone View
textproc/py-fingerprints/Makefile
Show All 16 Lines | |||||
GH_ACCOUNT= alephdata | GH_ACCOUNT= alephdata | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
.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} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs | @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |