[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-09-14 Thread Michał Górny
commit: 6c7e1d2014d7ba8ac0a87cf2b76a76df1c2022ab
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 14 14:06:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 14 14:06:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7e1d20

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 -
 dev-python/mypy/mypy-1.11.1.ebuild | 126 -
 2 files changed, 127 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 765d78bb5b14..760498ccff07 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1 @@
-DIST mypy-1.11.1.gh.tar.gz 3122001 BLAKE2B 
6b4db9a363190177b96ea807538f1582071b213eae816ff55723c22de098e7ff2745e433a8a174fe3ebb6a9ed66f8ac75917883dfa027bdd7bca750a7517478e
 SHA512 
8baa916ffe7e37c54c6dac98241441cc615ea8f847ebe3d12f41912d4a596ca47068d4fb0460e3bfc4b020ad7d2580814422b9dc3a22830c9031cec4111e3aab
 DIST mypy-1.11.2.gh.tar.gz 3122502 BLAKE2B 
228127662f4c607aacf3ee37410d0fa039a225fdbf2fec27eefab4aaabf4b68fa33499bb978aa5f06e24b45b525ce524decfa84f4d7d6bb7961724db92a4589b
 SHA512 
c25584db08adcf7693944e5a6a41743101e80a0ff03f36f0353a07674ad4e2d63dbd4ff3fa0e307c19d63bc5aac9f7523340bd5a7cb3661642f3fb33759aafd0

diff --git a/dev-python/mypy/mypy-1.11.1.ebuild 
b/dev-python/mypy/mypy-1.11.1.ebuild
deleted file mode 100644
index 906b969de108..
--- a/dev-python/mypy/mypy-1.11.1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
-IUSE="+native-extensions"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.10)
-"
-BDEPEND="
-   native-extensions? (
-   ${RDEPEND}
-   dev-python/types-psutil[${PYTHON_USEDEP}]
-   dev-python/types-setuptools[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
-# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
-# test files (https://github.com/mypyc/mypyc/issues/1014)
-export CCACHE_DISABLE=1
-
-python_compile() {
-   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
-   case ${EPYTHON} in
-   python3.13)
-   # https://github.com/mypyc/mypyc/issues/1056
-   MYPY_USE_MYPYC=0
-   ;;
-   esac
-   distutils-r1_python_compile
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   # known broken with assertions enabled
-   # https://github.com/python/mypy/issues/16043
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
-   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
-   # these assume that types-docutils are not installed
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
-   # TODO
-   mypy/test/meta/test_parse_data.py
-   mypy/test/meta/test_update_data.py
-   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
-   )
-   case ${EPYTHON} in
-   python3.12)
-   EPYTEST_DESELECT+=(
-   # more assertions, sigh
-   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
-   
mypyc/

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-09-14 Thread Arthur Zamarin
commit: 055000d338b72a71195c010ec37a9a6510f146cf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Sep 14 13:48:02 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Sep 14 13:48:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=055000d3

dev-python/mypy: Stabilize 1.11.2 ppc64, #939654

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.2.ebuild 
b/dev-python/mypy/mypy-1.11.2.ebuild
index 74dcd67953b7..906b969de108 100644
--- a/dev-python/mypy/mypy-1.11.2.ebuild
+++ b/dev-python/mypy/mypy-1.11.2.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-09-14 Thread Arthur Zamarin
commit: 279a14ddcb9cd47f8dde0887bf856d4438c5bece
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Sep 14 13:36:33 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Sep 14 13:36:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279a14dd

dev-python/mypy: Stabilize 1.11.2 x86, #939654

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.2.ebuild 
b/dev-python/mypy/mypy-1.11.2.ebuild
index 611ba16560fe..74dcd67953b7 100644
--- a/dev-python/mypy/mypy-1.11.2.ebuild
+++ b/dev-python/mypy/mypy-1.11.2.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-09-14 Thread Arthur Zamarin
commit: eb02c8853fadce10670a7032936ac6353eb6ea4f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Sep 14 13:22:53 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Sep 14 13:22:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb02c885

dev-python/mypy: Stabilize 1.11.2 amd64, #939654

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.2.ebuild 
b/dev-python/mypy/mypy-1.11.2.ebuild
index 7a76d2db4e1d..611ba16560fe 100644
--- a/dev-python/mypy/mypy-1.11.2.ebuild
+++ b/dev-python/mypy/mypy-1.11.2.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-09-14 Thread Arthur Zamarin
commit: a7551b9eac96dc02d42ce56a58153366c7b9429e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Sep 14 12:26:41 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Sep 14 12:26:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7551b9e

dev-python/mypy: Stabilize 1.11.2 arm64, #939654

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.2.ebuild 
b/dev-python/mypy/mypy-1.11.2.ebuild
index 81a7e950a754..7a76d2db4e1d 100644
--- a/dev-python/mypy/mypy-1.11.2.ebuild
+++ b/dev-python/mypy/mypy-1.11.2.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-08-24 Thread Michał Górny
commit: 8e6e884d99b9966827b2cad7e3d19c739d380d26
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 25 01:45:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 25 01:45:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6e884d

dev-python/mypy: Bump to 1.11.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 +
 dev-python/mypy/mypy-1.11.2.ebuild | 126 +
 2 files changed, 127 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index f59f48d16bb7..765d78bb5b14 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1 +1,2 @@
 DIST mypy-1.11.1.gh.tar.gz 3122001 BLAKE2B 
6b4db9a363190177b96ea807538f1582071b213eae816ff55723c22de098e7ff2745e433a8a174fe3ebb6a9ed66f8ac75917883dfa027bdd7bca750a7517478e
 SHA512 
8baa916ffe7e37c54c6dac98241441cc615ea8f847ebe3d12f41912d4a596ca47068d4fb0460e3bfc4b020ad7d2580814422b9dc3a22830c9031cec4111e3aab
+DIST mypy-1.11.2.gh.tar.gz 3122502 BLAKE2B 
228127662f4c607aacf3ee37410d0fa039a225fdbf2fec27eefab4aaabf4b68fa33499bb978aa5f06e24b45b525ce524decfa84f4d7d6bb7961724db92a4589b
 SHA512 
c25584db08adcf7693944e5a6a41743101e80a0ff03f36f0353a07674ad4e2d63dbd4ff3fa0e307c19d63bc5aac9f7523340bd5a7cb3661642f3fb33759aafd0

diff --git a/dev-python/mypy/mypy-1.11.2.ebuild 
b/dev-python/mypy/mypy-1.11.2.ebuild
new file mode 100644
index ..81a7e950a754
--- /dev/null
+++ b/dev-python/mypy/mypy-1.11.2.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+python_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   case ${EPYTHON} in
+   python3.13)
+   # https://github.com/mypyc/mypyc/issues/1056
+   MYPY_USE_MYPYC=0
+   ;;
+   esac
+   distutils-r1_python_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   # TODO
+   mypy/test/meta/test_parse_data.py
+   mypy/test/meta/test_update_data.py
+   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
+   )
+   case ${EPYTHON} in
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # more assertions, sigh
+   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
+   
m

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/files/, dev-python/mypy/

2024-08-17 Thread Michał Górny
commit: 597c824e5716e6ae6e39e863ee68ac48f33132bd
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 17 09:57:49 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 17 09:57:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597c824e

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   2 -
 dev-python/mypy/files/mypy-1.10.1-py313.patch | 153 --
 dev-python/mypy/mypy-1.10.1.ebuild| 133 --
 dev-python/mypy/mypy-1.11.0.ebuild| 126 -
 4 files changed, 414 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 782f3401202b..f59f48d16bb7 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1 @@
-DIST mypy-1.10.1.gh.tar.gz 3062383 BLAKE2B 
326fb33e42ad8920a235e510b3d39663f333dc46d0dd3ffc59f4604e9a4f29f0be95f73bac42166aae00b53987d6a2a54446f1f58033dce389c43044dbaa9cdd
 SHA512 
10d29ae145d71911dc7c9b4538371bf1caa64f333984ab3a4cbf9561d7c4e752c68380496489f56d0941f143d6684d84d28f157be578d6f55f1e81d3d47b204c
-DIST mypy-1.11.0.gh.tar.gz 3121990 BLAKE2B 
8c48580a01d0e2795a8aebcba3e6a6be707e411396dc607eeb1942958c993a504d57a778cb9d25b7a0d78921f577331018b3a425864fa764c71728e8cd6e1265
 SHA512 
87fded2b6cdbd77a0d34df14b4d6b1824ec84030602ceb60ec34ded159eabc3c30ad0a2e151fa5a2389227e776f50a25c80dae42f1ae608af32098e5ea02
 DIST mypy-1.11.1.gh.tar.gz 3122001 BLAKE2B 
6b4db9a363190177b96ea807538f1582071b213eae816ff55723c22de098e7ff2745e433a8a174fe3ebb6a9ed66f8ac75917883dfa027bdd7bca750a7517478e
 SHA512 
8baa916ffe7e37c54c6dac98241441cc615ea8f847ebe3d12f41912d4a596ca47068d4fb0460e3bfc4b020ad7d2580814422b9dc3a22830c9031cec4111e3aab

diff --git a/dev-python/mypy/files/mypy-1.10.1-py313.patch 
b/dev-python/mypy/files/mypy-1.10.1-py313.patch
deleted file mode 100644
index 5b9932852e19..
--- a/dev-python/mypy/files/mypy-1.10.1-py313.patch
+++ /dev/null
@@ -1,153 +0,0 @@
-From 29b4303e905f43556043efde95e19f32e04df9a5 Mon Sep 17 00:00:00 2001
-From: Jelle Zijlstra 
-Date: Fri, 24 May 2024 21:00:17 -0700
-Subject: [PATCH] Fix stubgen for Python 3.13
-
-__firstlineno__ and __static_attributes__ are new in 3.13.
-__annotate__ will be new in 3.14, so we might as well add it now.

- mypy/stubgenc.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/mypy/stubgenc.py b/mypy/stubgenc.py
-index 29b2636d39cc..7e3ef49c6e9a 100755
 a/mypy/stubgenc.py
-+++ b/mypy/stubgenc.py
-@@ -466,6 +466,9 @@ def is_skipped_attribute(self, attr: str) -> bool:
- "__module__",
- "__weakref__",
- "__annotations__",
-+"__firstlineno__",
-+"__static_attributes__",
-+"__annotate__",
- )
- or attr in self.IGNORED_DUNDERS
- or is_pybind_skipped_attribute(attr)  # For pickling
-From 071e3f5f4685470f55dab7fc474e9f89a8e49fb9 Mon Sep 17 00:00:00 2001
-From: hauntsaninja 
-Date: Fri, 17 May 2024 18:49:27 -0400
-Subject: [PATCH] stubtest: changes for py313
-
-Technically it feels like we should be able to put the new dunders on
-`type` or something, but that wasn't enough to make false positives go
-away. But also we might not want to do that because it only applies to
-pure Python types

- mypy/stubtest.py | 6 ++
- 1 file changed, 6 insertions(+)
-
-diff --git a/mypy/stubtest.py b/mypy/stubtest.py
-index dd43c472d67f..d78b71715159 100644
 a/mypy/stubtest.py
