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 E0CFC138334 for ; Thu, 28 Feb 2019 10:12:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B06F4E08F6; Thu, 28 Feb 2019 10:12:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 7107EE08F6 for ; Thu, 28 Feb 2019 10:12:01 +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 ABC88335C60 for ; Thu, 28 Feb 2019 10:11:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24DD954C for ; Thu, 28 Feb 2019 10:11:58 +0000 (UTC) From: "Mike Auty" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Auty" Message-ID: <1551348695.c35ef95eef6214bac3bb01975b684a5f02ebff81.ikelos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mypy/Manifest dev-python/mypy/mypy-0.670.ebuild X-VCS-Directories: dev-python/mypy/ X-VCS-Committer: ikelos X-VCS-Committer-Name: Mike Auty X-VCS-Revision: c35ef95eef6214bac3bb01975b684a5f02ebff81 X-VCS-Branch: master Date: Thu, 28 Feb 2019 10:11:58 +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: d85ad27d-2018-4549-bee0-1411e6f08622 X-Archives-Hash: 26e7e8d40f54516719f424a569e67d48 commit: c35ef95eef6214bac3bb01975b684a5f02ebff81 Author: Mike Auty gentoo org> AuthorDate: Thu Feb 28 10:11:35 2019 +0000 Commit: Mike Auty gentoo org> CommitDate: Thu Feb 28 10:11:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c35ef95e dev-python/mypy: version bump to 0.670 Fixes bug 678822. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Mike Auty gentoo.org> dev-python/mypy/Manifest | 2 ++ dev-python/mypy/mypy-0.670.ebuild | 75 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index b867acadfb5..83f540764cf 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -3,8 +3,10 @@ DIST mypy-0.590.tar.gz 1081426 BLAKE2B 396083f81a1bf6f8230abe3e3e48b9fcf0288edfa DIST mypy-0.600.tar.gz 1097269 BLAKE2B ee3327cdd7383a93f319335017815bb3341d1b91e3620f7bdc69d1c401e3c8aaa3157cfd8d4657fe072ad90b672017fc2b948ad4ff217d5e4ab91b8946d4569e SHA512 8e89bcbb53d385bbc3bf72de123d4a99230ee5154e1af19adccff7133f86495aa366058e04092356a80036214113ac90ecddcf5e30da59ae2a7c6f3d320b07ef DIST mypy-0.630.tar.gz 1172089 BLAKE2B 672f05f5fa45b922ddebb5ea802358f8a63eecf2671540e9fd53419e9bf04f9513815bdb9cca546b4f9483443ea0d4b55bca259d972f124a33f3a77c4b853e17 SHA512 42e2874c2334d04a08a4ac95ea3adae6e910a7811abc9f8a480ae7b87b3034fa8096c12b4dba1d3a9722a2857da8bb76813dd1d858b828934273c1147bc7387d DIST mypy-0.660.tar.gz 1274856 BLAKE2B da59dbae31df1c2c8530fddf44f02d608cc9019c9294919e015ef7e62ac8680162a044a98d109e5aa7cdb1f1a611b09659f828c2366ce5a850c23d5f68a11047 SHA512 4d18fb8e04ba2e4d290582ecc2af660ca26c4ef3ccf5ee5455f4be9fe9dabddafe644ce6463a8079dbfb04c463b759283af23014065f290edfa0255879bd0076 +DIST mypy-0.670.tar.gz 1376917 BLAKE2B 1c7de26e48d91a1dd8b007607e6e8989e6b622eb62ad98b3c575faef1373ba510acba546977d26984689c5cd245ea341022ae68209d498d8bac78b01760daa24 SHA512 1fb994410acb3ae3ef6c4380f1b76d2f65790fa7822067dfd75eb34d0336547f85810e475563c797dca268de35b1594217cb3edfe32033eb012d121a3a2e6406 DIST mypy-typeshed-0.570.tar.gz 413076 BLAKE2B 774a6d07308228c379a5deec2ee36a498863a1386181b47ceb8783537afdb75bc0fb4893b07cf8cf7bf5bfe977babbdc44a6420784e2cba6ce94346175858573 SHA512 e9afb2fe841fa82ed264a73a1ce6c1c0fede42008042a34cf21f1e39aabaa8f1cd945861aa9e80a86f61f1dd6a362892b25a1c5469915fbca95406e72740ba6d DIST mypy-typeshed-0.590.tar.gz 413076 BLAKE2B 774a6d07308228c379a5deec2ee36a498863a1386181b47ceb8783537afdb75bc0fb4893b07cf8cf7bf5bfe977babbdc44a6420784e2cba6ce94346175858573 SHA512 e9afb2fe841fa82ed264a73a1ce6c1c0fede42008042a34cf21f1e39aabaa8f1cd945861aa9e80a86f61f1dd6a362892b25a1c5469915fbca95406e72740ba6d DIST mypy-typeshed-0.600-2dc7d39.tar.gz 425045 BLAKE2B e2ef63f2ed988f77f52e2a01c158ff8e3fbdec118c1f613ffe6c57d025da8d5bcf6dc0e6bcbc1bb8655fbf340a0f358535d7e1ed214a5a1af8e3188f2dde5459 SHA512 9c960c2dcb2cd5ed36d77efa47a5632698e841b685386f8d5a31200c61235b68d627fc450d070955ab14962d6a70a2d538929e2dc845512e83161c0299d91807 DIST mypy-typeshed-0.630-8ed0159.tar.gz 451750 BLAKE2B 8d59204bf71fadc36788d93e817fe22cd498dfee08709f4c72ba67bca34d0db4792ea1a01f5632b5b52e94298c183e804357c9bb043e28e0628d82320d20852c SHA512 6c5a03853da452f6540b8411bd702ec59e70aae8ca6f923c16959bdba1ee97a619704c5825faa9e428151898b648f0436f9c9dd0c5ef20f5022598e3b88afcb3 DIST mypy-typeshed-0.660-f343150.tar.gz 456324 BLAKE2B b7a0f7e3da84b4be8c4cfdb43a62887ab433c22395af2ecee558440b15b9ffadf824c1eb3e8084d8c74ec61301a14f73a7e1ed4802522481e3545872be3f1010 SHA512 c64dd1aa2eb1bb6a0bebe819f7f9ee1b81fb6f6f1da5a2246f5b60aea97a16d86051dcef176b673afe9788bf16f5378d03c5b071f72b9aea727737ddb5adbaca +DIST mypy-typeshed-0.670-3eb66ba.tar.gz 462981 BLAKE2B 9e321e71637edf6b7b08bdad3ffe76798aec2ad9ff7be0d1649e29ae7543536a6a6d413d9bd9bc4b15e164500e95ee3ba2ad58abc8f984499493c4753dd39337 SHA512 2b3d59451caaf4779c6543cee70461afd9a95b809ba5db7b0fc43e02711d8c4b28c98f680d9ddb9f0c01dcfb5011b6626fe746187c47e737d87689245da9344a diff --git a/dev-python/mypy/mypy-0.670.ebuild b/dev-python/mypy/mypy-0.670.ebuild new file mode 100644 index 00000000000..f163167fb71 --- /dev/null +++ b/dev-python/mypy/mypy-0.670.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{5,6,7} ) + +if [ "${PV}" == "9999" ]; then + inherit distutils-r1 git-r3 + EGIT_REPO_URI="https://github.com/python/${PN}" + SRC_URI="" +else + inherit distutils-r1 + TYPESHED_COMMIT="3eb66ba" + SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz" +fi + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE="http://www.mypy-lang.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/flake8[${PYTHON_USEDEP}] ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) +" +CDEPEND=" + !dev-util/stubgen + >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] + =dev-python/typed-ast-1.3.1[${PYTHON_USEDEP}] + =dev-python/mypy_extensions-0.4.0[${PYTHON_USEDEP}] + = 0.4.0, < 0.5.0/mypy_extensions >= 0.4.0, < 0.6.0/' "${S}/setup.py" + default +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + local PYTHONPATH="$(pwd)" + + "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + + distutils-r1_python_install_all +}