pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-typeguard



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 19 16:02:44 UTC 2023

Modified Files:
        pkgsrc/devel/py-typeguard: Makefile

Log Message:
py-typeguard: fix DEPENDS and test target


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-typeguard/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-typeguard/Makefile
diff -u pkgsrc/devel/py-typeguard/Makefile:1.10 pkgsrc/devel/py-typeguard/Makefile:1.11
--- pkgsrc/devel/py-typeguard/Makefile:1.10     Sat Oct 28 19:57:08 2023
+++ pkgsrc/devel/py-typeguard/Makefile  Sun Nov 19 16:02:44 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2023/10/28 19:57:08 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2023/11/19 16:02:44 wiz Exp $
 
 DISTNAME=      typeguard-4.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/typeguard/}
 
@@ -15,23 +15,21 @@ TOOL_DEPENDS+=      ${PYPKGPREFIX}-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=1.2.0:../../lang/py-mypy
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+pre-test:
+       ${LN} -sf ${PREFIX}/bin/mypy-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/mypy
 
 .include "../../lang/python/pyversion.mk"
 
 .if ${PYTHON_VERSION} < 310
-TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=3.6:../../devel/py-importlib-metadata
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=3.6:../../devel/py-importlib-metadata
 .endif
 .if ${PYTHON_VERSION} < 312
-TEST_DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.7.0:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.7.0:../../devel/py-typing-extensions
 .endif
 
 .include "../../lang/python/wheel.mk"



Home | Main Index | Thread Index | Old Index