# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 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 # Note: replace toml with tomli on next version bump # https://github.com/python/mypy/pull/10824 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}]