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:           Tue Feb 14 19:09:59 UTC 2023

Modified Files:
        pkgsrc/lang/py-mypy: Makefile PLIST distinfo
        pkgsrc/lang/py-mypy_extensions: Makefile PLIST distinfo

Log Message:
py-mypy py-mypy_extensions: updated to 1.0.0

Mypy 1.0 Released

Now that mypy reached 1.0, we’ll switch to a new versioning scheme. Mypy version numbers will be of form x.y.z.

Mypy 1.0 is up to 40% faster than mypy 0.991 when type checking the Dropbox internal codebase. We also set up a daily job to measure the performance of the most recent development version of mypy to 
make it easier to track changes in performance.

Mypy will now generate an error if you use a variable before it’s defined. This feature is enabled by default. By default mypy reports an error when it infers that a variable is always undefined.

A new experimental possibly-undefined error code is now available that will detect variables that may be undefined.

There is now a simpler syntax for declaring generic self types introduced in PEP 673: the Self type. You no longer have to define a type variable to use “self types”, and you can use them with 
attributes.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/lang/py-mypy/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/py-mypy/PLIST
cvs rdiff -u -r1.34 -r1.35 pkgsrc/lang/py-mypy/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-mypy_extensions/Makefile \
    pkgsrc/lang/py-mypy_extensions/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/py-mypy_extensions/PLIST

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

Modified files:

Index: pkgsrc/lang/py-mypy/Makefile
diff -u pkgsrc/lang/py-mypy/Makefile:1.36 pkgsrc/lang/py-mypy/Makefile:1.37
--- pkgsrc/lang/py-mypy/Makefile:1.36   Tue Nov 22 13:28:32 2022
+++ pkgsrc/lang/py-mypy/Makefile        Tue Feb 14 19:09:59 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2022/11/22 13:28:32 adam Exp $
+# $NetBSD: Makefile,v 1.37 2023/02/14 19:09:59 adam Exp $
 
-DISTNAME=      mypy-0.991
+DISTNAME=      mypy-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mypy/}
@@ -20,7 +20,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 USE_PKG_RESOURCES=     yes
 
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 311
+.if ${_PYTHON_VERSION} != 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
 .endif
 

Index: pkgsrc/lang/py-mypy/PLIST
diff -u pkgsrc/lang/py-mypy/PLIST:1.24 pkgsrc/lang/py-mypy/PLIST:1.25
--- pkgsrc/lang/py-mypy/PLIST:1.24      Tue Nov  8 08:57:44 2022
+++ pkgsrc/lang/py-mypy/PLIST   Tue Feb 14 19:09:59 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2022/11/08 08:57:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.25 2023/02/14 19:09:59 adam Exp $
 bin/dmypy-${PYVERSSUFFIX}
 bin/mypy-${PYVERSSUFFIX}
 bin/mypyc-${PYVERSSUFFIX}
@@ -52,6 +52,9 @@ ${PYSITELIB}/mypy/checkstrformat.pyo
 ${PYSITELIB}/mypy/config_parser.py
 ${PYSITELIB}/mypy/config_parser.pyc
 ${PYSITELIB}/mypy/config_parser.pyo
+${PYSITELIB}/mypy/constant_fold.py
+${PYSITELIB}/mypy/constant_fold.pyc
+${PYSITELIB}/mypy/constant_fold.pyo
 ${PYSITELIB}/mypy/constraints.py
 ${PYSITELIB}/mypy/constraints.pyc
 ${PYSITELIB}/mypy/constraints.pyo
@@ -88,6 +91,9 @@ ${PYSITELIB}/mypy/errorcodes.pyo
 ${PYSITELIB}/mypy/errors.py
 ${PYSITELIB}/mypy/errors.pyc
 ${PYSITELIB}/mypy/errors.pyo
+${PYSITELIB}/mypy/evalexpr.py
+${PYSITELIB}/mypy/evalexpr.pyc
+${PYSITELIB}/mypy/evalexpr.pyo
 ${PYSITELIB}/mypy/expandtype.py
 ${PYSITELIB}/mypy/expandtype.pyc
 ${PYSITELIB}/mypy/expandtype.pyo
