git: 0a452342de5d - main - security/py-keyrings.alt: convert to USES=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 11:42:28 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0a452342de5da5db62f493d6d556fa308419e2dc
commit 0a452342de5da5db62f493d6d556fa308419e2dc
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-26 15:16:43 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-27 11:42:13 +0000
security/py-keyrings.alt: convert to USES=pytest
The tests still fail because of pycrypto which is not compatible
with our python 3.8. This may be fixed by either updating [1] this
port to a newer version which drops the pycrypto dependency, or
fixing pycrypto [2].
PR: 263585 [1], 263586 [2]
Reported by: reprise
Approved by: portmgr blanket
---
security/py-keyrings.alt/Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/security/py-keyrings.alt/Makefile b/security/py-keyrings.alt/Makefile
index 50332a4e74fe..819a45f09c55 100644
--- a/security/py-keyrings.alt/Makefile
+++ b/security/py-keyrings.alt/Makefile
@@ -14,13 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keyring>=10.3.1:security/py-keyring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR}
-USES= python:3.6+
+USES= python:3.6+ pytest
USE_PYTHON= autoplist distutils
NO_ARCH= yes
@@ -35,7 +34,4 @@ GNOME_KEYRING_USES= gnome
GNOME_KEYRING_USE= GNOME=pygobject3
PYFS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR}
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
-
.include <bsd.port.mk>