pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-checkdocs



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 25 14:20:17 UTC 2023

Modified Files:
        pkgsrc/devel/py-test-checkdocs: Makefile

Log Message:
py-test-checkdocs: add some missing dependencies


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-checkdocs/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-test-checkdocs/Makefile
diff -u pkgsrc/devel/py-test-checkdocs/Makefile:1.1 pkgsrc/devel/py-test-checkdocs/Makefile:1.2
--- pkgsrc/devel/py-test-checkdocs/Makefile:1.1 Tue Apr 25 14:14:04 2023
+++ pkgsrc/devel/py-test-checkdocs/Makefile     Tue Apr 25 14:20:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/04/25 14:14:04 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/04/25 14:20:17 wiz Exp $
 
 DISTNAME=      pytest-checkdocs-2.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -10,11 +10,19 @@ HOMEPAGE=   https://github.com/jaraco/pyte
 COMMENT=       Check the README when running tests
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-build-[0-9]*:../../devel/py-build
+DEPENDS+=      ${PYPKGPREFIX}-docutils>=0.15:../../textproc/py-docutils
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} < 310
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27



Home | Main Index | Thread Index | Old Index