-+++ b/mypy/stubtest.py
-@@ -634,6 +634,10 @@ def strip_prefix(s: str, prefix: str) -> str:
- if strip_prefix(stub_arg.variable.name, "__") == runtime_arg.name:
- return
- 
-+nonspecific_names = {"object", "args"}
-+if runtime_arg.name in nonspecific_names:
-+return
-+
- def names_approx_match(a: str, b: str) -> bool:
- a = a.strip("_")
- b = b.strip("_")
-@@ -1455,6 +1459,8 @@ def verify_typealias(
- "__getattr__",  # resulting behaviour might be typed explicitly
- "__setattr__",  # defining this on a class can cause worse type 
checking
- "__vectorcalloffset__",  # undocumented implementation detail of the 
vectorcall protocol
-+"__firstlineno__",
-+"__static_attributes__",
- # isinstance/issubclass hooks that type-checkers don't usually care 
about
- "__instancecheck__",
- "__subclasshook__",
-diff --git a/mypy/plugins/dataclasses.py b/mypy/plugins/dataclasses.py
-index dd2eceab217f..edfc6840fc37 100644
 a/mypy/plugins/dataclasses.py
-+++ b/mypy/plugins/dataclasses.py
-@@ -385,6 +385,9 @@ def transform(self) -> bool:
- 
- self._add_dataclass_fields_magic_attribute()
- self._add_internal_replace_method(attributes)
-+if self._api.options.python_version >= (3, 13):
-+self._add_dunder_replace(attributes)
-+
- if "__post_init__" in inf

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-08-17 Thread Michał Górny
commit: 8004435c13fc8776827ccee8bfa31232c6cc8184
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 17 09:56:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 17 09:56:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8004435c

dev-python/mypy: Stabilize 1.11.1 amd64, #938054

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.1.ebuild 
b/dev-python/mypy/mypy-1.11.1.ebuild
index 87f9a50779f5..906b969de108 100644
--- a/dev-python/mypy/mypy-1.11.1.ebuild
+++ b/dev-python/mypy/mypy-1.11.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-08-17 Thread Michał Górny
commit: 10a818d92bd548ce6572c36bc2b7388d19162765
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 17 09:56:45 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 17 09:56:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a818d9

dev-python/mypy: Stabilize 1.11.1 ppc64, #938054

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.1.ebuild 
b/dev-python/mypy/mypy-1.11.1.ebuild
index 50c775505bbf..87f9a50779f5 100644
--- a/dev-python/mypy/mypy-1.11.1.ebuild
+++ b/dev-python/mypy/mypy-1.11.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm64 ~loong ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-08-17 Thread Michał Górny
commit: 799941a584936b6ac53b1697ac75d6dc12b1ac49
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 17 09:56:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 17 09:56:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799941a5

dev-python/mypy: Stabilize 1.11.1 arm64, #938054

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.1.ebuild 
b/dev-python/mypy/mypy-1.11.1.ebuild
index a462c7e96096..50c775505bbf 100644
--- a/dev-python/mypy/mypy-1.11.1.ebuild
+++ b/dev-python/mypy/mypy-1.11.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-08-17 Thread Jakov Smolić
commit: 8c4f2cc8f6000e46b3a842bc052a9e63d9246de1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Aug 17 08:33:32 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Aug 17 08:33:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4f2cc8

dev-python/mypy: Stabilize 1.11.1 x86, #938054

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/mypy/mypy-1.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.11.1.ebuild 
b/dev-python/mypy/mypy-1.11.1.ebuild
index 81a7e950a754..a462c7e96096 100644
--- a/dev-python/mypy/mypy-1.11.1.ebuild
+++ b/dev-python/mypy/mypy-1.11.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-07-30 Thread Michał Górny
commit: 3b7609488736e7253736ba2a7d15fb094b7438c1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 31 04:18:10 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 31 05:52:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b760948

dev-python/mypy: Bump to 1.11.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 +
 dev-python/mypy/mypy-1.11.1.ebuild | 126 +
 2 files changed, 127 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 480caef5e634..782f3401202b 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.10.1.gh.tar.gz 3062383 BLAKE2B 
326fb33e42ad8920a235e510b3d39663f333dc46d0dd3ffc59f4604e9a4f29f0be95f73bac42166aae00b53987d6a2a54446f1f58033dce389c43044dbaa9cdd
 SHA512 
10d29ae145d71911dc7c9b4538371bf1caa64f333984ab3a4cbf9561d7c4e752c68380496489f56d0941f143d6684d84d28f157be578d6f55f1e81d3d47b204c
 DIST mypy-1.11.0.gh.tar.gz 3121990 BLAKE2B 
8c48580a01d0e2795a8aebcba3e6a6be707e411396dc607eeb1942958c993a504d57a778cb9d25b7a0d78921f577331018b3a425864fa764c71728e8cd6e1265
 SHA512 
87fded2b6cdbd77a0d34df14b4d6b1824ec84030602ceb60ec34ded159eabc3c30ad0a2e151fa5a2389227e776f50a25c80dae42f1ae608af32098e5ea02
+DIST mypy-1.11.1.gh.tar.gz 3122001 BLAKE2B 
6b4db9a363190177b96ea807538f1582071b213eae816ff55723c22de098e7ff2745e433a8a174fe3ebb6a9ed66f8ac75917883dfa027bdd7bca750a7517478e
 SHA512 
8baa916ffe7e37c54c6dac98241441cc615ea8f847ebe3d12f41912d4a596ca47068d4fb0460e3bfc4b020ad7d2580814422b9dc3a22830c9031cec4111e3aab

diff --git a/dev-python/mypy/mypy-1.11.1.ebuild 
b/dev-python/mypy/mypy-1.11.1.ebuild
new file mode 100644
index ..81a7e950a754
--- /dev/null
+++ b/dev-python/mypy/mypy-1.11.1.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+python_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   case ${EPYTHON} in
+   python3.13)
+   # https://github.com/mypyc/mypyc/issues/1056
+   MYPY_USE_MYPYC=0
+   ;;
+   esac
+   distutils-r1_python_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   # TODO
+   mypy/test/meta/test_parse_data.py
+   mypy/test/meta/test_update_data.py
+   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
+   )
+   case ${EPYTHON} in
+   python3.12)
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-07-20 Thread Michał Górny
commit: 18c261571581f81d00733aed7a9821d8a833ba2f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 12:24:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 13:27:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c26157

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 -
 dev-python/mypy/mypy-1.10.0.ebuild | 112 -
 2 files changed, 113 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 065c27fb3a84..480caef5e634 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1,2 @@
-DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B 
ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd
 SHA512 
c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66
 DIST mypy-1.10.1.gh.tar.gz 3062383 BLAKE2B 
326fb33e42ad8920a235e510b3d39663f333dc46d0dd3ffc59f4604e9a4f29f0be95f73bac42166aae00b53987d6a2a54446f1f58033dce389c43044dbaa9cdd
 SHA512 
10d29ae145d71911dc7c9b4538371bf1caa64f333984ab3a4cbf9561d7c4e752c68380496489f56d0941f143d6684d84d28f157be578d6f55f1e81d3d47b204c
 DIST mypy-1.11.0.gh.tar.gz 3121990 BLAKE2B 
8c48580a01d0e2795a8aebcba3e6a6be707e411396dc607eeb1942958c993a504d57a778cb9d25b7a0d78921f577331018b3a425864fa764c71728e8cd6e1265
 SHA512 
87fded2b6cdbd77a0d34df14b4d6b1824ec84030602ceb60ec34ded159eabc3c30ad0a2e151fa5a2389227e776f50a25c80dae42f1ae608af32098e5ea02

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
deleted file mode 100644
index 2db7b7b8d663..
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
-IUSE="+native-extensions"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.10)
-"
-BDEPEND="
-   native-extensions? (
-   ${RDEPEND}
-   dev-python/types-psutil[${PYTHON_USEDEP}]
-   dev-python/types-setuptools[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
-# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
-# test files (https://github.com/mypyc/mypyc/issues/1014)
-export CCACHE_DISABLE=1
-
-src_compile() {
-   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
-   distutils-r1_src_compile
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   # known broken with assertions enabled
-   # https://github.com/python/mypy/issues/16043
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
-   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
-   # these assume that types-docutils are not installed
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
-   # TODO
-   mypy/test/meta/test_parse_data.py
-   mypy/test/meta/test_update_data.py
-   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
-   )
-   case ${EPYTHON} in
-   python3.12)
-   EPYTEST_DESELECT+=(
-   # more assertions, sigh
-   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-07-19 Thread Michał Górny
commit: efe0716a7107659fc579a605495895bf4fd4c3c3
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 19 18:30:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 19 19:56:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe0716a

dev-python/mypy: Bump to 1.11.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 +
 dev-python/mypy/mypy-1.11.0.ebuild | 126 +
 2 files changed, 127 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index e9781fe5c763..065c27fb3a84 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B 
ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd
 SHA512 
c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66
 DIST mypy-1.10.1.gh.tar.gz 3062383 BLAKE2B 
326fb33e42ad8920a235e510b3d39663f333dc46d0dd3ffc59f4604e9a4f29f0be95f73bac42166aae00b53987d6a2a54446f1f58033dce389c43044dbaa9cdd
 SHA512 
10d29ae145d71911dc7c9b4538371bf1caa64f333984ab3a4cbf9561d7c4e752c68380496489f56d0941f143d6684d84d28f157be578d6f55f1e81d3d47b204c
+DIST mypy-1.11.0.gh.tar.gz 3121990 BLAKE2B 
8c48580a01d0e2795a8aebcba3e6a6be707e411396dc607eeb1942958c993a504d57a778cb9d25b7a0d78921f577331018b3a425864fa764c71728e8cd6e1265
 SHA512 
87fded2b6cdbd77a0d34df14b4d6b1824ec84030602ceb60ec34ded159eabc3c30ad0a2e151fa5a2389227e776f50a25c80dae42f1ae608af32098e5ea02

diff --git a/dev-python/mypy/mypy-1.11.0.ebuild 
b/dev-python/mypy/mypy-1.11.0.ebuild
new file mode 100644
index ..81a7e950a754
--- /dev/null
+++ b/dev-python/mypy/mypy-1.11.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+python_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   case ${EPYTHON} in
+   python3.13)
+   # https://github.com/mypyc/mypyc/issues/1056
+   MYPY_USE_MYPYC=0
+   ;;
+   esac
+   distutils-r1_python_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   # TODO
+   mypy/test/meta/test_parse_data.py
+   mypy/test/meta/test_update_data.py
+   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
+   )
+   case ${EPYTHON} in
+   python3.12)
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-07-10 Thread Sam James
commit: f46038204a524c907de3ebc16037f415117b8f25
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 10 07:04:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 10 07:04:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4603820