@@ -1210,6 +1216,9 @@ ${PYSITELIB}/mypyc/irbuild/main.pyo
 ${PYSITELIB}/mypyc/irbuild/mapper.py
 ${PYSITELIB}/mypyc/irbuild/mapper.pyc
 ${PYSITELIB}/mypyc/irbuild/mapper.pyo
+${PYSITELIB}/mypyc/irbuild/match.py
+${PYSITELIB}/mypyc/irbuild/match.pyc
+${PYSITELIB}/mypyc/irbuild/match.pyo
 ${PYSITELIB}/mypyc/irbuild/nonlocalcontrol.py
 ${PYSITELIB}/mypyc/irbuild/nonlocalcontrol.pyc
 ${PYSITELIB}/mypyc/irbuild/nonlocalcontrol.pyo
@@ -1330,6 +1339,7 @@ ${PYSITELIB}/mypyc/test-data/fixtures/te
 ${PYSITELIB}/mypyc/test-data/fixtures/typing-full.pyi
 ${PYSITELIB}/mypyc/test-data/irbuild-any.test
 ${PYSITELIB}/mypyc/test-data/irbuild-basic.test
+${PYSITELIB}/mypyc/test-data/irbuild-bool.test
 ${PYSITELIB}/mypyc/test-data/irbuild-bytes.test
 ${PYSITELIB}/mypyc/test-data/irbuild-classes.test
 ${PYSITELIB}/mypyc/test-data/irbuild-constant-fold.test
@@ -1342,6 +1352,7 @@ ${PYSITELIB}/mypyc/test-data/irbuild-i64
 ${PYSITELIB}/mypyc/test-data/irbuild-int.test
 ${PYSITELIB}/mypyc/test-data/irbuild-isinstance.test
 ${PYSITELIB}/mypyc/test-data/irbuild-lists.test
+${PYSITELIB}/mypyc/test-data/irbuild-match.test
 ${PYSITELIB}/mypyc/test-data/irbuild-nested.test
 ${PYSITELIB}/mypyc/test-data/irbuild-optional.test
 ${PYSITELIB}/mypyc/test-data/irbuild-set.test
@@ -1372,6 +1383,7 @@ ${PYSITELIB}/mypyc/test-data/run-imports
 ${PYSITELIB}/mypyc/test-data/run-integers.test
 ${PYSITELIB}/mypyc/test-data/run-lists.test
 ${PYSITELIB}/mypyc/test-data/run-loops.test
+${PYSITELIB}/mypyc/test-data/run-match.test
 ${PYSITELIB}/mypyc/test-data/run-misc.test
 ${PYSITELIB}/mypyc/test-data/run-multimodule.test
 ${PYSITELIB}/mypyc/test-data/run-mypy-sim.test
@@ -1449,12 +1461,12 @@ ${PYSITELIB}/mypyc/test/test_serializati
 ${PYSITELIB}/mypyc/test/test_struct.py
 ${PYSITELIB}/mypyc/test/test_struct.pyc
 ${PYSITELIB}/mypyc/test/test_struct.pyo
-${PYSITELIB}/mypyc/test/test_subtype.py
-${PYSITELIB}/mypyc/test/test_subtype.pyc
-${PYSITELIB}/mypyc/test/test_subtype.pyo
 ${PYSITELIB}/mypyc/test/test_tuplename.py
 ${PYSITELIB}/mypyc/test/test_tuplename.pyc
 ${PYSITELIB}/mypyc/test/test_tuplename.pyo
+${PYSITELIB}/mypyc/test/test_typeops.py
+${PYSITELIB}/mypyc/test/test_typeops.pyc
+${PYSITELIB}/mypyc/test/test_typeops.pyo
 ${PYSITELIB}/mypyc/test/testutil.py
 ${PYSITELIB}/mypyc/test/testutil.pyc
 ${PYSITELIB}/mypyc/test/testutil.pyo

Index: pkgsrc/lang/py-mypy/distinfo
diff -u pkgsrc/lang/py-mypy/distinfo:1.34 pkgsrc/lang/py-mypy/distinfo:1.35
--- pkgsrc/lang/py-mypy/distinfo:1.34   Tue Nov 22 13:28:32 2022
+++ pkgsrc/lang/py-mypy/distinfo        Tue Feb 14 19:09:59 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.34 2022/11/22 13:28:32 adam Exp $
+$NetBSD: distinfo,v 1.35 2023/02/14 19:09:59 adam Exp $
 
