git: 52a31bfb3719 - main - security/py-securesystemslib: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Mar 2024 15:24:30 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=52a31bfb371955ab21bf8c967c304c41d3b7d426
commit 52a31bfb371955ab21bf8c967c304c41d3b7d426
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 15:22:07 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 15:22:07 +0000
security/py-securesystemslib: Convert to USE_PYTHON=pytest
Approved by: portmgr (blanket)
With hat: python
---
security/py-securesystemslib/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/security/py-securesystemslib/Makefile b/security/py-securesystemslib/Makefile
index 3edba9068185..cbdf3ac04d7a 100644
--- a/security/py-securesystemslib/Makefile
+++ b/security/py-securesystemslib/Makefile
@@ -15,9 +15,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR}
TEST_DEPENDS= ${LOCALBASE}/bin/gpg:security/gnupg
-USES= python pytest shebangfix
-USE_PYTHON= autoplist cryptography pep517
-PYTEST_ARGS= tests
+USES= python shebangfix
+USE_PYTHON= autoplist cryptography pep517 pytest
SHEBANG_FILES= securesystemslib/settings.py \
securesystemslib/schema.py \
@@ -28,6 +27,7 @@ SHEBANG_FILES= securesystemslib/settings.py \
securesystemslib/formats.py
NO_ARCH= yes
+TEST_ARGS= tests
post-patch:
@${REINPLACE_CMD} -e 's|hatchling==|hatchling>=|g' \