dev-python/mypy: fix disabling mypyc for py3.13

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.10.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/mypy/mypy-1.10.1.ebuild 
b/dev-python/mypy/mypy-1.10.1.ebuild
index b87fe789fc41..9bd317074557 100644
--- a/dev-python/mypy/mypy-1.10.1.ebuild
+++ b/dev-python/mypy/mypy-1.10.1.ebuild
@@ -63,14 +63,15 @@ PATCHES=(
 # test files (https://github.com/mypyc/mypyc/issues/1014)
 export CCACHE_DISABLE=1
 
-src_compile() {
+python_compile() {
local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
case ${EPYTHON} in
python3.13)
# https://github.com/mypyc/mypyc/issues/1056
MYPY_USE_MYPYC=0
+   ;;
esac
-   distutils-r1_src_compile
+   distutils-r1_python_compile
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/, dev-python/mypy/files/

2024-07-09 Thread Michał Górny
commit: 3a323b02beb6cc986c4451b5c9fd2b0323b3ffc2
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul  9 18:13:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul  9 19:29:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a323b02

dev-python/mypy: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/files/mypy-1.10.1-py313.patch | 25 +
 dev-python/mypy/mypy-1.10.1.ebuild| 19 +--
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/dev-python/mypy/files/mypy-1.10.1-py313.patch 
b/dev-python/mypy/files/mypy-1.10.1-py313.patch
new file mode 100644
index ..d98bc079cb52
--- /dev/null
+++ b/dev-python/mypy/files/mypy-1.10.1-py313.patch
@@ -0,0 +1,25 @@
+From 29b4303e905f43556043efde95e19f32e04df9a5 Mon Sep 17 00:00:00 2001
+From: Jelle Zijlstra 
+Date: Fri, 24 May 2024 21:00:17 -0700
+Subject: [PATCH] Fix stubgen for Python 3.13
+
+__firstlineno__ and __static_attributes__ are new in 3.13.
+__annotate__ will be new in 3.14, so we might as well add it now.
+---
+ mypy/stubgenc.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/mypy/stubgenc.py b/mypy/stubgenc.py
+index 29b2636d39cc..7e3ef49c6e9a 100755
+--- a/mypy/stubgenc.py
 b/mypy/stubgenc.py
+@@ -466,6 +466,9 @@ def is_skipped_attribute(self, attr: str) -> bool:
+ "__module__",
+ "__weakref__",
+ "__annotations__",
++"__firstlineno__",
++"__static_attributes__",
++"__annotate__",
+ )
+ or attr in self.IGNORED_DUNDERS
+ or is_pybind_skipped_attribute(attr)  # For pickling

diff --git a/dev-python/mypy/mypy-1.10.1.ebuild 
b/dev-python/mypy/mypy-1.10.1.ebuild
index 2f0a69442d64..70f03443e40a 100644
--- a/dev-python/mypy/mypy-1.10.1.ebuild
+++ b/dev-python/mypy/mypy-1.10.1.ebuild
@@ -5,9 +5,9 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
-inherit distutils-r1 multiprocessing
+inherit distutils-r1
 
 DESCRIPTION="Optional static typing for Python"
 HOMEPAGE="
@@ -51,6 +51,11 @@ BDEPEND="
 EPYTEST_XDIST=1
 distutils_enable_tests pytest
 
+PATCHES=(
+   # https://github.com/python/mypy/pull/17290
+   "${FILESDIR}/${P}-py313.patch"
+)
+
 # frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
 # but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
 # test files (https://github.com/mypyc/mypyc/issues/1014)
@@ -58,6 +63,11 @@ export CCACHE_DISABLE=1
 
 src_compile() {
local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   case ${EPYTHON} in
+   python3.13)
+   # https://github.com/mypyc/mypyc/issues/1056
+   MYPY_USE_MYPYC=0
+   esac
distutils-r1_src_compile
 }
 
@@ -87,6 +97,11 @@ python_test() {

mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined
)
;;
+   python3.13)
+   EPYTEST_DESELECT+=(
+   # https://github.com/mypyc/mypyc/issues/1056
+   mypyc/test
+   )
esac
 
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/, dev-python/mypy/files/

2024-07-09 Thread Michał Górny
commit: a58394b7c687a4ae8b16f5a967d441b955478c3e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul  9 19:07:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul  9 19:29:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58394b7

dev-python/mypy: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/files/mypy-1.10.1-py313.patch | 128 ++
 dev-python/mypy/mypy-1.10.1.ebuild|   7 +-
 2 files changed, 134 insertions(+), 1 deletion(-)

diff --git a/dev-python/mypy/files/mypy-1.10.1-py313.patch 
b/dev-python/mypy/files/mypy-1.10.1-py313.patch
index d98bc079cb52..5b9932852e19 100644
--- a/dev-python/mypy/files/mypy-1.10.1-py313.patch
+++ b/dev-python/mypy/files/mypy-1.10.1-py313.patch
@@ -23,3 +23,131 @@ index 29b2636d39cc..7e3ef49c6e9a 100755
  )
  or attr in self.IGNORED_DUNDERS
  or is_pybind_skipped_attribute(attr)  # For pickling
+From 071e3f5f4685470f55dab7fc474e9f89a8e49fb9 Mon Sep 17 00:00:00 2001
+From: hauntsaninja 
+Date: Fri, 17 May 2024 18:49:27 -0400
+Subject: [PATCH] stubtest: changes for py313
+
+Technically it feels like we should be able to put the new dunders on
+`type` or something, but that wasn't enough to make false positives go
+away. But also we might not want to do that because it only applies to
+pure Python types
+---
+ mypy/stubtest.py | 6 ++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/mypy/stubtest.py b/mypy/stubtest.py
+index dd43c472d67f..d78b71715159 100644
+--- a/mypy/stubtest.py
 b/mypy/stubtest.py
