pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-mypy-plugins
Module Name: pkgsrc
Committed By: adam
Date: Fri Aug 4 09:49:45 UTC 2023
Modified Files:
pkgsrc/devel/py-test-mypy-plugins: Makefile
Log Message:
py-test-mypy-plugins: substiture mypy command name
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-mypy-plugins/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-mypy-plugins/Makefile
diff -u pkgsrc/devel/py-test-mypy-plugins/Makefile:1.1 pkgsrc/devel/py-test-mypy-plugins/Makefile:1.2
--- pkgsrc/devel/py-test-mypy-plugins/Makefile:1.1 Fri Aug 4 09:33:44 2023
+++ pkgsrc/devel/py-test-mypy-plugins/Makefile Fri Aug 4 09:49:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/08/04 09:33:44 adam Exp $
+# $NetBSD: Makefile,v 1.2 2023/08/04 09:49:45 adam Exp $
DISTNAME= pytest-mypy-plugins-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -7,7 +7,7 @@ MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyte
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/TypedDjango/pytest-mypy-plugins
-COMMENT= Pytest plugin for writing tests for mypy plugins
+COMMENT= Pytest plugin for writing cmd for mypy plugins
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
@@ -23,5 +23,11 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+SUBST_CLASSES+= cmd
+SUBST_STAGE.cmd= pre-configure
+SUBST_MESSAGE.cmd= Fixing command name.
+SUBST_FILES.cmd= pytest_mypy_plugins/item.py
+SUBST_SED.cmd= -e 's,"mypy","mypy-${PYVERSSUFFIX}",g'
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index