Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/
Date: Sat, 30 Jul 2016 15:24:08
Message-Id: 1469891828.1b2729514f3f3b7aa26839f6a1c3a349ef477024.alunduil@gentoo
1 commit: 1b2729514f3f3b7aa26839f6a1c3a349ef477024
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 30 15:17:08 2016 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 15:17:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b272951
7
8 dev-python/aiohttp: add version 0.22.2
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/aiohttp/Manifest | 1 +
13 dev-python/aiohttp/aiohttp-0.22.2.ebuild | 57 ++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
17 index b55978f..21b5baf 100644
18 --- a/dev-python/aiohttp/Manifest
19 +++ b/dev-python/aiohttp/Manifest
20 @@ -2,3 +2,4 @@ DIST aiohttp-0.20.2.tar.gz 513968 SHA256 8801d36d760514ba8404d2c0309a7ecc3a838b8
21 DIST aiohttp-0.21.4.tar.gz 528945 SHA256 4a5fcb765bf6d2cbc7d42afedf3d22b9cd0a4d643a870b464ca5b071225976d8 SHA512 e9abc66e1f6ba81b94ef5a528e3bca58434f6d30242967a6b69e66ea164a31d076dbd2159b464c6a59c219483e81febfba986066863f6a3811ff0dc8a51adb64 WHIRLPOOL d9f26b397b63d18e32cc754c75078e97cb6b4d3e2400ade75d91f86890e82407302bc2d55e2a30fe8d2bee7dd99fef16e528cf2c9668998662049543a671da66
22 DIST aiohttp-0.21.5.tar.gz 529005 SHA256 bac5c883721e0818e405597d2778f08a38cc097df01f574462de2cc4f8090559 SHA512 4958d7c58988a95fc5b1e94e4eb7247f59b55e5ba439391c7b072a7ec267491159e1c8c7c6f05e6f7f72e4de5c12784c8d437665c01e6d9fb1e87a3334c1d35c WHIRLPOOL 135368db11316c8f99f39bbf317f791e433a779f61e45070166bab12b4e97165d2c6e732e8da96a848b431c1f26de45e416009bca4e75456025187ea7a41e04e
23 DIST aiohttp-0.21.6.tar.gz 528327 SHA256 8709c6d4b7735705ef46e0d5416083f1e92d9a9ab18e2b4c7f7944e831b73428 SHA512 622218ffbc163aefc04730bc9ca36f922182699407ea8fb6e8e5ce01b63e4bbee821e466f1701ecabf2f4c47bf840a572e7f3bcdf0903e8a87b23d5c3e07209b WHIRLPOOL 2d2539635f76903788f063669420de095951f9f509543fe8dfe86d950055bf72bf5728de029d378b71f4bd7ea0955d13bbd84a31b678995cafa5aee1bc1ef05b
24 +DIST aiohttp-0.22.2.tar.gz 475062 SHA256 30b588573c88942dac7438509731e197d74552060547b79cf6ace8564ee4b277 SHA512 405a706e112500110d89cfaed7bd1696a8af391bcfcacd47649d098f5216d74427b8b8628e5402e137eb599628170d03c58877742fa427d450d80c7cd66abf96 WHIRLPOOL 4f98e513387995ed2ece5377e4be3648d831ccecdce0bd86a5d800437cf681dd9b6fdc1a4b23be389bef154e87c8c5b668e378cebf3d0a45936329e000742e84
25
26 diff --git a/dev-python/aiohttp/aiohttp-0.22.2.ebuild b/dev-python/aiohttp/aiohttp-0.22.2.ebuild
27 new file mode 100644
28 index 0000000..f7b65a2
29 --- /dev/null
30 +++ b/dev-python/aiohttp/aiohttp-0.22.2.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="5"
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/chardet[${PYTHON_USEDEP}]
54 + >=dev-python/multidict-1.1.0[${PYTHON_USEDEP}]
55 +"
56 +DEPEND="
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 + dev-python/cython[${PYTHON_USEDEP}]
59 + doc? (
60 + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
61 + dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
62 + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
63 + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
64 + dev-python/sphinx[${PYTHON_USEDEP}]
65 + )
66 + test? (
67 + ${CDEPEND}
68 + dev-python/pytest[${PYTHON_USEDEP}]
69 + dev-python/pytest-raisesregexp[${PYTHON_USEDEP}]
70 + www-servers/gunicorn[${PYTHON_USEDEP}]
71 + )
72 +"
73 +RDEPEND="${CDEPEND}"
74 +
75 +python_compile_all() {
76 + use doc && emake -C docs html
77 +}
78 +
79 +python_test() {
80 + PYTHONPATH="$(PWD):${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
81 +}
82 +
83 +python_install_all() {
84 + use doc && local HTML_DOCS=( docs/_build/html/. )
85 + use examples && local EXAMPLES=( examples/. )
86 +
87 + distutils-r1_python_install_all
88 +}