git: 1b55ccdbb745 - main - cad/py-ezdxf: switch to USES=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Aug 2022 18:56:05 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1b55ccdbb74545f93a8c251360efc745388b6819
commit 1b55ccdbb74545f93a8c251360efc745388b6819
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-08-30 17:29:08 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-08-30 18:55:06 +0000
cad/py-ezdxf: switch to USES=pytest
Note that 5 tests are failing.
Approved by: portmgr blanket
---
cad/py-ezdxf/Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/cad/py-ezdxf/Makefile b/cad/py-ezdxf/Makefile
index f0b628d99a57..5894b34c566c 100644
--- a/cad/py-ezdxf/Makefile
+++ b/cad/py-ezdxf/Makefile
@@ -13,16 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}geomdl>0:graphics/py-geomdl@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}geomdl>0:graphics/py-geomdl@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geomdl>0:graphics/py-geomdl@${PY_FLAVOR}
-USES= python:3.6+
+USES= python:3.6+ pytest
USE_PYTHON= concurrent distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= mozman
-do-test:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.mk>