Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/
Date: Mon, 26 Sep 2016 15:27:19
Message-Id: 1474903629.04ecaca4971d3568046ee2f6c665d85e4438a48a.zmedico@gentoo
1 commit: 04ecaca4971d3568046ee2f6c665d85e4438a48a
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 15:19:47 2016 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 15:27:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ecaca4
7
8 dev-python/aiohttp: version bump to 1.0.2
9
10 Package-Manager: portage-2.3.1
11
12 dev-python/aiohttp/Manifest | 1 +
13 dev-python/aiohttp/aiohttp-1.0.2.ebuild | 59 +++++++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
17 index d5a4141..f8b4649 100644
18 --- a/dev-python/aiohttp/Manifest
19 +++ b/dev-python/aiohttp/Manifest
20 @@ -3,3 +3,4 @@ DIST aiohttp-0.22.2.tar.gz 475062 SHA256 30b588573c88942dac7438509731e197d745520
21 DIST aiohttp-0.22.4.tar.gz 475257 SHA256 167ec7373a3319419834e6c61846b7267c5fc6748b9dd2504b7e9378b55afcdd SHA512 04efa2b714c0c310b24b092af8d5c7e766ccfbc888f969b2d2f99ac57a478056f66662aa793f319783b8c12605bbee8c5ba283bb8b10fd34497a583b886e8aa1 WHIRLPOOL d827932ccfb19290ae1f6f1b3551da29c255640f309d1e776723e825e0a7580b830b0bd836e9c33ce3859d5e21955211f1d2e6830cff89e1cf9df8082a04b8af
22 DIST aiohttp-0.22.5.tar.gz 475312 SHA256 9c51af030c866f91e18a219614e39d345db4483ed9860389d0536d74d04b0d3b SHA512 919818445590b386b40edd05e8a58fac0b1b2993fe82faf95e10b53b5c0b3b464e92ea2484bc1929cb737351f3629b77a4ff67788248e19d69eb638bbf44a5e3 WHIRLPOOL 45e2c0fc3aab759ac1e95bc25d1983aa1c874c07595af7cb48af0e4e43b01fbe69a56c22216d0c4ba13da53c5e0172e95916e0c87bb0bb7a7630c8d631aa0152
23 DIST aiohttp-1.0.1.tar.gz 498972 SHA256 f5133431d66ef8838f40d233b0fc9e4b9e69616560cbedb89317d551dcc42e41 SHA512 3744186d259563d21e5a7a3c5969f24178a442b1482a98d1d45e132dc4d889c55b9ff3da4394acbcca2dc9c7c78b7eb857cb2467c0faec54e11832db909760f6 WHIRLPOOL cbc31efafa28e17375fc795a053878ddc6978c36926e4ce250bb06ae39f332ed1f2e4ec255a19e334bc994cd5707c2ac1ade48c4089546e432c16b8527374daf
24 +DIST aiohttp-1.0.2.tar.gz 499266 SHA256 d104a8e762debc1acc3fe40dbc4f0da4cace5a797a93d59c618673b390d3947c SHA512 94004219b8809bad26df4119512faaad7ebbc7c961fea2488f333aa580a24691752154a688e9fe224be6aeb2b769c6f101a288fec66fdf66e619756ebe98258b WHIRLPOOL 7130e1ea90ef64af9bd128ae8c021e5ba2061c02b276aa81db0aabd326572ef3e68396c842cedec43d0f68ea33bce6128d3f2275909fdae3a942de90b7d3bfda
25
26 diff --git a/dev-python/aiohttp/aiohttp-1.0.2.ebuild b/dev-python/aiohttp/aiohttp-1.0.2.ebuild
27 new file mode 100644
28 index 00000000..17bce77
29 --- /dev/null
30 +++ b/dev-python/aiohttp/aiohttp-1.0.2.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="6"
37 +
38 +PYTHON_COMPAT=( python3_4 python3_5 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="http client/server for asyncio"
43 +HOMEPAGE="https://pypi.python.org/pypi/aiohttp"
44 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
45 +EGIT_REPO_URI="https://github.com/KeepSafe/aiohttp"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="doc examples test"
51 +
52 +CDEPEND="
53 + dev-python/aiodns[${PYTHON_USEDEP}]
54 + dev-python/async_timeout[${PYTHON_USEDEP}]
55 + dev-python/chardet[${PYTHON_USEDEP}]
56 + >=dev-python/multidict-2[${PYTHON_USEDEP}]
57 +"
58 +DEPEND="
59 + dev-python/setuptools[${PYTHON_USEDEP}]
60 + dev-python/cython[${PYTHON_USEDEP}]
61 + doc? (
62 + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
63 + dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
64 + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
65 + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
66 + dev-python/sphinx[${PYTHON_USEDEP}]
67 + )
68 + test? (
69 + ${CDEPEND}
70 + dev-python/pytest[${PYTHON_USEDEP}]
71 + dev-python/pytest-mock[${PYTHON_USEDEP}]
72 + www-servers/gunicorn[${PYTHON_USEDEP}]
73 + )
74 +"
75 +RDEPEND="${CDEPEND}"
76 +
77 +python_compile_all() {
78 + use doc && emake -C docs html
79 +}
80 +
81 +python_test() {
82 + PYTHONPATH="$(pwd):${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
83 +}
84 +
85 +python_install_all() {
86 + use doc && local HTML_DOCS=( docs/_build/html/. )
87 + use examples && local EXAMPLES=( examples/. )
88 +
89 + distutils-r1_python_install_all
90 +}