From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CB6913835D for ; Sat, 27 Mar 2021 08:19:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E2D8E07D7; Sat, 27 Mar 2021 08:19:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 871EEE07D7 for ; Sat, 27 Mar 2021 08:19:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD6D0335DBF for ; Sat, 27 Mar 2021 08:19:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16340633 for ; Sat, 27 Mar 2021 08:19:48 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1616833181.2f9f9c9dd66f7c0f63e4874426d4dbdabd04a4c6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mypy/mypy-0.812-r2.ebuild X-VCS-Directories: dev-python/mypy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2f9f9c9dd66f7c0f63e4874426d4dbdabd04a4c6 X-VCS-Branch: master Date: Sat, 27 Mar 2021 08:19:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: efbd71e8-97e7-4e21-af03-f1347769647e X-Archives-Hash: 3fcaeec396cc0d1be0179031f63e399d commit: 2f9f9c9dd66f7c0f63e4874426d4dbdabd04a4c6 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 27 07:58:33 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 27 08:19:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9f9c9d dev-python/mypy: Enable building with mypyc Trying to disable C extensions did not buy us anything, so let's start fresh. Signed-off-by: Michał Górny gentoo.org> dev-python/mypy/mypy-0.812-r2.ebuild | 61 ++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/dev-python/mypy/mypy-0.812-r2.ebuild b/dev-python/mypy/mypy-0.812-r2.ebuild new file mode 100644 index 00000000000..022dc34ce04 --- /dev/null +++ b/dev-python/mypy/mypy-0.812-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE="http://www.mypy-lang.org/" +TYPESHED_COMMIT="add4d92f050fb11d3901c6f0ee579a122d4a7a98" +SRC_URI=" + https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/python/typeshed/archive/${TYPESHED_COMMIT}.tar.gz + -> typeshed-${TYPESHED_COMMIT}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~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.7.4[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] +