pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-trio py-trio: add missing {TEST_,}DEPENDS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e2d9acaa0bf
branches:  trunk
changeset: 372131:0e2d9acaa0bf
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 19 22:56:00 2022 +0000

description:
py-trio: add missing {TEST_,}DEPENDS

Bump PKGREVISION

diffstat:

 devel/py-trio/Makefile |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 5a085bcb8b8b -r 0e2d9acaa0bf devel/py-trio/Makefile
--- a/devel/py-trio/Makefile    Wed Jan 19 22:39:31 2022 +0000
+++ b/devel/py-trio/Makefile    Wed Jan 19 22:56:00 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2022/01/19 21:14:26 rhialto Exp $
+# $NetBSD: Makefile,v 1.2 2022/01/19 22:56:00 wiz Exp $
 
 DISTNAME=      trio-0.19.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/trio/}
 
@@ -12,15 +13,27 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  37 27
 
+DEPENDS+=      ${PYPKGPREFIX}-astor>=0.8.1:../../devel/py-astor
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=2.2.2:../../devel/py-sortedcontainers
 DEPENDS+=      ${PYPKGPREFIX}-async_generator>=1.9:../../devel/py-async_generator
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.10:../../www/py-idna
-#DEPENDS+=     ${PYPKGPREFIX}-outcome>=1.1.0:../../wip/py-outcome
+DEPENDS+=      ${PYPKGPREFIX}-outcome>=1.1.0:../../devel/py-outcome
 DEPENDS+=      ${PYPKGPREFIX}-sniffio>=1.2.0:../../misc/py-sniffio
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.14:../../devel/py-cffi
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
+TEST_DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint
+TEST_DEPENDS+= ${PYPKGPREFIX}-jedi-[0-9]*:../../editors/py-jedi
 
 USE_LANGUAGES= # none
 
+# test status as of 0.19.0
+# hangs, needs to be stopped with ctrl-c; then
+# 3 failed, 466 passed, 12 skipped
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index