commit:     9e3840c519a22588812e43b7ca6fb15ab6d9cec9
Author:     Alex Brandt <alunduil <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 01:50:16 2016 +0000
Commit:     Alex Brandt <alunduil <AT> gentoo <DOT> 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
+}

Reply via email to