-BLAKE2s (mypy-0.991.tar.gz) = 21a8f78e4466df0b2f1b77e3fa3c553f6c6c1745732b0fefe9d6308bd26f1c2c
-SHA512 (mypy-0.991.tar.gz) = 46a241cf3b092aa44bca52aa63992b0e46b2c722da2e3578b2774d63251232d3c4f9f7ceda1958f9290d098761850683386f27a90051b41919069306cae4e08d
-Size (mypy-0.991.tar.gz) = 2688198 bytes
+BLAKE2s (mypy-1.0.0.tar.gz) = 0f04e4eda06f932fe3ab0923cd903610472e08c99245969fa19bd3143013ecac
+SHA512 (mypy-1.0.0.tar.gz) = cc2c948f127bd533bf54bbf653032e9d2935f65103f7f95e34acc313b94634f88bdd53eec351f13c8b37762a2b93b97c37116bfce289830afda181a2b9b09221
+Size (mypy-1.0.0.tar.gz) = 2753202 bytes

Index: pkgsrc/lang/py-mypy_extensions/Makefile
diff -u pkgsrc/lang/py-mypy_extensions/Makefile:1.4 pkgsrc/lang/py-mypy_extensions/Makefile:1.5
--- pkgsrc/lang/py-mypy_extensions/Makefile:1.4 Tue Jan  4 20:54:09 2022
+++ pkgsrc/lang/py-mypy_extensions/Makefile     Tue Feb 14 19:09:59 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:09 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2023/02/14 19:09:59 adam Exp $
 
-DISTNAME=      mypy_extensions-0.4.3
+DISTNAME=      mypy_extensions-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mypy_extensions/}
 
Index: pkgsrc/lang/py-mypy_extensions/distinfo
diff -u pkgsrc/lang/py-mypy_extensions/distinfo:1.4 pkgsrc/lang/py-mypy_extensions/distinfo:1.5
--- pkgsrc/lang/py-mypy_extensions/distinfo:1.4 Tue Oct 26 10:51:49 2021
+++ pkgsrc/lang/py-mypy_extensions/distinfo     Tue Feb 14 19:09:59 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:51:49 nia Exp $
+$NetBSD: distinfo,v 1.5 2023/02/14 19:09:59 adam Exp $
 
-BLAKE2s (mypy_extensions-0.4.3.tar.gz) = 99491e99dfd7a50adf08fd1d2a928afb97ed40270813012bfdbaa2979870f1b8
-SHA512 (mypy_extensions-0.4.3.tar.gz) = b64dab28519f9e67b7b6bcb0445451eec07cc699ce1bbc65d56c28bd5dbcd72e9b324c9aed3f134df5645ee4bba6aa5f607fec133b3bfd5a1706186a0112ce6f
-Size (mypy_extensions-0.4.3.tar.gz) = 4252 bytes
+BLAKE2s (mypy_extensions-1.0.0.tar.gz) = acb35ab7a1e18e3a3a363ba6448d9880746ce0c2cb11ebc05a8ac5e1ef4f5687
+SHA512 (mypy_extensions-1.0.0.tar.gz) = 501515a6f35d038c9b3a1dac4648fd3dde1d72bb61e9af4e0549b39d1294a71af24d4289445246b57bcf2ccd444b4c0c4665222178e1508b273da9b1c1e3319b
+Size (mypy_extensions-1.0.0.tar.gz) = 4433 bytes

Index: pkgsrc/lang/py-mypy_extensions/PLIST
diff -u pkgsrc/lang/py-mypy_extensions/PLIST:1.1 pkgsrc/lang/py-mypy_extensions/PLIST:1.2
--- pkgsrc/lang/py-mypy_extensions/PLIST:1.1    Wed Nov 28 08:14:57 2018
+++ pkgsrc/lang/py-mypy_extensions/PLIST        Tue Feb 14 19:09:59 2023
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2018/11/28 08:14:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/02/14 19:09:59 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/mypy_extensions.py
 ${PYSITELIB}/mypy_extensions.pyc



Home | Main Index | Thread Index | Old Index