public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/
Date: Mon, 14 Mar 2022 17:04:30 +0000 (UTC)	[thread overview]
Message-ID: <1647277465.0f8f411599918454d6a36e6b43245421d84d052c.mgorny@gentoo> (raw)

commit:     0f8f411599918454d6a36e6b43245421d84d052c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 16:05:57 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 17:04:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8f4115

dev-python/mypy: Bump to 0.940

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

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

diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 7dc76090bcc0..7fdec77494ad 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -2,3 +2,4 @@ DIST mypy-0.910.tar.gz 2551057 BLAKE2B a3c6939c8f0e2ea19a3a3f91031330df2fb25a93c
 DIST mypy-0.921.tar.gz 2730985 BLAKE2B cfb7b54165b961758891fcf225f1a7d6bd9c6a7b14e6bb6d8adb990ed047bc4983b5e82de6709d3b8db85a3914e1bae2be4fd36e878d37db7387ebe6e81daac1 SHA512 f592d440b45a1bbcab973aeb717ffc805164168f1369793067a46bd2884fedcb9f981bfadd3447c6801120042553a7a7110d8cfc4e1649241d3b8685dffef653
 DIST mypy-0.930.tar.gz 2777310 BLAKE2B 4681991993b04679d21c8f6bf8327a02eb628addc289ed22fbf06e4865ee9e60b90ab41a0d0b069d0a50924bf210816bdb87cff902d4424741f4e141f0957684 SHA512 f7f7ed762eb0f56b46a174c51c34423633d72b5046129617e456c41647705380b014c0c27bd0a104319e4872f2a7d7900a260bf6151d4419c95c93e4c01c6e9d
 DIST mypy-0.931.tar.gz 2779826 BLAKE2B 11986102c6bc498a23bae52002e6ac515fa03724eed867b5356e3fb9aaa9a6eb7e699b612ab81b99dac215119402beecc702421fa82d655913976889dd4cb833 SHA512 8a336ae2f784c8ff912fc6b7dd53ed106cf14f435cee65604de74b8d4d7ab39ad65af0646060ef78e958d5a51a1de090fad628461412f2eef9593a8c032aa87a
+DIST mypy-0.940.tar.gz 2700469 BLAKE2B 4ac13002c3752566ade30a720c4de56d600552221c42f930af54a68573e6b5eb10de90ce66e2cd42f9eb419d5d09e354e4bf2d09cbcf0d6b841ab0e6710d7058 SHA512 5131ea3fe8d96f12442c68dddf04261582a063dcdd031804276263949af9f9af967be3dd775868d289709987773e1911f33e1f43951389f93cabf91c771e271f

diff --git a/dev-python/mypy/mypy-0.940.ebuild b/dev-python/mypy/mypy-0.940.ebuild
new file mode 100644
index 000000000000..aa40a8f0ad7f
--- /dev/null
+++ b/dev-python/mypy/mypy-0.940.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="http://www.mypy-lang.org/"
+SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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/typed-ast-1.5.0[${PYTHON_USEDEP}]
+	>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
+	>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+	<dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
+	dev-python/tomli[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		>=dev-python/attrs-18.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/typed-ast-1.4.0[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# Fails with pytest-xdist 2.3.0
+		# https://github.com/python/mypy/issues/11019
+		mypy/test/teststubtest.py
+		# fails due to setuptools deprecation warnings
+		mypyc/test/test_run.py::TestRun::run-imports.test::testImports
+	)
+
+	[[ "${EPYTHON}" == "python3.10" ]] && EPYTEST_DESELECT+=(
+		# https://github.com/python/mypy/issues/11018
+		mypyc/test/test_commandline.py::TestCommandLine::testErrorOutput
+	)
+
+	# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+	# fail with high COLUMNS values
+	local -x COLUMNS=80
+	epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+}


             reply	other threads:[~2022-03-14 17:07 UTC|newest]

