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 18F1C138DCC for ; Sun, 16 Oct 2016 01:53:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 553CFE099D; Sun, 16 Oct 2016 01:53:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 261E2E099D for ; Sun, 16 Oct 2016 01:53:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A7863413DB for ; Sun, 16 Oct 2016 01:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E24172F3 for ; Sun, 16 Oct 2016 01:53:13 +0000 (UTC) From: "Alex Brandt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alex Brandt" Message-ID: <1476582767.9e3840c519a22588812e43b7ca6fb15ab6d9cec9.alunduil@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.4.5.ebuild X-VCS-Directories: dev-python/mypy/ X-VCS-Committer: alunduil X-VCS-Committer-Name: Alex Brandt X-VCS-Revision: 9e3840c519a22588812e43b7ca6fb15ab6d9cec9 X-VCS-Branch: master Date: Sun, 16 Oct 2016 01:53:13 +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-Archives-Salt: 293c6a09-b09e-49a1-939f-6ccb866fc63e X-Archives-Hash: 172d65c843bc37f4dc9a8a44631ab19b commit: 9e3840c519a22588812e43b7ca6fb15ab6d9cec9 Author: Alex Brandt gentoo org> AuthorDate: Sun Oct 16 01:50:16 2016 +0000 Commit: Alex Brandt gentoo org> CommitDate: Sun Oct 16 01:52:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3840c5 dev-python/mypy: add version 0.4.5 Package-Manager: portage-2.3.2 dev-python/mypy/Manifest | 1 + dev-python/mypy/mypy-0.4.5.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 0fd652b..c810423 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,3 +1,4 @@ DIST mypy-0.4.2.tar.gz 697919 SHA256 d39607701c226007f3bb5a7619222c6c6e7e4c4a2c565d99d44377324d2072ad SHA512 16d2f1476bc7b40c20b66aca81b3c99477394cbcbbff5541ca26179bde0634794126c0b28506ad3019d6a1c5cd0bf48292b4de0152927123ffdfb3bbbc69ee15 WHIRLPOOL 45e459ac076e5bb800a3b8f62828fb326a43d69522caf493166694e4a11b65136756dde43f01e13ac4c74a0535595914364096042dad40c631f17837ca1aca0b DIST mypy-0.4.3.tar.gz 714118 SHA256 d90aaf3e8c01ccdfdb5b74e9321a3f3a32dea964ce13472f406cec43c174229d SHA512 2185eccb6fa783168879acfc316da0c879fca0b04e6a21bbd47a456014281d634711d9f3e25fa3a64a0b7819b54f0bb87f8bede7452147fd3bab8bca4859f5f0 WHIRLPOOL 4b1db030e1c8aed69e763141a812626129451f04ec32ed4cd4bff15461d826b9479a85a92dcc846baa16dda3056840e6c7f798e9b27317d5158e4ccc769c34c9 DIST mypy-0.4.4.tar.gz 757353 SHA256 665c9eecc1d43380534d2b88bfc6df2fc7c387f23772e5d82cb37ae96c580034 SHA512 7a5cb8dae4d28cb7803b56ce17e379dd5f1f953663af6a5c2510e3183028f06a8b3722b94843a782e01e4a65b3f5ae48ff002ad85bfb85cad05abb181fc60e47 WHIRLPOOL 71e0b90d521e09c8df21db3bd8a37d3f738ab91823a82481397f81a30cd0f04031a73b71acefefc77405570c8080bf7ccc19669db565313b676c2384018c0863 +DIST mypy-0.4.5.tar.gz 779940 SHA256 3217d0d0d1f43a102b43618cf73ac5640e0006c3403558da70206e9a642f61d8 SHA512 e0bd4cb1080f2a4c0f2c4f9ebbe22d05b8dabb374396e7d91c645724b5d67084fd005e181847fccc45c9c51f3280233185fa6bf08dc24c2d4f6e482197246fa7 WHIRLPOOL 9ee581530c59a07d0d06307708fc5970161e45111d838d77a5f511ba2d569601012a67ef5e7847c1baa1e79fbf78ce5e9a9f013f33d1b59937d2b3997d4d5594 diff --git a/dev-python/mypy/mypy-0.4.5.ebuild b/dev-python/mypy/mypy-0.4.5.ebuild new file mode 100644 index 00000000..bdebb35 --- /dev/null +++ b/dev-python/mypy/mypy-0.4.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_3 python3_4 python3_5 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Optional static typing for Python" +HOMEPAGE="http://www.mypy-lang.org/" +SRC_URI="https://github.com/JukkaL/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND=" + test? ( dev-python/flake8[${PYTHON_USEDEP}] ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) +" +RDEPEND="$(python_gen_cond_dep '!dev-python/typing[${PYTHON_USEDEP}]' 'python3_3' 'python3_4')" + +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 +}