+@@ -634,6 +634,10 @@ def strip_prefix(s: str, prefix: str) -> str:
+ if strip_prefix(stub_arg.variable.name, "__") == runtime_arg.name:
+ return
+ 
++nonspecific_names = {"object", "args"}
++if runtime_arg.name in nonspecific_names:
++return
++
+ def names_approx_match(a: str, b: str) -> bool:
+ a = a.strip("_")
+ b = b.strip("_")
+@@ -1455,6 +1459,8 @@ def verify_typealias(
+ "__getattr__",  # resulting behaviour might be typed explicitly
+ "__setattr__",  # defining this on a class can cause worse type 
checking
+ "__vectorcalloffset__",  # undocumented implementation detail of the 
vectorcall protocol
++"__firstlineno__",
++"__static_attributes__",
+ # isinstance/issubclass hooks that type-checkers don't usually care 
about
+ "__instancecheck__",
+ "__subclasshook__",
+diff --git a/mypy/plugins/dataclasses.py b/mypy/plugins/dataclasses.py
+index dd2eceab217f..edfc6840fc37 100644
+--- a/mypy/plugins/dataclasses.py
 b/mypy/plugins/dataclasses.py
+@@ -385,6 +385,9 @@ def transform(self) -> bool:
+ 
+ self._add_dataclass_fields_magic_attribute()
+ self._add_internal_replace_method(attributes)
++if self._api.options.python_version >= (3, 13):
++self._add_dunder_replace(attributes)
++
+ if "__post_init__" in info.names:
+ self._add_internal_post_init_method(attributes)
+ 
+@@ -395,6 +398,18 @@ def transform(self) -> bool:
+ 
+ return True
+ 
++def _add_dunder_replace(self, attributes: list[DataclassAttribute]) -> 
None:
++"""Add a `__replace__` method to the class, which is used to replace 
attributes in the `copy` module."""
++args = [attr.to_argument(self._cls.info, of="replace") for attr in 
attributes]
++type_vars = [tv for tv in self._cls.type_vars]
++add_method_to_class(
++self._api,
++self._cls,
++"__replace__",
++args=args,
++return_type=Instance(self._cls.info, type_vars),
++)
++
+ def _add_internal_replace_method(self, attributes: 
list[DataclassAttribute]) -> None:
+ """
+ Stashes the signature of 'dataclasses.replace(...)' for this specific 
dataclass
+From 160a9c767324460e916978d49f8d770738572119 Mon Sep 17 00:00:00 2001
+From: hauntsaninja 
+Date: Fri, 17 May 2024 18:23:01 -0400
+Subject: [PATCH 1/2] Support namedtuple.__replace__ in Python 3.13
+
+---
+ mypy/semanal_namedtuple.py | 6 ++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/mypy/semanal_namedtuple.py b/mypy/semanal_namedtuple.py
+index 9a0be9d9c14c..bdd633a60635 100644
+--- a/mypy/semanal_namedtuple.py
 b/mypy/semanal_namedtuple.py
+@@ -599,6 +599,12 @@ def add_method(
+ ret=selftype,
+ args=[Argument(var, var.type, EllipsisExpr(), ARG_NAMED_OPT) for 
var in vars],
+ )
++if self.options.python_version >= (3, 13):
++add_method(
++"__replace__",
++ret=selftype,
++args=[Argument(var, var.type, EllipsisExpr(), ARG_NAMED_OPT) 
for var in vars],
++)
+ 
+ def make_init_arg(var: Var) -> Argument:
+ default = default_items.get(var.name, None)
+
+From 9fcaedb9f757595486ed231dbdb9433151ec669d Mon Sep 17 00:00:00 2001
+F

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/, profiles/arch/powerpc/ppc32/

2024-06-29 Thread Arthur Zamarin
commit: e1fb714777d603713044e3757fe96d313698fc85
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun 29 14:38:52 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun 29 14:40:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fb7147

dev-python/mypy: unkeyword 1.10.1 for many arches

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild   | 2 +-
 dev-python/mypy/mypy-1.10.1.ebuild   | 2 +-
 profiles/arch/powerpc/ppc32/package.use.mask | 4 
 3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index c67b18b905ea..2db7b7b8d663 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594

diff --git a/dev-python/mypy/mypy-1.10.1.ebuild 
b/dev-python/mypy/mypy-1.10.1.ebuild
index 92b997a47608..2f0a69442d64 100644
--- a/dev-python/mypy/mypy-1.10.1.ebuild
+++ b/dev-python/mypy/mypy-1.10.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594

diff --git a/profiles/arch/powerpc/ppc32/package.use.mask 
b/profiles/arch/powerpc/ppc32/package.use.mask
index 3ffa4d7d7592..04e24221802b 100644
--- a/profiles/arch/powerpc/ppc32/package.use.mask
+++ b/profiles/arch/powerpc/ppc32/package.use.mask
@@ -13,10 +13,6 @@ sys-devel/clang-runtime openmp
 # Fails tests, potential false negatives #911402
 app-antivirus/clamav system-mspack
 
-# Sam James  (2024-01-17)
-# The generated code is too large and it takes ages to build, bug #922249.
-dev-python/mypy native-extensions
-
 # Marek Szuba  (2024-04-24)
 # Sam James  (2024-01-05)
 # sys-apps/keyutils not stable here, because of test failures. bug #636252



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-06-25 Thread Michał Górny
commit: 0407db3a9fa09440b7f4bb3b9b7be4eccfa412cc
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 25 03:27:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 25 08:01:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0407db3a

dev-python/mypy: Bump to 1.10.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 +
 dev-python/mypy/mypy-1.10.1.ebuild | 112 +
 2 files changed, 113 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 93abb4a0dad8..e9781fe5c763 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1 +1,2 @@
 DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B 
ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd
 SHA512 
c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66
+DIST mypy-1.10.1.gh.tar.gz 3062383 BLAKE2B 
326fb33e42ad8920a235e510b3d39663f333dc46d0dd3ffc59f4604e9a4f29f0be95f73bac42166aae00b53987d6a2a54446f1f58033dce389c43044dbaa9cdd
 SHA512 
10d29ae145d71911dc7c9b4538371bf1caa64f333984ab3a4cbf9561d7c4e752c68380496489f56d0941f143d6684d84d28f157be578d6f55f1e81d3d47b204c

diff --git a/dev-python/mypy/mypy-1.10.1.ebuild 
b/dev-python/mypy/mypy-1.10.1.ebuild
new file mode 100644
index ..92b997a47608
--- /dev/null
+++ b/dev-python/mypy/mypy-1.10.1.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   # TODO
+   mypy/test/meta/test_parse_data.py
+   mypy/test/meta/test_update_data.py
+   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
+   )
+   case ${EPYTHON} in
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # more assertions, sigh
+   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues
+   
mypyc/test/test_run.py::TestRun::run-i64.te

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-06-14 Thread Michał Górny
commit: 36272aa317344639a746ee26079f3442c3a517bb
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 14 12:10:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 14 12:18:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36272aa3

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 -
 dev-python/mypy/mypy-1.9.0.ebuild | 112 --
 2 files changed, 113 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 07f452a7a8ed..93abb4a0dad8 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1 @@
 DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B 
ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd
 SHA512 
c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66
-DIST mypy-1.9.0.gh.tar.gz 3029335 BLAKE2B 
5329a95e5ac52933413a91bec2c8bd728451508b7ead880c7c4542bbe5d4cd4d2155c6d372d31a653af9a913de51d8e35d44c1dde193787ce8eaedd8d64d682d
 SHA512 
aaa975b97e72f00a384a38fee190e39c6469b062a7083c76bb94bb7058ed38f713f65b96bb36a871a430633cab424a0f11e995868f867e2f7a13c4754ed96c89

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
deleted file mode 100644
index b9f21a0e93c7..
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="+native-extensions"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.10)
-"
-BDEPEND="
-   native-extensions? (
-   ${RDEPEND}
-   dev-python/types-psutil[${PYTHON_USEDEP}]
-   dev-python/types-setuptools[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
-   )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
-# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
-# test files (https://github.com/mypyc/mypyc/issues/1014)
-export CCACHE_DISABLE=1
-
-src_compile() {
-   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
-   distutils-r1_src_compile
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   # known broken with assertions enabled
-   # https://github.com/python/mypy/issues/16043
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
-   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
-   # these assume that types-docutils are not installed
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
-   # TODO
-   mypy/test/meta/test_parse_data.py
-   mypy/test/meta/test_update_data.py
-   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
-   )
-   case ${EPYTHON} in
-   python3.12)
-   EPYTEST_DESELECT+=(
-   # more assertions, sigh
-   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64Erro

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-05-11 Thread Arthur Zamarin
commit: 783dff8ce45f404d73f05fb37aa89698567ff601
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 11:06:34 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 11:06:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783dff8c

dev-python/mypy: Stabilize 1.10.0 ppc64, #931732

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index 5caf5ecb2eb3..ffafd2cc7c54 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-05-11 Thread Arthur Zamarin
commit: 0c02f90b66f098ab9cfbead5cc97295fef4af6b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 10:22:40 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 10:22:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c02f90b

dev-python/mypy: Stabilize 1.10.0 amd64, #931732

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index 779e9148894a..5caf5ecb2eb3 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-05-11 Thread Arthur Zamarin
commit: fe4fc27ed272f50099d09f467da1303a70af2824
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 09:49:06 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 09:49:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4fc27e

dev-python/mypy: Stabilize 1.10.0 x86, #931732

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index 63d4f9b73cce..779e9148894a 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-05-11 Thread Arthur Zamarin
commit: 74b1f5cda1cf7b68f7d06613d5520caea20e6e42
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 09:49:05 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 09:49:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b1f5cd

dev-python/mypy: Stabilize 1.10.0 ppc, #931732

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index b19383888b1c..63d4f9b73cce 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-05-11 Thread Arthur Zamarin
commit: 4595bcb32a49eb8c870328b863c6d97b242e3e42
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 09:49:04 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 09:49:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4595bcb3

dev-python/mypy: Stabilize 1.10.0 arm64, #931732

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index 8585bbb4dbbb..b19383888b1c 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-05-11 Thread Arthur Zamarin
commit: 41a7313f2c430d299638212a28a12e9fd1ed5651
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 07:52:48 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 07:52:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a7313f

dev-python/mypy: Stabilize 1.10.0 arm, #931732

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
index 92b997a47608..8585bbb4dbbb 100644
--- a/dev-python/mypy/mypy-1.10.0.ebuild
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-04-29 Thread Michał Górny
commit: aa71bde45baacad68595d5abda0dd323e7f9bd21
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Apr 30 03:49:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Apr 30 04:34:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa71bde4

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 -
 dev-python/mypy/mypy-1.8.0.ebuild | 105 --
 2 files changed, 106 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index cfc08907a934..07f452a7a8ed 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1,2 @@
 DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B 
ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd
 SHA512 
c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66
-DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 
81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4
 SHA512 
231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b
 DIST mypy-1.9.0.gh.tar.gz 3029335 BLAKE2B 
5329a95e5ac52933413a91bec2c8bd728451508b7ead880c7c4542bbe5d4cd4d2155c6d372d31a653af9a913de51d8e35d44c1dde193787ce8eaedd8d64d682d
 SHA512 
aaa975b97e72f00a384a38fee190e39c6469b062a7083c76bb94bb7058ed38f713f65b96bb36a871a430633cab424a0f11e995868f867e2f7a13c4754ed96c89

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
deleted file mode 100644
index eb18f01a0c40..
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="+native-extensions"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-"
-BDEPEND="
-   native-extensions? (
-   ${RDEPEND}
-   dev-python/types-psutil[${PYTHON_USEDEP}]
-   dev-python/types-setuptools[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
-# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
-# test files (https://github.com/mypyc/mypyc/issues/1014)
-export CCACHE_DISABLE=1
-
-src_compile() {
-   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
-   distutils-r1_src_compile
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   # known broken with assertions enabled
-   # https://github.com/python/mypy/issues/16043
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
-   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
-   # these assume that types-docutils are not installed
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   # more assertions, sigh
-   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-04-29 Thread Ionen Wolkens
commit: 4ccded7209870e66f471de1b62cd1d834773ea01
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Apr 29 21:11:00 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Apr 30 02:28:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ccded72

dev-python/mypy: Stabilize 1.9.0 hppa, #927604

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index 1818f0a748ac..b9f21a0e93c7 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-04-24 Thread Michał Górny
commit: dc5afb1b470f0d0cd0557dc74b0935685f2ad33f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 25 03:49:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 25 03:49:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5afb1b

dev-python/mypy: Bump to 1.10.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest   |   1 +
 dev-python/mypy/mypy-1.10.0.ebuild | 112 +
 2 files changed, 113 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 4a622eae1c58..cfc08907a934 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
+DIST mypy-1.10.0.gh.tar.gz 3062151 BLAKE2B 
ddc7354b2b62247387fd04b309c50d4ffa5c1b8af58873cc8787bd17c04069b528850bfb586925aa7df6634a65af6a1e951e4d6036d5bd0e688b8608980510bd
 SHA512 
c936c299d9d4b6911505ef7b7df6f8d7344bd199a2d654e66467291f6e6ba4432dfa7aed5a504e6ec9518d9d53ac85f771e7b31dc6a72e06e79c443547bc2b66
 DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 
81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4
 SHA512 
231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b
 DIST mypy-1.9.0.gh.tar.gz 3029335 BLAKE2B 
5329a95e5ac52933413a91bec2c8bd728451508b7ead880c7c4542bbe5d4cd4d2155c6d372d31a653af9a913de51d8e35d44c1dde193787ce8eaedd8d64d682d
 SHA512 
aaa975b97e72f00a384a38fee190e39c6469b062a7083c76bb94bb7058ed38f713f65b96bb36a871a430633cab424a0f11e995868f867e2f7a13c4754ed96c89

diff --git a/dev-python/mypy/mypy-1.10.0.ebuild 
b/dev-python/mypy/mypy-1.10.0.ebuild
new file mode 100644
index ..92b997a47608
--- /dev/null
+++ b/dev-python/mypy/mypy-1.10.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   # TODO
+   mypy/test/meta/test_parse_data.py
+   mypy/test/meta/test_update_data.py
+   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
+   )
+   case ${EPYTHON} in
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # more assertions, sigh
+   
mypyc/test/test_run.py::T

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-23 Thread Sam James
commit: d14badba72b3ec770ac1812b602d6d0f4600579b
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 15:43:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 15:43:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14badba

dev-python/mypy: Stabilize 1.9.0 x86, #927604

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index 26b6b5188ddf..793e76ccc5db 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-23 Thread Sam James
commit: c62101621b29fa10874645d94e33883ac2770e5b
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 13:38:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 13:38:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6210162

dev-python/mypy: Stabilize 1.9.0 ppc, #927604

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index 232d50016f45..e952fa425a45 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-23 Thread Sam James
commit: 16eb31c9cb469da9c1e2e1a04b1afaf0a8f311f1
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 13:38:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 13:38:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16eb31c9

dev-python/mypy: Stabilize 1.9.0 arm64, #927604

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index a0dcdfb1b894..26b6b5188ddf 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-23 Thread Sam James
commit: b0dfd48733ef343c5e51950801a15cc80e9fdc00
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 13:38:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 13:38:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0dfd487

dev-python/mypy: Stabilize 1.9.0 ppc64, #927604

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index e952fa425a45..a0dcdfb1b894 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-23 Thread Michał Górny
commit: bd505046acd5970ba8a05fdcfe7e31120ca7d834
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 11:52:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 11:52:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd505046

dev-python/mypy: Stabilize 1.9.0 arm, #927604

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index a8de12124e82..232d50016f45 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-23 Thread Michał Górny
commit: 469d0bd230fa88c7e1d711d46cdb5bb37e47ff6b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 10:45:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 10:45:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469d0bd2

dev-python/mypy: Stabilize 1.9.0 amd64, #927604

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
index de2d9546e36e..a8de12124e82 100644
--- a/dev-python/mypy/mypy-1.9.0.ebuild
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-03-08 Thread Michał Górny
commit: a684d87f44bb0694546a93961fba06bf7d6678fc
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  9 05:23:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  9 07:18:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a684d87f

dev-python/mypy: Bump to 1.9.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 +
 dev-python/mypy/mypy-1.9.0.ebuild | 112 ++
 2 files changed, 113 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index e12f87c3fec7..4a622eae1c58 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1 +1,2 @@
 DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 
81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4
 SHA512 
231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b
+DIST mypy-1.9.0.gh.tar.gz 3029335 BLAKE2B 
5329a95e5ac52933413a91bec2c8bd728451508b7ead880c7c4542bbe5d4cd4d2155c6d372d31a653af9a913de51d8e35d44c1dde193787ce8eaedd8d64d682d
 SHA512 
aaa975b97e72f00a384a38fee190e39c6469b062a7083c76bb94bb7058ed38f713f65b96bb36a871a430633cab424a0f11e995868f867e2f7a13c4754ed96c89

diff --git a/dev-python/mypy/mypy-1.9.0.ebuild 
b/dev-python/mypy/mypy-1.9.0.ebuild
new file mode 100644
index ..de2d9546e36e
--- /dev/null
+++ b/dev-python/mypy/mypy-1.9.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   # TODO
+   mypy/test/meta/test_parse_data.py
+   mypy/test/meta/test_update_data.py
+   
mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects
+   )
+   case ${EPYTHON} in
+   python3.12)
+   EPYTEST_DESELECT+=(
+   # more assertions, sigh
+   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues
+   
mypyc/test/test_run.py::TestRun::run-i64.test::test

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-23 Thread Michał Górny
commit: 087d2856be836752f3cd9e8672f493a6ef102afb
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 24 05:44:49 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 24 06:32:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087d2856

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   2 -
 dev-python/mypy/mypy-1.7.0.ebuild | 105 --
 dev-python/mypy/mypy-1.7.1.ebuild | 105 --
 3 files changed, 212 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index faeb4240ff7b..e12f87c3fec7 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1 @@
-DIST mypy-1.7.0.gh.tar.gz 3001996 BLAKE2B 
af29475dc4a24d75700144b8b2643de65d88d50d561ba6bdb0d64941dc19a2943829ee93f25ece679d213833bf7a68814c5aa83ec13eac3f22074356b1c47e1c
 SHA512 
e8ba6b0897327e8a0718a0c46ed16ce81bf677e3084ca00ea0762215d79a2b52fe84329121cff257b575d13288621b98c550b9915bd1afcfa3c13d43a2087b23
-DIST mypy-1.7.1.gh.tar.gz 3004203 BLAKE2B 
5a61899e2deb9fd7dfd8634bfa269f19497fec6d601337d404a5106369650c5da0d6989acf5c4ed584d12b1d0e763e684a6650800cd2fc00f99f9a336f86e703
 SHA512 
07c047a4733c5d44b9e32cc5afa0b7dfa5719b3128cf52f68e5492a9680b09319bb1722a2080a4f93bd191c6504667985467a6ac0e7bef5389c38290879581c5
 DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 
81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4
 SHA512 
231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
deleted file mode 100644
index d3b0db6376a0..
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="+native-extensions"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-"
-BDEPEND="
-   native-extensions? (
-   ${RDEPEND}
-   dev-python/types-psutil[${PYTHON_USEDEP}]
-   dev-python/types-setuptools[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
-# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
-# test files (https://github.com/mypyc/mypyc/issues/1014)
-export CCACHE_DISABLE=1
-
-src_compile() {
-   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
-   distutils-r1_src_compile
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   # known broken with assertions enabled
-   # https://github.com/python/mypy/issues/16043
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
-   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
-   # these assume that types-docutils are not installed
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
-   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   # more assertions, sigh
-   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
-   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-22 Thread Ionen Wolkens
commit: 69956174da612598fc3f84c88d438194bd027d13
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Jan 22 21:29:58 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jan 23 05:05:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69956174

dev-python/mypy: Stabilize 1.8.0 ppc, #921483

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index d6069b5ef019..eb18f01a0c40 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-22 Thread Sam James
commit: 0cb843392110840a1ca5c56dd05e822ebf32536d
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 23 04:38:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 23 04:38:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb84339

dev-python/mypy: Stabilize 1.8.0 hppa, #921483

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index 652f69cdb391..d6069b5ef019 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-06 Thread Sam James
commit: f0a508e98abd521e4e86e99dca593558f2a08265
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  6 11:07:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  6 11:07:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a508e9

dev-python/mypy: Stabilize 1.8.0 ppc64, #921483

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index 84346a9533b4..652f69cdb391 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-06 Thread Michał Górny
commit: 59ee7ff23c3228f5f2a7717d74e579751859faf5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 10:52:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 10:52:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ee7ff2

dev-python/mypy: Stabilize 1.8.0 arm64, #921483

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index 7660b59f523f..84346a9533b4 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-06 Thread Michał Górny
commit: 75e0179862027ae60b4188efecff58aadd96c8dc
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 10:52:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 10:52:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e01798

dev-python/mypy: Stabilize 1.8.0 sparc, #921483

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index 212475aa8089..7660b59f523f 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-06 Thread Michał Górny
commit: 620a785e72a517cfd4d2cc2e7bae4ac8c166e42a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 10:16:32 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 10:16:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=620a785e

dev-python/mypy: Stabilize 1.8.0 arm, #921483

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index ca84dc5abc20..212475aa8089 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-06 Thread Michał Górny
commit: 4b82523d739dc3efdee407d9f70e0d82a3773a65
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 09:59:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 09:59:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b82523d

dev-python/mypy: Stabilize 1.8.0 x86, #921483

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index d06fd1587b20..ca84dc5abc20 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2024-01-06 Thread Michał Górny
commit: 9413536ab1c5c9885aff02e5f0613260ded8fb30
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 09:50:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 09:50:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9413536a

dev-python/mypy: Stabilize 1.8.0 amd64, #921483

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.8.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
index 7bbb2610993d..d06fd1587b20 100644
--- a/dev-python/mypy/mypy-1.8.0.ebuild
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-26 Thread Sam James
commit: 4bb33b42e7fc07ef0f7fa78a6904b519740375ed
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 26 16:36:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 26 16:36:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb33b42

dev-python/mypy: Stabilize 1.7.1 x86, #919533

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index 48384b383403..0e3f99d00de5 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-22 Thread Michał Górny
commit: 6e5cb4902716af0b9146f85d36f5e3f10875bfb4
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 22 06:59:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 22 08:30:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5cb490

dev-python/mypy: Bump to 1.8.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 +
 dev-python/mypy/mypy-1.8.0.ebuild | 105 ++
 2 files changed, 106 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 0fb7efb7cd54..faeb4240ff7b 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.7.0.gh.tar.gz 3001996 BLAKE2B 
af29475dc4a24d75700144b8b2643de65d88d50d561ba6bdb0d64941dc19a2943829ee93f25ece679d213833bf7a68814c5aa83ec13eac3f22074356b1c47e1c
 SHA512 
e8ba6b0897327e8a0718a0c46ed16ce81bf677e3084ca00ea0762215d79a2b52fe84329121cff257b575d13288621b98c550b9915bd1afcfa3c13d43a2087b23
 DIST mypy-1.7.1.gh.tar.gz 3004203 BLAKE2B 
5a61899e2deb9fd7dfd8634bfa269f19497fec6d601337d404a5106369650c5da0d6989acf5c4ed584d12b1d0e763e684a6650800cd2fc00f99f9a336f86e703
 SHA512 
07c047a4733c5d44b9e32cc5afa0b7dfa5719b3128cf52f68e5492a9680b09319bb1722a2080a4f93bd191c6504667985467a6ac0e7bef5389c38290879581c5
+DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 
81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4
 SHA512 
231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b

diff --git a/dev-python/mypy/mypy-1.8.0.ebuild 
b/dev-python/mypy/mypy-1.8.0.ebuild
new file mode 100644
index ..7bbb2610993d
--- /dev/null
+++ b/dev-python/mypy/mypy-1.8.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   native-extensions? (
+   ${RDEPEND}
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   # more assertions, sigh
+   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-09 Thread Sam James
commit: 3eb5373c9f761e63739cd9edbcbfb7c8f8c4588b
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  9 18:12:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  9 18:12:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb5373c

dev-python/mypy: Stabilize 1.7.1 ppc64, #919533

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index 4104272cc41e..4a08b3eff98f 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-09 Thread Michał Górny
commit: 032c68b7263254d44cad9a3bd7d6c2c282c53fa6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:58:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:58:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032c68b7

dev-python/mypy: Stabilize 1.7.1 amd64, #919533

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index e998546fd803..4104272cc41e 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-09 Thread Michał Górny
commit: d3df0aff51a7ab1425443f3e47011e163d735f1c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:37:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:37:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3df0aff

dev-python/mypy: Stabilize 1.7.1 arm64, #919533

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index 02dc66de0e11..e998546fd803 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-09 Thread Michał Górny
commit: 6921e0769f1ad6c40fc401896957598957ffd19f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:37:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:37:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6921e076

dev-python/mypy: Stabilize 1.7.1 sparc, #919533

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index 77193e38988e..02dc66de0e11 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-12-09 Thread Michał Górny
commit: 9784177db216fc1a2f9aa8c4c0298d37cd4084a8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:30:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:30:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9784177d

dev-python/mypy: Stabilize 1.7.1 arm, #919533

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index 7bbb2610993d..77193e38988e 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-28 Thread Michał Górny
commit: 85bb0a371c38a5e1f7ad183467844041c3cee7dc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 07:42:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 07:44:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bb0a37

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   3 --
 dev-python/mypy/mypy-1.5.1.ebuild |  60 -
 dev-python/mypy/mypy-1.6.0.ebuild |  97 --
 dev-python/mypy/mypy-1.6.1.ebuild | 107 --
 4 files changed, 267 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 6aa999513603..0fb7efb7cd54 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,5 +1,2 @@
-DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906
 SHA512 
2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed
-DIST mypy-1.6.0.gh.tar.gz 2923757 BLAKE2B 
15e0fe124b7024a3e89a8c32c13404f33bc56a3ff29375d006bfcaf9de359ea59025ba07e3726c7a4b402f4b7aca1256859585e1500891fb1e5f996b19dd499a
 SHA512 
245324a5ec8a98e18c31159c5cb907ce1b60323428942b9fd60909a3b117ae46eeb97792fb1f30562fa411edb6c9e903f87b5b232a4be1242abe28d88406f7c4
-DIST mypy-1.6.1.gh.tar.gz 2923973 BLAKE2B 
1abaaab0c4ca4daa4914d69196312e371d030b6f81616da66102c5fcf6ad55ed2a6a9d56f9a55d2b6ebeb055b40947ab042e7b8744960185f5343dd9f05f9f4f
 SHA512 
eac6b17dd418146c365a446e34c2cb403692a6ffa08b06a94c54accfbcedd441284c95894ef9f9b83e48df81edc35893b17163f6dba9f81fe7e9a8527401968b
 DIST mypy-1.7.0.gh.tar.gz 3001996 BLAKE2B 
af29475dc4a24d75700144b8b2643de65d88d50d561ba6bdb0d64941dc19a2943829ee93f25ece679d213833bf7a68814c5aa83ec13eac3f22074356b1c47e1c
 SHA512 
e8ba6b0897327e8a0718a0c46ed16ce81bf677e3084ca00ea0762215d79a2b52fe84329121cff257b575d13288621b98c550b9915bd1afcfa3c13d43a2087b23
 DIST mypy-1.7.1.gh.tar.gz 3004203 BLAKE2B 
5a61899e2deb9fd7dfd8634bfa269f19497fec6d601337d404a5106369650c5da0d6989acf5c4ed584d12b1d0e763e684a6650800cd2fc00f99f9a336f86e703
 SHA512 
07c047a4733c5d44b9e32cc5afa0b7dfa5719b3128cf52f68e5492a9680b09319bb1722a2080a4f93bd191c6504667985467a6ac0e7bef5389c38290879581c5

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
deleted file mode 100644
index 7a9d3c91109a..
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-"
-BDEPEND="
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-# this requires packaging a lot of type stubs
-export MYPY_USE_MYPYC=0
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   )
-   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
-   # fail with high COLUMNS values
-   local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)" --dist=worksteal
-}

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
deleted file mode 100644
index 8b73fd42a46d..
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-28 Thread Arthur Zamarin
commit: 2ed92ee4ee730a2493f63727b52045741af660b5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 29 06:36:09 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 29 06:36:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed92ee4

dev-python/mypy: Stabilize 1.7.0 ppc, #917716

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 8948976bf216..88bd59ef7fb4 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-28 Thread Arthur Zamarin
commit: 72e7ed8b0567a74f0870c4096fb8e74ba3d81fdc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 29 06:36:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 29 06:36:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e7ed8b

dev-python/mypy: Stabilize 1.7.0 ppc64, #917716

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 88bd59ef7fb4..d3b0db6376a0 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-24 Thread Michał Górny
commit: 6d03641a68947272956ecdbf538a23b2bfcb2a43
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Nov 24 20:14:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 06:15:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d03641a

dev-python/mypy: add missing build dependencies for native-extensions

It has to run mypy at build time, so all RDEPEND must also be BDEPEND
here. I thought I had originally added this...

This prevents building with e.g. different root or --buildpkgonly, where
RDEPEND isn't used at all (as an implementation detail, building and
installing will merge RDEPEND first, so people might not notice the
issue).

Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33970
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 1 +
 dev-python/mypy/mypy-1.6.1.ebuild | 1 +
 dev-python/mypy/mypy-1.7.0.ebuild | 1 +
 dev-python/mypy/mypy-1.7.1.ebuild | 1 +
 4 files changed, 4 insertions(+)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index 7d03cfe65dce..8b73fd42a46d 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -37,6 +37,7 @@ RDEPEND="
 "
 BDEPEND="
native-extensions? (
+   ${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)

diff --git a/dev-python/mypy/mypy-1.6.1.ebuild 
b/dev-python/mypy/mypy-1.6.1.ebuild
index 8f2e5cfa65db..6de2cb0c619b 100644
--- a/dev-python/mypy/mypy-1.6.1.ebuild
+++ b/dev-python/mypy/mypy-1.6.1.ebuild
@@ -37,6 +37,7 @@ RDEPEND="
 "
 BDEPEND="
native-extensions? (
+   ${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index bde4d1b90a80..8948976bf216 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -37,6 +37,7 @@ RDEPEND="
 "
 BDEPEND="
native-extensions? (
+   ${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
index 49d077bf8578..7bbb2610993d 100644
--- a/dev-python/mypy/mypy-1.7.1.ebuild
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -37,6 +37,7 @@ RDEPEND="
 "
 BDEPEND="
native-extensions? (
+   ${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-23 Thread Michał Górny
commit: f24d306f372fb4cda75713b6c668d25df1df97ff
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 24 03:46:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 24 03:46:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24d306f

dev-python/mypy: Bump to 1.7.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 +
 dev-python/mypy/mypy-1.7.1.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 5554f951f9a0..6aa999513603 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -2,3 +2,4 @@ DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a2
 DIST mypy-1.6.0.gh.tar.gz 2923757 BLAKE2B 
15e0fe124b7024a3e89a8c32c13404f33bc56a3ff29375d006bfcaf9de359ea59025ba07e3726c7a4b402f4b7aca1256859585e1500891fb1e5f996b19dd499a
 SHA512 
245324a5ec8a98e18c31159c5cb907ce1b60323428942b9fd60909a3b117ae46eeb97792fb1f30562fa411edb6c9e903f87b5b232a4be1242abe28d88406f7c4
 DIST mypy-1.6.1.gh.tar.gz 2923973 BLAKE2B 
1abaaab0c4ca4daa4914d69196312e371d030b6f81616da66102c5fcf6ad55ed2a6a9d56f9a55d2b6ebeb055b40947ab042e7b8744960185f5343dd9f05f9f4f
 SHA512 
eac6b17dd418146c365a446e34c2cb403692a6ffa08b06a94c54accfbcedd441284c95894ef9f9b83e48df81edc35893b17163f6dba9f81fe7e9a8527401968b
 DIST mypy-1.7.0.gh.tar.gz 3001996 BLAKE2B 
af29475dc4a24d75700144b8b2643de65d88d50d561ba6bdb0d64941dc19a2943829ee93f25ece679d213833bf7a68814c5aa83ec13eac3f22074356b1c47e1c
 SHA512 
e8ba6b0897327e8a0718a0c46ed16ce81bf677e3084ca00ea0762215d79a2b52fe84329121cff257b575d13288621b98c550b9915bd1afcfa3c13d43a2087b23
+DIST mypy-1.7.1.gh.tar.gz 3004203 BLAKE2B 
5a61899e2deb9fd7dfd8634bfa269f19497fec6d601337d404a5106369650c5da0d6989acf5c4ed584d12b1d0e763e684a6650800cd2fc00f99f9a336f86e703
 SHA512 
07c047a4733c5d44b9e32cc5afa0b7dfa5719b3128cf52f68e5492a9680b09319bb1722a2080a4f93bd191c6504667985467a6ac0e7bef5389c38290879581c5

diff --git a/dev-python/mypy/mypy-1.7.1.ebuild 
b/dev-python/mypy/mypy-1.7.1.ebuild
new file mode 100644
index ..49d077bf8578
--- /dev/null
+++ b/dev-python/mypy/mypy-1.7.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   native-extensions? (
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   )
+   if

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-22 Thread Arthur Zamarin
commit: 1f890585ef2e83ac5d92cc0b139332babc1962d0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 22 14:04:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 22 14:04:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f890585

dev-python/mypy: Stabilize 1.7.0 hppa, #917716

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 4f4bfb2fabe2..bde4d1b90a80 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-22 Thread Arthur Zamarin
commit: b05c4e735ae6e3038c93ee98a43d1506d264f58a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 22 13:11:08 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 22 13:11:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05c4e73

dev-python/mypy: Stabilize 1.7.0 amd64, #917716

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 9e5ac021e9c4..9570021c3fd6 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-22 Thread Arthur Zamarin
commit: 36207723ef61e0e63430dcec5623266df6d03616
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 22 13:11:09 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 22 13:11:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36207723

dev-python/mypy: Stabilize 1.7.0 x86, #917716

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 9570021c3fd6..4f4bfb2fabe2 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-22 Thread Sam James
commit: b8b397a5505aa9e9f5b31f29bb51b8f863d1e78b
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 22 12:02:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 22 12:02:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8b397a5

dev-python/mypy: Stabilize 1.7.0 arm, #917716

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index a5529886e798..9e5ac021e9c4 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-22 Thread Sam James
commit: 22acf5734c73b75c1000f13e818bd5a739eb40df
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 22 11:05:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 22 11:10:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22acf573

dev-python/mypy: Stabilize 1.7.0 sparc, #917716

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 0257d7ae935c..a5529886e798 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-22 Thread Michał Górny
commit: d79db4bbe2342166e024a409656ece02c7183c71
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 22 10:58:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 22 10:59:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79db4bb

dev-python/mypy: Stabilize 1.7.0 arm64, #917716

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
index 49d077bf8578..0257d7ae935c 100644
--- a/dev-python/mypy/mypy-1.7.0.ebuild
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-11 Thread Arthur Zamarin
commit: 7c80d098b477304a05cd1f37d605c575385b89f2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 11 20:44:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 11 20:44:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c80d098

dev-python/mypy: Stabilize 1.6.0 ppc64, #917195

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index b292c6ddfc6f..7d03cfe65dce 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-11 Thread Arthur Zamarin
commit: 4591db4088f626130c801fa06bcf73930dc3fd14
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 11 20:15:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 11 20:15:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4591db40

dev-python/mypy: Stabilize 1.6.0 x86, #917195

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index e979388ec708..b292c6ddfc6f 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-11 Thread Arthur Zamarin
commit: 8cbcce0029fe6889d722aa44f37662b2600c583d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 11 20:15:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 11 20:15:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cbcce00

dev-python/mypy: Stabilize 1.6.0 amd64, #917195

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index ec32c7078ccc..e979388ec708 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-11 Thread Sam James
commit: 5acd8f38027d762967726fa005fd30cf17572308
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 11 20:02:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 11 20:02:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5acd8f38

dev-python/mypy: Stabilize 1.6.0 arm, #917195

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index 0b70bdb70112..ec32c7078ccc 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-11-11 Thread Michał Górny
commit: 7da0b3daec86f6c86b0fd1c668f2cb8e6d149d16
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 09:14:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 10:36:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da0b3da

dev-python/mypy: Bump to 1.7.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 +
 dev-python/mypy/mypy-1.7.0.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 42c1c66461e9..5554f951f9a0 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1,4 @@
 DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906
 SHA512 
2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed
 DIST mypy-1.6.0.gh.tar.gz 2923757 BLAKE2B 
15e0fe124b7024a3e89a8c32c13404f33bc56a3ff29375d006bfcaf9de359ea59025ba07e3726c7a4b402f4b7aca1256859585e1500891fb1e5f996b19dd499a
 SHA512 
245324a5ec8a98e18c31159c5cb907ce1b60323428942b9fd60909a3b117ae46eeb97792fb1f30562fa411edb6c9e903f87b5b232a4be1242abe28d88406f7c4
 DIST mypy-1.6.1.gh.tar.gz 2923973 BLAKE2B 
1abaaab0c4ca4daa4914d69196312e371d030b6f81616da66102c5fcf6ad55ed2a6a9d56f9a55d2b6ebeb055b40947ab042e7b8744960185f5343dd9f05f9f4f
 SHA512 
eac6b17dd418146c365a446e34c2cb403692a6ffa08b06a94c54accfbcedd441284c95894ef9f9b83e48df81edc35893b17163f6dba9f81fe7e9a8527401968b
+DIST mypy-1.7.0.gh.tar.gz 3001996 BLAKE2B 
af29475dc4a24d75700144b8b2643de65d88d50d561ba6bdb0d64941dc19a2943829ee93f25ece679d213833bf7a68814c5aa83ec13eac3f22074356b1c47e1c
 SHA512 
e8ba6b0897327e8a0718a0c46ed16ce81bf677e3084ca00ea0762215d79a2b52fe84329121cff257b575d13288621b98c550b9915bd1afcfa3c13d43a2087b23

diff --git a/dev-python/mypy/mypy-1.7.0.ebuild 
b/dev-python/mypy/mypy-1.7.0.ebuild
new file mode 100644
index ..49d077bf8578
--- /dev/null
+++ b/dev-python/mypy/mypy-1.7.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   native-extensions? (
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   # these assume that types-docutils are not installed
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable
+   
mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-19 Thread Sam James
commit: 369e3c84f0dceb46c932e0ec1a40322189c818a1
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 19 21:04:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 21:05:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369e3c84

dev-python/mypy: re-drop obsolete test dependencies

Drop test deps (reapply a67f53f8cb4e50d9a20c4ab6112f61f371d10ae3) which got
lost in subsequent bumps (a17d5495a301a8cabb9481e8333919b313af6985 onwards).

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 3 ---
 dev-python/mypy/mypy-1.6.1.ebuild | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index b4dcd20e33f1..0b70bdb70112 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -46,9 +46,6 @@ BDEPEND="
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
 "
 

diff --git a/dev-python/mypy/mypy-1.6.1.ebuild 
b/dev-python/mypy/mypy-1.6.1.ebuild
index c459aac6a8e5..8f2e5cfa65db 100644
--- a/dev-python/mypy/mypy-1.6.1.ebuild
+++ b/dev-python/mypy/mypy-1.6.1.ebuild
@@ -46,9 +46,6 @@ BDEPEND="
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-18 Thread Michał Górny
commit: 53cf63f507b7e373768bb4df8a91f9a0e23a4d47
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 02:54:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 03:51:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53cf63f5

dev-python/mypy: Bump to 1.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |   1 +
 dev-python/mypy/mypy-1.6.1.ebuild | 109 ++
 2 files changed, 110 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index e6cbb3781940..42c1c66461e9 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906
 SHA512 
2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed
 DIST mypy-1.6.0.gh.tar.gz 2923757 BLAKE2B 
15e0fe124b7024a3e89a8c32c13404f33bc56a3ff29375d006bfcaf9de359ea59025ba07e3726c7a4b402f4b7aca1256859585e1500891fb1e5f996b19dd499a
 SHA512 
245324a5ec8a98e18c31159c5cb907ce1b60323428942b9fd60909a3b117ae46eeb97792fb1f30562fa411edb6c9e903f87b5b232a4be1242abe28d88406f7c4
+DIST mypy-1.6.1.gh.tar.gz 2923973 BLAKE2B 
1abaaab0c4ca4daa4914d69196312e371d030b6f81616da66102c5fcf6ad55ed2a6a9d56f9a55d2b6ebeb055b40947ab042e7b8744960185f5343dd9f05f9f4f
 SHA512 
eac6b17dd418146c365a446e34c2cb403692a6ffa08b06a94c54accfbcedd441284c95894ef9f9b83e48df81edc35893b17163f6dba9f81fe7e9a8527401968b

diff --git a/dev-python/mypy/mypy-1.6.1.ebuild 
b/dev-python/mypy/mypy-1.6.1.ebuild
new file mode 100644
index ..c459aac6a8e5
--- /dev/null
+++ b/dev-python/mypy/mypy-1.6.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   native-extensions? (
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files (https://github.com/mypyc/mypyc/issues/1014)
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   # more assertions, sigh
+   
mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64E

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-10 Thread Sam James
commit: e93923ada4b1fccd02135df68c514b97f3db5708
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 10 22:10:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 10 22:10:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93923ad

dev-python/mypy: add comment for ccache disabling

Bug: https://github.com/mypyc/mypyc/issues/1014
Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index 7259aa487598..b4dcd20e33f1 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -56,7 +56,7 @@ distutils_enable_tests pytest
 
 # frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
 # but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
-# test files
+# test files (https://github.com/mypyc/mypyc/issues/1014)
 export CCACHE_DISABLE=1
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-10 Thread Michał Górny
commit: a17d5495a301a8cabb9481e8333919b313af6985
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 18:13:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 20:47:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17d5495

dev-python/mypy: Bump to 1.6.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |  1 +
 dev-python/mypy/mypy-1.6.0.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 7dc1382b38bc..e6cbb3781940 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1 +1,2 @@
 DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906
 SHA512 
2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed
+DIST mypy-1.6.0.gh.tar.gz 2923757 BLAKE2B 
15e0fe124b7024a3e89a8c32c13404f33bc56a3ff29375d006bfcaf9de359ea59025ba07e3726c7a4b402f4b7aca1256859585e1500891fb1e5f996b19dd499a
 SHA512 
245324a5ec8a98e18c31159c5cb907ce1b60323428942b9fd60909a3b117ae46eeb97792fb1f30562fa411edb6c9e903f87b5b232a4be1242abe28d88406f7c4

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
new file mode 100644
index ..c01c106ab99f
--- /dev/null
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   )
+   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+   # fail with high COLUMNS values
+   local -x COLUMNS=80
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-10 Thread Michał Górny
commit: 88375f2b92ba6c710b1d3eef9210ef21f83ccd66
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Sep  4 03:51:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 20:47:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88375f2b

dev-python/mypy: add native extensions support

mypy can compile itself via mypyc, which requires that it fully pass
mypy typechecking; this means we need to have type stubs for its runtime
dependencies.

Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32598
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/metadata.xml  |  7 +++
 dev-python/mypy/mypy-1.6.0.ebuild | 41 ---
 2 files changed, 45 insertions(+), 3 deletions(-)

diff --git a/dev-python/mypy/metadata.xml b/dev-python/mypy/metadata.xml
index 01c4182eef50..4d450db3cd4d 100644
--- a/dev-python/mypy/metadata.xml
+++ b/dev-python/mypy/metadata.xml
@@ -12,4 +12,11 @@
https://github.com/python/mypy/issues
https://mypy.readthedocs.io/

+   
+   
+   Compiles native C extensions (speedups, instead of 
using Python
+   fallback code).
+   
+   
+
 

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index de2eae6aae16..7259aa487598 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..12} )
 
@@ -22,6 +23,7 @@ SRC_URI="
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="
@@ -34,19 +36,33 @@ RDEPEND="
' 3.{9..10})
 "
 BDEPEND="
+   native-extensions? (
+   dev-python/types-psutil[${PYTHON_USEDEP}]
+   dev-python/types-setuptools[${PYTHON_USEDEP}]
+   )
test? (
>=dev-python/attrs-18.0[${PYTHON_USEDEP}]
>=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
 "
 
 distutils_enable_tests pytest
 
-# this requires packaging a lot of type stubs
-export MYPY_USE_MYPYC=0
+# frustratingly, mypyc produces non-deterministic output. If ccache is enabled 
it will be a waste of time,
+# but simultaneously it might trash your system and fill up the cache with a 
giant wave of non-reproducible
+# test files
+export CCACHE_DISABLE=1
+
+src_compile() {
+   local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0)
+   distutils-r1_src_compile
+}
 
 python_test() {
local EPYTEST_DESELECT=(
@@ -60,5 +76,24 @@ python_test() {
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
# fail with high COLUMNS values
local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)" --dist=worksteal
+
+   # The tests depend on having in-source compiled extensions if you want 
to
+   # test those compiled extensions. Various crucial test dependencies 
aren't
+   # installed. Even pyproject.toml is needed because that's where pytest 
args
+   # are in. Hack them into the build directory and delete them afterwards.
+   # See: https://github.com/python/mypy/issues/16143
+   local -x MYPY_TEST_PREFIX="${S}"
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   cp -r "${S}"/{conftest.py,pyproject.toml} . || die
+
+   local failed=
+   nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal || failed=1
+
+   rm conftest.py pyproject.toml || die
+   # leftover test files
+   rm -r mypyc/lib-rt/build || die
+   rm mypyc/lib-rt/test_capi*.so || die
+   rm mypyc/external/googletest/make/*.[ao] || die
+
+   [[ ${failed} ]] && die "epytest failed with ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-10 Thread Michał Górny
commit: ca707ea606df294bf514b0dedc3dea4a94efa554
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 18:26:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 20:47:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca707ea6

dev-python/mypy: Deselect tests broken with assertions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.6.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/mypy/mypy-1.6.0.ebuild 
b/dev-python/mypy/mypy-1.6.0.ebuild
index c01c106ab99f..de2eae6aae16 100644
--- a/dev-python/mypy/mypy-1.6.0.ebuild
+++ b/dev-python/mypy/mypy-1.6.0.ebuild
@@ -52,6 +52,10 @@ python_test() {
local EPYTEST_DESELECT=(
# the majority of them require Internet (via pip)
mypy/test/testpep561.py
+   # known broken with assertions enabled
+   # https://github.com/python/mypy/issues/16043
+   
mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance
+   mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps
)
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
# fail with high COLUMNS values



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-10-05 Thread Sam James
commit: a67f53f8cb4e50d9a20c4ab6112f61f371d10ae3
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Oct  5 21:43:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 00:41:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67f53f8

dev-python/mypy: remove outdated test dependencies

- virtualenv was dropped alongside python2 support in upstream commit
  ed5a2a00cb2e30349614d9b5328f709c367ff1c2

- six was dropped in upstream commit
  a9f8df7cda032f637946bb2ea7a60f790f81350f

As far as I can tell, py was never used. It was added in
https://bugs.gentoo.org/729278 but 'py' used to be an internal pytest
component and is currently only used by pytest-forked, which depends on
it correctly, so it is not clear why mypy should care.

[sam: add Bug tag for completeness.]

Bug: https://bugs.gentoo.org/729278
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index cc6ca1914147..7a9d3c91109a 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -40,9 +40,6 @@ BDEPEND="
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Michał Górny
commit: 94bebaba75656beb0509f7982534ba8b2b20300b
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 11 16:40:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 11 16:40:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94bebaba

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest |  2 --
 dev-python/mypy/mypy-1.4.1-r1.ebuild | 64 
 dev-python/mypy/mypy-1.5.0.ebuild| 63 ---
 3 files changed, 129 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 5e584e657b83..7dc1382b38bc 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1 @@
-DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 
7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668
 SHA512 
8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951
-DIST mypy-1.5.0.gh.tar.gz 2901221 BLAKE2B 
c23e0a5a5fc91a107fd11c9b0d97b0c19c671eb3aec718f216e53074bb4cdca96884611cdfdefd91189b9860ad54d84fecb468448f2819f4432f93594b2ffbae
 SHA512 
2b82be7948d44ef8ec6592fc5756dee66df1ee363e2607796f69f76e3db96e421dab8ba2aea4db9e976f2b05314d97a031f1d197633df34a5667f4d1dabbd70f
 DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906
 SHA512 
2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
deleted file mode 100644
index 4126af917dbc..
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-"
-BDEPEND="
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
-   =dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-# this requires packaging a lot of type stubs
-export MYPY_USE_MYPYC=0
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   )
-   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
-   # fail with high COLUMNS values
-   local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)" --dist=worksteal
-}

diff --git a/dev-python/mypy/mypy-1.5.0.ebuild 
b/dev-python/mypy/mypy-1.5.0.ebuild
deleted file mode 100644
index 515523a5daef..
--- a/dev-python/mypy/mypy-1.5.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-4

[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: d694ee391c62c808b1b91ba0ab98cef46abab6a5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 15:16:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 15:16:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d694ee39

dev-python/mypy: Stabilize 1.5.1 ppc, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index 62fb6bd23d00..79857ad96df8 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: f92994c93e89b4bc4bbead667d09fac20693aebb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 15:16:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 15:16:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f92994c9

dev-python/mypy: Stabilize 1.5.1 ppc64, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index 79857ad96df8..cc6ca1914147 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: 2ce2f4e2947e14c941a1ab6f9ffbd75cc0f63d3e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 15:16:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 15:16:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce2f4e2

dev-python/mypy: Stabilize 1.5.1 x86, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index d89249b4ae32..62fb6bd23d00 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: ccadf60f46197485490aa63c32a3ae9bddc6ecd1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 15:11:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 15:11:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccadf60f

dev-python/mypy: Stabilize 1.5.1 hppa, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index e19e1ed0e1cc..d89249b4ae32 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: 52fb113c1cf4a00b2fa89b639f9e0c9f5e974df4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 13:04:08 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 13:04:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fb113c

dev-python/mypy: Stabilize 1.5.1 arm, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index 643300df45e3..e19e1ed0e1cc 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: e2437ef9a1399977b3f568a025fa16b1dfe73b71
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 12:44:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 12:44:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2437ef9

dev-python/mypy: Stabilize 1.5.1 sparc, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index 8bbc6af1a386..31e97fd2c4fc 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: 8c3d99587c3800f50ad5a06ad16f8166840573ba
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 12:44:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 12:44:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3d9958

dev-python/mypy: Stabilize 1.5.1 arm64, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index 31e97fd2c4fc..643300df45e3 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-09-11 Thread Arthur Zamarin
commit: 85a33fd0775dca98ef400cc288a8c744e2e86588
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 11 11:54:08 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 11 11:54:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a33fd0

dev-python/mypy: Stabilize 1.5.1 amd64, #913987

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
index 515523a5daef..8bbc6af1a386 100644
--- a/dev-python/mypy/mypy-1.5.1.ebuild
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-17 Thread Michał Górny
commit: 18a4726fc9a5986f578e29155b800627ca2188e6
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 17 07:55:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 17 08:36:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a4726f

dev-python/mypy: Bump to 1.5.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |  1 +
 dev-python/mypy/mypy-1.5.1.ebuild | 63 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index dedb38212b52..5e584e657b83 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 
7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668
 SHA512 
8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951
 DIST mypy-1.5.0.gh.tar.gz 2901221 BLAKE2B 
c23e0a5a5fc91a107fd11c9b0d97b0c19c671eb3aec718f216e53074bb4cdca96884611cdfdefd91189b9860ad54d84fecb468448f2819f4432f93594b2ffbae
 SHA512 
2b82be7948d44ef8ec6592fc5756dee66df1ee363e2607796f69f76e3db96e421dab8ba2aea4db9e976f2b05314d97a031f1d197633df34a5667f4d1dabbd70f
+DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B 
b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906
 SHA512 
2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed

diff --git a/dev-python/mypy/mypy-1.5.1.ebuild 
b/dev-python/mypy/mypy-1.5.1.ebuild
new file mode 100644
index ..515523a5daef
--- /dev/null
+++ b/dev-python/mypy/mypy-1.5.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   )
+   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+   # fail with high COLUMNS values
+   local -x COLUMNS=80
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-15 Thread Michał Górny
commit: b31ecfae0522ad4c7cc3ea2312551aa32c6555fd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 15 09:26:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 15 09:26:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b31ecfae

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest |  1 -
 dev-python/mypy/mypy-1.3.0-r1.ebuild | 66 
 2 files changed, 67 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index a1576a2cef7b..dedb38212b52 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1,2 @@
-DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 
0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138
 SHA512 
1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0
 DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 
7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668
 SHA512 
8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951
 DIST mypy-1.5.0.gh.tar.gz 2901221 BLAKE2B 
c23e0a5a5fc91a107fd11c9b0d97b0c19c671eb3aec718f216e53074bb4cdca96884611cdfdefd91189b9860ad54d84fecb468448f2819f4432f93594b2ffbae
 SHA512 
2b82be7948d44ef8ec6592fc5756dee66df1ee363e2607796f69f76e3db96e421dab8ba2aea4db9e976f2b05314d97a031f1d197633df34a5667f4d1dabbd70f

diff --git a/dev-python/mypy/mypy-1.3.0-r1.ebuild 
b/dev-python/mypy/mypy-1.3.0-r1.ebuild
deleted file mode 100644
index a0a4da4507a4..
--- a/dev-python/mypy/mypy-1.3.0-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' pypy3 python3_{8..10})
-"
-BDEPEND="
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
-   =dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs/source \
-   dev-python/furo
-distutils_enable_tests pytest
-
-# this requires packaging a lot of type stubs
-export MYPY_USE_MYPYC=0
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   )
-   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
-   # fail with high COLUMNS values
-   local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)" --dist=worksteal
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-14 Thread Sam James
commit: d6362f7fbf8e6d5d6757ff7ca296665c2564faa4
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 15 05:17:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 15 05:17:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6362f7f

dev-python/mypy: Stabilize 1.4.1-r1 ppc, #911767

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index 62ea8ea10564..4126af917dbc 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-12 Thread Sam James
commit: 439fa2cf04e0e9512a3dcb25aad752745c5f0df0
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 12 21:53:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 12 21:53:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=439fa2cf

dev-python/mypy: Stabilize 1.4.1-r1 hppa, #911767

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index 95dd47d9215f..62ea8ea10564 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-10 Thread Michał Górny
commit: 65246fea6c8fb6663fd7532ff7422e493461d6cf
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 11 05:33:57 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 11 05:47:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65246fea

dev-python/mypy: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/mypy-1.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.5.0.ebuild 
b/dev-python/mypy/mypy-1.5.0.ebuild
index 37bae41fb701..515523a5daef 100644
--- a/dev-python/mypy/mypy-1.5.0.ebuild
+++ b/dev-python/mypy/mypy-1.5.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 multiprocessing
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-10 Thread Michał Górny
commit: c0c6d39bc7ae39ba0cf6c2ee2f9359d219bbbfce
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 11 04:28:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 11 05:15:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c6d39b

dev-python/mypy: Bump to 1.5.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |  1 +
 dev-python/mypy/mypy-1.5.0.ebuild | 63 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 2f6212e4da8f..a1576a2cef7b 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 
0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138
 SHA512 
1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0
 DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 
7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668
 SHA512 
8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951
+DIST mypy-1.5.0.gh.tar.gz 2901221 BLAKE2B 
c23e0a5a5fc91a107fd11c9b0d97b0c19c671eb3aec718f216e53074bb4cdca96884611cdfdefd91189b9860ad54d84fecb468448f2819f4432f93594b2ffbae
 SHA512 
2b82be7948d44ef8ec6592fc5756dee66df1ee363e2607796f69f76e3db96e421dab8ba2aea4db9e976f2b05314d97a031f1d197633df34a5667f4d1dabbd70f

diff --git a/dev-python/mypy/mypy-1.5.0.ebuild 
b/dev-python/mypy/mypy-1.5.0.ebuild
new file mode 100644
index ..37bae41fb701
--- /dev/null
+++ b/dev-python/mypy/mypy-1.5.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   )
+   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+   # fail with high COLUMNS values
+   local -x COLUMNS=80
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-05 Thread Sam James
commit: a65e364e71cab9c9fc5eeb6c66aad0902b125f3d
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug  5 21:36:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug  5 21:36:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a65e364e

dev-python/mypy: Stabilize 1.4.1-r1 x86, #911767

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index 288f1bae3bbe..95dd47d9215f 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-05 Thread Sam James
commit: 76bae681b669cf9b52815064012c65f2a3dd1531
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug  5 21:36:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug  5 21:36:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76bae681

dev-python/mypy: Stabilize 1.4.1-r1 amd64, #911767

Signed-off-by: Sam James  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index 49f001ae8918..288f1bae3bbe 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-05 Thread Arthur Zamarin
commit: 892714362473b044ca45ab3f08a32d0eddef3e68
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 16:55:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 16:55:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89271436

dev-python/mypy: Stabilize 1.4.1-r1 arm, #911767

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index d88e9b2fab58..671cddd96291 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-05 Thread Arthur Zamarin
commit: a0f55ccc3075c6512cc66e762e6097e0a01d0e94
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 16:55:18 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 16:55:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f55ccc

dev-python/mypy: Stabilize 1.4.1-r1 ppc64, #911767

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index 671cddd96291..49f001ae8918 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-05 Thread Arthur Zamarin
commit: 45d4fd9d384daa9e687ec82577b4e33cade53ff2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 16:13:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 16:13:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45d4fd9d

dev-python/mypy: Stabilize 1.4.1-r1 sparc, #911767

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index f637f9e57cc4..d88e9b2fab58 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-08-05 Thread Arthur Zamarin
commit: 18c11ef37cbb3e2ad4bf01a31f1d35d3782eae77
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 15:45:48 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 15:45:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c11ef3

dev-python/mypy: Stabilize 1.4.1-r1 arm64, #911767

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/mypy/mypy-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mypy/mypy-1.4.1-r1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
index 196d68b07a9a..f637f9e57cc4 100644
--- a/dev-python/mypy/mypy-1.4.1-r1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 # stubgen collides with this package: https://bugs.gentoo.org/585594
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-07-05 Thread Michał Górny
commit: f743e9b7d66d86e464e21733b8f2fb7d8b655efa
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 07:10:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 07:57:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f743e9b7

dev-python/mypy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |  1 -
 dev-python/mypy/mypy-1.4.0.ebuild | 68 ---
 2 files changed, 69 deletions(-)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index e61556113be5..2f6212e4da8f 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,3 +1,2 @@
 DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 
0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138
 SHA512 
1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0
-DIST mypy-1.4.0.gh.tar.gz 2863445 BLAKE2B 
e6d700a464d6ddb2ef49fd0dadca2139e7b21ebb33753e5f4ec0a60f7cac623d853dcf02cb096397c52e35c39182a082ade11b57e2a7a116bdeb9a606f854a99
 SHA512 
69aa3babe77c6f7576d01f29e4b9cf456bfcf7689a82d5156967c04f85ff823b34907ae006db75f1accfa52a76b51d98de1a9d307c32e70a4130046c13087501
 DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 
7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668
 SHA512 
8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951

diff --git a/dev-python/mypy/mypy-1.4.0.ebuild 
b/dev-python/mypy/mypy-1.4.0.ebuild
deleted file mode 100644
index 7f68a1adc813..
--- a/dev-python/mypy/mypy-1.4.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 multiprocessing
-
-DESCRIPTION="Optional static typing for Python"
-HOMEPAGE="
-   https://www.mypy-lang.org/
-   https://github.com/python/mypy/
-   https://pypi.org/project/mypy/
-"
-SRC_URI="
-   https://github.com/python/mypy/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
-
-# stubgen collides with this package: https://bugs.gentoo.org/585594
-RDEPEND="
-   !dev-util/stubgen
-   >=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
-   =dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
-   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' pypy3 python3_{8..10})
-"
-BDEPEND="
-   test? (
-   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
-   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs/source \
-   dev-python/furo
-distutils_enable_tests pytest
-
-# this requires packaging a lot of type stubs
-export MYPY_USE_MYPYC=0
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # the majority of them require Internet (via pip)
-   mypy/test/testpep561.py
-   )
-   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
-   # fail with high COLUMNS values
-   local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-07-05 Thread Michał Górny
commit: 0f06763027621e967eae793363a05a2df25e2f90
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 07:10:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 07:57:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f067630

dev-python/mypy: Remove obsolete dev-python/typed-ast dep

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/{mypy-1.3.0.ebuild => mypy-1.3.0-r1.ebuild} | 6 ++
 dev-python/mypy/{mypy-1.4.1.ebuild => mypy-1.4.1-r1.ebuild} | 5 +
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/dev-python/mypy/mypy-1.3.0.ebuild 
b/dev-python/mypy/mypy-1.3.0-r1.ebuild
similarity index 90%
rename from dev-python/mypy/mypy-1.3.0.ebuild
rename to dev-python/mypy/mypy-1.3.0-r1.ebuild
index 9831a09d75a9..a0a4da4507a4 100644
--- a/dev-python/mypy/mypy-1.3.0.ebuild
+++ b/dev-python/mypy/mypy-1.3.0-r1.ebuild
@@ -27,8 +27,6 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc 
ppc64 ~riscv ~s390
 RDEPEND="
!dev-util/stubgen
>=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
-   =dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
>=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
@@ -40,11 +38,11 @@ BDEPEND="
>=dev-python/attrs-18.0[${PYTHON_USEDEP}]
>=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   =dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
>=dev-python/py-1.5.2[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
 "
@@ -64,5 +62,5 @@ python_test() {
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
# fail with high COLUMNS values
local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)"
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
 }

diff --git a/dev-python/mypy/mypy-1.4.1.ebuild 
b/dev-python/mypy/mypy-1.4.1-r1.ebuild
similarity index 90%
rename from dev-python/mypy/mypy-1.4.1.ebuild
rename to dev-python/mypy/mypy-1.4.1-r1.ebuild
index dc80689d5044..196d68b07a9a 100644
--- a/dev-python/mypy/mypy-1.4.1.ebuild
+++ b/dev-python/mypy/mypy-1.4.1-r1.ebuild
@@ -27,8 +27,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips 
~ppc ~ppc64 ~riscv
 RDEPEND="
!dev-util/stubgen
>=dev-python/psutil-4[${PYTHON_USEDEP}]
-   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
-   =dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
>=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
@@ -45,7 +43,6 @@ BDEPEND="
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
>=dev-python/py-1.5.2[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
-   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
)
 "
@@ -63,5 +60,5 @@ python_test() {
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
# fail with high COLUMNS values
local -x COLUMNS=80
-   epytest -n "$(makeopts_jobs)"
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-06-26 Thread Michał Górny
commit: afc7e075748f5f0886cf402570cec7b56e3f3c98
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 12:12:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 26 13:34:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc7e075

dev-python/mypy: Bump to 1.4.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |  1 +
 dev-python/mypy/mypy-1.4.1.ebuild | 67 +++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index c54aea05b607..e61556113be5 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,2 +1,3 @@
 DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 
0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138
 SHA512 
1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0
 DIST mypy-1.4.0.gh.tar.gz 2863445 BLAKE2B 
e6d700a464d6ddb2ef49fd0dadca2139e7b21ebb33753e5f4ec0a60f7cac623d853dcf02cb096397c52e35c39182a082ade11b57e2a7a116bdeb9a606f854a99
 SHA512 
69aa3babe77c6f7576d01f29e4b9cf456bfcf7689a82d5156967c04f85ff823b34907ae006db75f1accfa52a76b51d98de1a9d307c32e70a4130046c13087501
+DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 
7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668
 SHA512 
8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951

diff --git a/dev-python/mypy/mypy-1.4.1.ebuild 
b/dev-python/mypy/mypy-1.4.1.ebuild
new file mode 100644
index ..dc80689d5044
--- /dev/null
+++ b/dev-python/mypy/mypy-1.4.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+   =dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+"
+BDEPEND="
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   =dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   )
+   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+   # fail with high COLUMNS values
+   local -x COLUMNS=80
+   epytest -n "$(makeopts_jobs)"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/

2023-06-20 Thread Michał Górny
commit: 366b71898bf0ac4b317273d0fcf31e9152100055
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 21 03:36:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 21 04:14:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366b7189

dev-python/mypy: Bump to 1.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mypy/Manifest  |  1 +
 dev-python/mypy/mypy-1.4.0.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index be6ba912dd2c..c54aea05b607 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1 +1,2 @@
 DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 
0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138
 SHA512 
1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0
+DIST mypy-1.4.0.gh.tar.gz 2863445 BLAKE2B 
e6d700a464d6ddb2ef49fd0dadca2139e7b21ebb33753e5f4ec0a60f7cac623d853dcf02cb096397c52e35c39182a082ade11b57e2a7a116bdeb9a606f854a99
 SHA512 
69aa3babe77c6f7576d01f29e4b9cf456bfcf7689a82d5156967c04f85ff823b34907ae006db75f1accfa52a76b51d98de1a9d307c32e70a4130046c13087501

diff --git a/dev-python/mypy/mypy-1.4.0.ebuild 
b/dev-python/mypy/mypy-1.4.0.ebuild
new file mode 100644
index ..7f68a1adc813
--- /dev/null
+++ b/dev-python/mypy/mypy-1.4.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+   https://www.mypy-lang.org/
+   https://github.com/python/mypy/
+   https://pypi.org/project/mypy/
+"
+SRC_URI="
+   https://github.com/python/mypy/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+   !dev-util/stubgen
+   >=dev-python/psutil-4[${PYTHON_USEDEP}]
+   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+   =dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' pypy3 python3_{8..10})
+"
+BDEPEND="
+   test? (
+   >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+   >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs/source \
+   dev-python/furo
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # the majority of them require Internet (via pip)
+   mypy/test/testpep561.py
+   )
+   # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+   # fail with high COLUMNS values
+   local -x COLUMNS=80
+   epytest -n "$(makeopts_jobs)"
+}



  1   2   3   4   >