Thread overview: 310+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 17:04 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-23  6:16 [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/ Michał Górny
2024-10-23  6:16 Michał Górny
2024-10-20  3:11 Michał Górny
2024-10-15  7:00 Michał Górny
2024-09-14 14:07 Michał Górny
2024-09-14 13:48 Arthur Zamarin
2024-09-14 13:36 Arthur Zamarin
2024-09-14 13:22 Arthur Zamarin
2024-09-14 12:26 Arthur Zamarin
2024-08-25  2:36 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  8:33 Jakov Smolić
2024-07-31  5:52 Michał Górny
2024-07-20 13:27 Michał Górny
2024-07-19 19:56 Michał Górny
2024-07-10  7:05 Sam James
2024-06-25  8:01 Michał Górny
2024-06-14 12:19 Michał Górny
2024-06-14  5:32 Arthur Zamarin
2024-05-11 11:06 Arthur Zamarin
2024-05-11 10:22 Arthur Zamarin
2024-05-11  9:49 Arthur Zamarin
2024-05-11  9:49 Arthur Zamarin
2024-05-11  9:49 Arthur Zamarin
2024-05-11  7:52 Arthur Zamarin
2024-04-30  4:34 Michał Górny
2024-04-30  2:30 Ionen Wolkens
2024-04-25  4:43 Michał Górny
2024-03-23 15:44 Sam James
2024-03-23 13:39 Sam James
2024-03-23 13:39 Sam James
2024-03-23 13:39 Sam James
2024-03-23 11:53 Michał Górny
2024-03-23 10:45 Michał Górny
2024-03-09  7:18 Michał Górny
2024-01-24  6:33 Michał Górny
2024-01-23  5:07 Ionen Wolkens
2024-01-23  4:38 Sam James
2024-01-06 11:07 Sam James
2024-01-06 10:52 Michał Górny
2024-01-06 10:52 Michał Górny
2024-01-06 10:16 Michał Górny
2024-01-06  9:59 Michał Górny
2024-01-06  9:50 Michał Górny
2023-12-26 16:37 Sam James
2023-12-22  8:30 Michał Górny
2023-12-17 23:55 Ionen Wolkens
2023-12-09 18:12 Sam James
2023-12-09 14:58 Michał Górny
2023-12-09 14:37 Michał Górny
2023-12-09 14:37 Michał Górny
2023-12-09 14:30 Michał Górny
2023-11-29  7:44 Michał Górny
2023-11-29  6:36 Arthur Zamarin
2023-11-29  6:36 Arthur Zamarin
2023-11-25  6:15 Michał Górny
2023-11-24  4:34 Michał Górny
2023-11-22 14:04 Arthur Zamarin
2023-11-22 13:11 Arthur Zamarin
2023-11-22 13:11 Arthur Zamarin
2023-11-22 12:02 Sam James
2023-11-22 11:11 Sam James
2023-11-22 10:59 Michał Górny
2023-11-11 20:44 Arthur Zamarin
2023-11-11 20:17 Arthur Zamarin
2023-11-11 20:17 Arthur Zamarin
2023-11-11 20:02 Sam James
2023-11-11 10:36 Michał Górny
2023-10-19 21:05 Sam James
2023-10-19  4:00 Michał Górny
2023-10-10 22:10 Sam James
2023-10-10 20:47 Michał Górny
2023-10-10 20:47 Michał Górny
2023-10-10 20:47 Michał Górny
2023-10-06  0:42 Sam James
2023-09-11 16:52 Michał Górny
2023-09-11 15:17 Arthur Zamarin
2023-09-11 15:17 Arthur Zamarin
2023-09-11 15:17 Arthur Zamarin
2023-09-11 15:11 Arthur Zamarin
2023-09-11 13:04 Arthur Zamarin
2023-09-11 12:45 Arthur Zamarin
2023-09-11 12:45 Arthur Zamarin
2023-09-11 11:54 Arthur Zamarin
2023-08-17  8:36 Michał Górny
2023-08-15  9:32 Michał Górny
2023-08-15  5:18 Sam James
2023-08-12 21:53 Sam James
2023-08-11  5:48 Michał Górny
2023-08-11  5:15 Michał Górny
2023-08-05 21:36 Sam James
2023-08-05 21:36 Sam James
2023-08-05 16:55 Arthur Zamarin
2023-08-05 16:55 Arthur Zamarin
2023-08-05 16:13 Arthur Zamarin
2023-08-05 15:46 Arthur Zamarin
2023-07-05  7:58 Michał Górny
2023-07-05  7:58 Michał Górny
2023-06-26 13:34 Michał Górny
2023-06-21  4:14 Michał Górny
2023-06-18 17:21 Michał Górny
2023-06-18 16:08 Arthur Zamarin
2023-06-18 16:07 Arthur Zamarin
2023-06-18 15:45 Sam James
2023-06-18 15:15 Sam James
2023-06-18 15:14 Sam James
2023-06-18 15:14 Sam James
2023-06-18 15:14 Sam James
2023-06-18 14:47 Sam James
2023-05-12 10:43 Michał Górny
2023-05-11 17:58 Michał Górny
2023-05-09 18:57 Michał Górny
2023-05-09 13:27 Arthur Zamarin
2023-05-09 13:07 Sam James
2023-05-09  5:52 Arthur Zamarin
2023-05-09  5:52 Arthur Zamarin
2023-05-09  3:03 Arthur Zamarin
2023-05-09  3:03 Arthur Zamarin
2023-05-09  3:03 Arthur Zamarin
2023-05-09  3:03 Arthur Zamarin
2023-04-29 17:52 Michał Górny
2023-04-29 11:53 Arthur Zamarin
2023-04-08 12:26 Arthur Zamarin
2023-04-08 11:13 Arthur Zamarin
2023-04-08 10:20 Arthur Zamarin
2023-04-08  9:39 Arthur Zamarin
2023-04-08  8:42 Arthur Zamarin
2023-04-08  8:23 Arthur Zamarin
2023-04-08  8:22 Arthur Zamarin
2023-04-07  4:19 Michał Górny
2023-03-11 16:17 Michał Górny
2023-03-11 16:00 Sam James
2023-03-11 12:30 Arthur Zamarin
2023-03-11 10:27 Arthur Zamarin
2023-03-11  9:41 Arthur Zamarin
2023-03-11  8:34 Arthur Zamarin
2023-03-11  8:34 Arthur Zamarin
2023-03-11  8:10 Arthur Zamarin
2023-03-11  8:10 Arthur Zamarin
2023-03-07  7:08 Michał Górny
2023-02-28  5:34 Sam James
2023-02-17 18:51 Michał Górny
2022-12-17  7:20 Michał Górny
2022-12-17  3:17 Sam James
2022-12-16 21:55 Sam James
2022-12-16 21:13 Arthur Zamarin
2022-12-16 20:49 Arthur Zamarin
2022-12-16 20:46 Arthur Zamarin
2022-12-16 20:04 Arthur Zamarin
2022-12-16 20:04 Arthur Zamarin
2022-12-16 19:46 Arthur Zamarin
2022-11-15  7:27 Michał Górny
2022-11-08  8:56 Arthur Zamarin
2022-11-08  8:52 Arthur Zamarin
2022-11-08  5:55 Arthur Zamarin
2022-11-08  5:49 Sam James
2022-11-08  5:32 Sam James
2022-11-08  5:32 Arthur Zamarin
2022-11-08  5:25 Arthur Zamarin
2022-11-08  5:20 Arthur Zamarin
2022-11-08  5:20 Arthur Zamarin
2022-11-07 21:27 Andrew Ammerlaan
2022-11-04  8:16 Agostino Sarubbo
2022-11-04  0:07 Sam James
2022-11-03 22:04 Sam James
2022-11-03 21:01 Arthur Zamarin
2022-11-03 20:01 Arthur Zamarin
2022-11-03 19:57 Sam James
2022-11-03 19:27 Arthur Zamarin
2022-11-03 19:18 Arthur Zamarin
2022-10-03 19:55 Michał Górny
2022-09-27  2:03 Michał Górny
2022-08-27 18:15 Michał Górny
2022-08-27 18:07 Arthur Zamarin
2022-08-20  8:02 Agostino Sarubbo
2022-08-20  8:01 Agostino Sarubbo
2022-08-20  8:01 Agostino Sarubbo
2022-08-20  8:00 Agostino Sarubbo
2022-08-20  8:00 Agostino Sarubbo
2022-08-20  7:59 Agostino Sarubbo
2022-08-19  8:02 Arthur Zamarin
2022-07-30 11:19 Michał Górny
2022-07-30 10:59 Arthur Zamarin
2022-07-25 15:01 Agostino Sarubbo
2022-07-25 14:56 Agostino Sarubbo
2022-07-25  7:11 Agostino Sarubbo
2022-07-25  6:41 Sam James
2022-07-24 16:29 Sam James
2022-07-24 16:29 Sam James
2022-07-24 16:29 Sam James
2022-07-20  5:39 Michał Górny
2022-06-27 19:15 Arthur Zamarin
2022-06-06 19:01 Arthur Zamarin
2022-05-31 10:44 Jakov Smolić
2022-05-31  8:54 Agostino Sarubbo
2022-05-31  8:51 Agostino Sarubbo
2022-05-31  8:44 Jakov Smolić
2022-05-31  8:44 Jakov Smolić
2022-05-31  7:56 Jakov Smolić
2022-05-31  7:56 Jakov Smolić
2022-05-26  9:17 Michał Górny
2022-05-07  9:27 Arthur Zamarin
2022-05-07  9:27 Arthur Zamarin
2022-04-28  8:31 Michał Górny
2022-04-26 22:44 Sam James
2022-04-26 17:05 Arthur Zamarin
2022-04-26 17:05 Arthur Zamarin
2022-04-26 17:05 Arthur Zamarin
2022-04-26 17:05 Arthur Zamarin
2022-04-26 17:05 Arthur Zamarin
2022-04-18 18:22 Arthur Zamarin
2022-04-16  7:38 Sam James
2022-04-15 17:19 Arthur Zamarin
2022-03-25  0:02 Michał Górny
2022-03-14 21:00 Arthur Zamarin
2022-02-26 18:53 Sam James
2022-02-16 19:51 Arthur Zamarin
2022-02-16 19:50 Arthur Zamarin
2022-02-15 16:19 Sam James
2022-02-13 23:24 Jakov Smolić
2022-02-13 15:20 Sam James
2022-01-28 18:43 Arthur Zamarin
2022-01-28 18:43 Arthur Zamarin
2022-01-27 19:05 Sam James
2022-01-26 20:46 Arthur Zamarin
2022-01-26 20:40 Jakov Smolić
2022-01-26 20:01 Arthur Zamarin
2022-01-26 19:58 Arthur Zamarin
2022-01-07 18:09 Arthur Zamarin
2021-12-23  9:30 Michał Górny
2021-12-21 20:43 Arthur Zamarin
2021-12-07  8:40 Joshua Kinard
2021-11-17  8:00 Sam James
2021-11-02 13:18 Arthur Zamarin
2021-10-14  4:45 Sam James
2021-10-11  0:45 Sam James
2021-07-24 17:30 Michał Górny
2021-07-24 15:12 Sam James
2021-06-23  9:28 Michał Górny
2021-06-23  9:28 Michał Górny
2021-06-12 10:18 Michał Górny
2021-06-12  7:58 Michał Górny
2021-04-28 18:47 Sam James
2021-04-28 18:47 Sam James
2021-04-28 17:04 Sam James
2021-03-27  8:19 Michał Górny
2021-03-27  8:19 Michał Górny
2021-03-26 18:45 Sam James
2021-03-26 14:37 Michał Górny
2021-03-26  7:45 Agostino Sarubbo
2021-03-25 14:30 Sam James
2021-03-25 12:14 Michał Górny
2021-02-27 19:34 Sam James
2021-02-26 21:56 Sam James
2021-02-26 17:46 Sam James
2021-02-26 16:48 Sam James
2021-02-26 14:20 Sam James
2021-02-26 10:57 Agostino Sarubbo
2021-02-20 10:10 Michał Górny
2021-01-23  0:11 Michał Górny
2020-12-31  8:16 Sam James
2020-12-31  6:49 Sam James
2020-12-22 18:57 Sam James
2020-12-15 22:10 Sergei Trofimovich
2020-12-14  0:46 Sam James
2020-12-13  0:34 Sam James
2020-12-13  0:16 Sam James
2020-12-07  4:28 Matt Turner
2020-11-18 10:28 Michał Górny
2020-11-18  6:53 Agostino Sarubbo
2020-10-16 21:56 Sergei Trofimovich
2020-10-07 16:31 Louis Sautier
2020-09-19 16:34 Sam James
2020-09-18 15:30 Michał Górny
2020-08-22 11:26 Agostino Sarubbo
2020-07-29 10:20 Michał Górny
2020-06-24 11:44 Mike Auty
2020-06-23 10:24 Mike Auty
2020-06-22 17:55 Mike Auty
2020-06-21 14:50 Mike Auty
2020-03-25 17:44 Agostino Sarubbo
2020-03-25 16:12 Agostino Sarubbo
2020-01-23  7:02 Michał Górny
2020-01-05 22:23 Mike Auty
2020-01-05 21:15 Mike Auty
2019-11-29 22:37 Mike Auty
2019-11-29 20:52 Mike Auty
2019-10-27 12:45 Mike Auty
2019-05-11 21:49 Mike Auty
2019-04-05 14:04 Mike Auty
2019-02-28 10:11 Mike Auty
2019-02-26 23:08 Mike Auty
2018-09-22 10:13 Mike Auty
2018-06-03 21:12 Mike Auty
2018-04-22 15:07 Mike Auty
2018-04-22 15:07 Mike Auty
2018-03-11 18:12 Mike Auty
2016-10-16  1:53 Alex Brandt
2016-10-16  1:53 Alex Brandt
2016-09-03 14:44 Alex Brandt
2016-09-03 14:44 Alex Brandt
2016-07-24  1:19 Alex Brandt
2016-07-24  1:19 Alex Brandt
2016-06-18 19:00 Alex Brandt
2016-06-18 19:00 Alex Brandt
2016-06-05 20:01 Alex Brandt
2016-05-22 17:18 Alex Brandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647277465.0f8f411599918454d6a36e6b43245421d84d052c.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox