aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-26 15:16:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-27 11:42:13 +0000
commit0a452342de5da5db62f493d6d556fa308419e2dc (patch)
treec8b45160fdde7030de6c3b9c7c50a27691033a68
parenta82890065cf4dd0efd82cb98a802bb1cd0c05a64 (diff)
downloadports-0a452342de5da5db62f493d6d556fa308419e2dc.tar.gz
ports-0a452342de5da5db62f493d6d556fa308419e2dc.zip
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
-rw-r--r--security/py-keyrings.alt/Makefile8
1 files 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>