pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 27 08:18:38 UTC 2023

Modified Files:
        pkgsrc/lang: Makefile
Added Files:
        pkgsrc/lang/py-test-mypy-testing: DESCR Makefile PLIST distinfo

Log Message:
py-test-mypy-testing: added version 0.1.1

pytest-mypy-testing provides a pytest plugin to test that mypy produces a given
output. As mypy can be told to display the type of an expression this allows us
to check mypys type interference.


To generate a diff of this commit:
cvs rdiff -u -r1.701 -r1.702 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-test-mypy-testing/DESCR \
    pkgsrc/lang/py-test-mypy-testing/Makefile \
    pkgsrc/lang/py-test-mypy-testing/PLIST \
    pkgsrc/lang/py-test-mypy-testing/distinfo

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

Modified files:

Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.701 pkgsrc/lang/Makefile:1.702
--- pkgsrc/lang/Makefile:1.701  Mon Oct 23 08:07:24 2023
+++ pkgsrc/lang/Makefile        Fri Oct 27 08:18:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.701 2023/10/23 08:07:24 pho Exp $
+# $NetBSD: Makefile,v 1.702 2023/10/27 08:18:38 adam Exp $
 #
 
 COMMENT=       Programming languages
@@ -259,6 +259,7 @@ SUBDIR+=    py-pythonz
 SUBDIR+=       py-six
 SUBDIR+=       py-solc-select
 SUBDIR+=       py-spark-parser
+SUBDIR+=       py-test-mypy-testing
 SUBDIR+=       py-uncompyle6
 SUBDIR+=       py27-html-docs
 SUBDIR+=       py310-html-docs

Added files:

Index: pkgsrc/lang/py-test-mypy-testing/DESCR
diff -u /dev/null pkgsrc/lang/py-test-mypy-testing/DESCR:1.1
--- /dev/null   Fri Oct 27 08:18:38 2023
+++ pkgsrc/lang/py-test-mypy-testing/DESCR      Fri Oct 27 08:18:38 2023
@@ -0,0 +1,3 @@
+pytest-mypy-testing provides a pytest plugin to test that mypy produces a given
+output. As mypy can be told to display the type of an expression this allows us
+to check mypys type interference.
Index: pkgsrc/lang/py-test-mypy-testing/Makefile
diff -u /dev/null pkgsrc/lang/py-test-mypy-testing/Makefile:1.1
--- /dev/null   Fri Oct 27 08:18:38 2023
+++ pkgsrc/lang/py-test-mypy-testing/Makefile   Fri Oct 27 08:18:38 2023
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2023/10/27 08:18:38 adam Exp $
+
+DISTNAME=      pytest-mypy-testing-0.1.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    lang python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-mypy-testing/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/davidfritzsche/pytest-mypy-testing
+COMMENT=       Pytest plugin to check mypy output
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-mypy>=0.931:../../lang/py-mypy
+DEPENDS+=      ${PYPKGPREFIX}-test>=7:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-test-mypy-testing/PLIST
diff -u /dev/null pkgsrc/lang/py-test-mypy-testing/PLIST:1.1
--- /dev/null   Fri Oct 27 08:18:38 2023
+++ pkgsrc/lang/py-test-mypy-testing/PLIST      Fri Oct 27 08:18:38 2023
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/27 08:18:38 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_mypy_testing/__init__.py
+${PYSITELIB}/pytest_mypy_testing/__init__.pyc
+${PYSITELIB}/pytest_mypy_testing/__init__.pyo
+${PYSITELIB}/pytest_mypy_testing/message.py
+${PYSITELIB}/pytest_mypy_testing/message.pyc
+${PYSITELIB}/pytest_mypy_testing/message.pyo
+${PYSITELIB}/pytest_mypy_testing/output_processing.py
+${PYSITELIB}/pytest_mypy_testing/output_processing.pyc
+${PYSITELIB}/pytest_mypy_testing/output_processing.pyo
+${PYSITELIB}/pytest_mypy_testing/parser.py
+${PYSITELIB}/pytest_mypy_testing/parser.pyc
+${PYSITELIB}/pytest_mypy_testing/parser.pyo
+${PYSITELIB}/pytest_mypy_testing/plugin.py
+${PYSITELIB}/pytest_mypy_testing/plugin.pyc
+${PYSITELIB}/pytest_mypy_testing/plugin.pyo
+${PYSITELIB}/pytest_mypy_testing/py.typed
+${PYSITELIB}/pytest_mypy_testing/strutil.py
+${PYSITELIB}/pytest_mypy_testing/strutil.pyc
+${PYSITELIB}/pytest_mypy_testing/strutil.pyo
Index: pkgsrc/lang/py-test-mypy-testing/distinfo
diff -u /dev/null pkgsrc/lang/py-test-mypy-testing/distinfo:1.1
--- /dev/null   Fri Oct 27 08:18:38 2023
+++ pkgsrc/lang/py-test-mypy-testing/distinfo   Fri Oct 27 08:18:38 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/27 08:18:38 adam Exp $
+
+BLAKE2s (pytest-mypy-testing-0.1.1.tar.gz) = b61cdfaa22ac59900011a025830c3412fe1b00465a14623f6f20c9a4836b6dd7
+SHA512 (pytest-mypy-testing-0.1.1.tar.gz) = ddf170cfde5ce059320b1e9e0ecca835620ef59ba08136f268ef664f520913808c08eed3ac75487e6178b61c702e140efee3308ad4d9f85a7b70ecf5a092490d
+Size (pytest-mypy-testing-0.1.1.tar.gz) = 29372 bytes



Home | Main Index | Thread Index | Old Index