git: df63734c2b63 - main - databases/py-marshmallow-sqlalchemy: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 11:03:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=df63734c2b631b87d6e4d2e8e91e6918d65e953d
commit df63734c2b631b87d6e4d2e8e91e6918d65e953d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:58:08 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:58:08 +0000
databases/py-marshmallow-sqlalchemy: Convert to USE_PYTHON=pytest
---
databases/py-marshmallow-sqlalchemy/Makefile | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/databases/py-marshmallow-sqlalchemy/Makefile b/databases/py-marshmallow-sqlalchemy/Makefile
index b9959c61fda4..b57d8d1b10c7 100644
--- a/databases/py-marshmallow-sqlalchemy/Makefile
+++ b/databases/py-marshmallow-sqlalchemy/Makefile
@@ -14,15 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>=3.0.0:devel/py-marshmallow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.2.0:databases/py-sqlalchemy14@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-lazy-fixture>=0:devel/py-pytest-lazy-fixture@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-lazy-fixture>=0:devel/py-pytest-lazy-fixture@${PY_FLAVOR} \
USES= python:3.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
-
-do-test:
- cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>