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: Sun, 27 Mar 2016 14:22:39
Message-Id: 1459088517.8262a3fe7c84af5b391c489011abe577bbc6812d.alunduil@gentoo
1 commit: 8262a3fe7c84af5b391c489011abe577bbc6812d
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 14:20:05 2016 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 14:21:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8262a3fe
7
8 dev-python/aiohttp: add version 0.21.4
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/aiohttp/Manifest | 1 +
13 dev-python/aiohttp/aiohttp-0.21.4.ebuild | 52 ++++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
17 index 8e13877..a1eedff 100644
18 --- a/dev-python/aiohttp/Manifest
19 +++ b/dev-python/aiohttp/Manifest
20 @@ -2,3 +2,4 @@ DIST aiohttp-0.17.4.tar.gz 475034 SHA256 a2f122b41f29eb10772f1600ada5fec849c5dc7
21 DIST aiohttp-0.18.4.tar.gz 2165117 SHA256 23f1a5de84d0384ab2e78405db56be5e4af0681c42ddbc0caecf2402ddee3019 SHA512 ae4d72d661b2e69e9eb9d258d3c8842cd3e7a8a1d71dd71ccfbc7a3cf5916d65c82f3e3fe56731d5a326d810c01c32dbcb88900b7db68f3f5172c15e482aadc4 WHIRLPOOL 6b59b45e510472c8082868025e660c98e509760d87d08962b7fcc29680e1e31d89bf4e15d2559c7f202ebe70a28cc9eae4908c999cc7c0c29e4b6ea4ed2fbaaf
22 DIST aiohttp-0.19.0.tar.gz 2173954 SHA256 9bfb173baec179431a1c8f3566185e8ebbd1517cf4450217087d79e26e44c287 SHA512 4e20d9e4eac4bd11538faa8a2b9ad6d65b432cb0bc468b851aebc32b6ac15417e65bf68c5801efb2911562f63ba2cd3da31e9cb8347e5aa8f840ba91a986061f WHIRLPOOL 9db94601eec1ff2b5bdbcf04b662a3f7f7d04c24f742d30244bc90d5390f9ae1c303c8de3a0ad253ff7aa068f07a9e439fb0ccadb80db1ba57f6ac3620a1621b
23 DIST aiohttp-0.20.2.tar.gz 513968 SHA256 8801d36d760514ba8404d2c0309a7ecc3a838b85dad3e63e863b44a3116cf02b SHA512 378b867ed531a1f30079b9a42d4000b82efe997b1e1bee3f1c76973712eabf973da74b37b969d43929f18a8b99ac004a22c4b7849bed1f00fe2f88c0bfbcdddb WHIRLPOOL 8853c2c5f8efde97caff2ba99ef44e505dc82a206ecc51028c7db1b95c4232d436acb9109794ca259e4423d83238569f8df7bdfe81f3131321cebbde00f1d068
24 +DIST aiohttp-0.21.4.tar.gz 528945 SHA256 4a5fcb765bf6d2cbc7d42afedf3d22b9cd0a4d643a870b464ca5b071225976d8 SHA512 e9abc66e1f6ba81b94ef5a528e3bca58434f6d30242967a6b69e66ea164a31d076dbd2159b464c6a59c219483e81febfba986066863f6a3811ff0dc8a51adb64 WHIRLPOOL d9f26b397b63d18e32cc754c75078e97cb6b4d3e2400ade75d91f86890e82407302bc2d55e2a30fe8d2bee7dd99fef16e528cf2c9668998662049543a671da66
25
26 diff --git a/dev-python/aiohttp/aiohttp-0.21.4.ebuild b/dev-python/aiohttp/aiohttp-0.21.4.ebuild
27 new file mode 100644
28 index 0000000..ab8be7d
29 --- /dev/null
30 +++ b/dev-python/aiohttp/aiohttp-0.21.4.ebuild
31 @@ -0,0 +1,52 @@
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 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="http client/server for asyncio"
43 +HOMEPAGE="https://github.com/KeepSafe/aiohttp https://pypi.python.org/pypi/aiohttp"
44 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc examples test"
50 +
51 +CDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
52 +DEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + dev-python/cython[${PYTHON_USEDEP}]
55 + doc? (
56 + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
57 + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
58 + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
59 + dev-python/sphinx[${PYTHON_USEDEP}]
60 + )
61 + test? (
62 + ${CDEPEND}
63 + dev-python/pytest[${PYTHON_USEDEP}]
64 + dev-python/pytest-raisesregexp[${PYTHON_USEDEP}]
65 + www-servers/gunicorn[${PYTHON_USEDEP}]
66 + )
67 +"
68 +RDEPEND="${CDEPEND}"
69 +
70 +python_compile_all() {
71 + use doc && emake -C docs html
72 +}
73 +
74 +python_test() {
75 + PYTHONPATH="$(PWD):${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
76 +}
77 +
78 +python_install_all() {
79 + use doc && local HTML_DOCS=( docs/_build/html/. )
80 + use examples && local EXAMPLES=( examples/. )
81 +
82 + distutils-r1_python_install_all
83 +}