pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-codespell
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jan 26 20:27:30 UTC 2021
Modified Files:
pkgsrc/devel/py-codespell: Makefile
Log Message:
py-codespell: add missing dependency for python 2.7 package
Add missing test dependency.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-codespell/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-codespell/Makefile
diff -u pkgsrc/devel/py-codespell/Makefile:1.3 pkgsrc/devel/py-codespell/Makefile:1.4
--- pkgsrc/devel/py-codespell/Makefile:1.3 Mon Jan 25 10:56:05 2021
+++ pkgsrc/devel/py-codespell/Makefile Tue Jan 26 20:27:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/01/25 10:56:05 fcambus Exp $
+# $NetBSD: Makefile,v 1.4 2021/01/26 20:27:30 wiz Exp $
DISTNAME= codespell-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,9 +12,17 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
+.endif
+PYTHON_VERSIONED_DEPENDENCIES+= test:test
+
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/codespell \
${DESTDIR}${PREFIX}/bin/codespell-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index